EPiServer when disconnected from domain controller

by Dan Matthews 20. March 2008 16:38

I've just spent the last few days in a Commerce Server 2007 training course, which was surprisingly interesting. One of the things that leapt out at me was that there are a couple of partners who have worked with Commerce Server 2002 and EPiServer together. It's something that has interested me too and I see even more possibilities with Commerce Server 2007. Hmm...

As soon as I got back I got busy getting EPiCloud release ready (and thinking of a nice name for it). In doing that I came across this old error again: "The trust relationship between the primary domain and the trusted domain failed".

You may remember my blog about it a while ago, but that was a slightly different scenario. Then I was on my corporate network and getting SQL/Windows authorisations muddled up. This time I was working on my laptop at home. Turns out that EPiServer v5 was trying to resolve a SID against the domain controller, and as I was disconnected at the time it failed. Even connecting to my work VPN didn't help. I even tried logging on locally to my laptop and it was failing. Every time it would throw the error and according to the stack trace it was when it was trying to resolve the VPPs, although I'm not sure how right that was.

Ultimately, the only thing that worked was to temporarily drop my laptop off the domain and onto a workgroup. I then changed all my authorisations to SQL just to check and re-added it to the domain. It promptly broke again, as I expected, so I once more dropped it off the domain.

On Tuesday once I'm back in the office I'll grab a VPC which isn't on a domain and continue my development on there. That should get around the problem of having to mess around the domains on my laptop!

Tags:

.NET/C# | EPiServer | Commerce Server

Comments

3/25/2008 10:14:22 AM #

<p>Hi Dan!</p>
<p>In EPiServer CMS 5 there is a check during startup to make sure that the account running the web application can write to each VPP folder. The code that performs this check is from my perspective a little overcomplicated since it actually checks the file security and a fail because the dotnet-classes can not reach the domain controler. A much easier sollution would acutally be to test to write a file...</p>
<p>Anyway a simple workaround for you lap top computer, go to the VPP root folder and click Properties > Security > Advanced. Edit and remove all inherited settings. Just leave everyone (or other local accounts) and make sure that you check replace security setting recursivly.</p>
<p>Regards, Fredrik</p>

Fredrik Haglund |

3/26/2008 10:17:47 AM #

Hi Dan,
I came across this myself, see labs.episerver.com/.../

rgds
Mikael Runhem

Mikael Runehm |

Powered by BlogEngine.NET 1.5.0.7
Theme by Interakting

Interakting

A full service digital agency offering online strategy, design and usability, systems integration and online marketing services that deliver real business benefits and ensure your online objectives are met.

Calendar

<<  July 2010  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar