Here's an interesting one. I have a scheduled job that performs a set of processing and as part of this it calls some methods in a separate assembly (which I have control over but is compiled up and included as an assembly reference). On my local dev machine I can debug and see a method being called and performing the expected action (save a record in a database). I publish and deploy the site to two separate servers and on one server it works as expected and the other the expected action is not performed.
I have deployed a debug version of the code to the problem server and debugged against this, the method call gets hit but the action is still not performed.
All this points to an environmental difference, does anyone have any suggestions as to how I can trace the difference and resolve? I've compared the config files, the IIS site and application pool and aside from expected differences all is the same.
Thanks in advance,
In case anyone is interested this was caused by an appSetting being used in the separate assembly and nothing to do with the EPiServer project!