CustomerContext from Windows Service


I stole the configuration from the Quartz distribution that came with Commerce, so i guess the question is the same for Quartz Services. 

How do i hook up CustomerContext correctly in a windows service? I would like to be able to update information in the Customer Sub System.

The CustomerContext.Current is just full of TargetInvocation Exceptions ... don't just just love those exceptions (i really hope EPiServer soon realizes that these kind of exceptions are just bad practise)

Dec 18, 2012 14:22

Yeah! No better feeling than solving it myself ....

Was just this little part missing:       

DataContext.Current = new DataContext(connectionString);

Dec 18, 2012 14:42
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.