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!


Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
posted @ Thursday, March 20, 2008 4:38 PM | in .NET/C# EPiServer Commerce Server

Comments

Gravatar
# re: EPiServer when disconnected from domain controller
Posted by Fredrik Haglund
on 3/25/2008 10:14 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>
Gravatar
# re: EPiServer when disconnected from domain controller
Posted by Mikael Runehm
on 3/26/2008 10:17 AM
Hi Dan,
I came across this myself, see http://labs.episerver.com/en/Blogs/Mikaelr/Dates/112271/112562/Local-security-groups-just-got-even-more-important/

rgds
Mikael Runhem

Post Comment

Title *
Name *
Email
Url
Comment *  


Please add 2 and 6 and type the answer here: