I have a .dll that runs a BackgroundWorkerProcess and when I test it from a Windows app it works perfectly. It used to work perfectly when I was on a DASP Win 2003 server but it no longer works on my 2012 server. Any ideas why this may be?
What error message do you get? By default on our old IIS 6 Windows 2003 servers the application pool runs on full trust. Have you tried changing the application trust level in your web.config to full trust? Please read our knowledge base article on how to enable full trust here: http://support.discountasp.net/KB/a401/changing-the-default-aspnet-trust-level.aspx
I added a Trust Level line to my web.config but it did not change anything. Are there any other settings in IIS that might need changing? I don't get any error messages so it's difficult to work out what may be going on.
No. If I put my calling code in a temporary .aspx page on the server so you can run it at your convenience - would that help?