I have some code here that works as expected when I install it / run it on my own computer, Windows 7, but when I run it on other servers (2003 and 2008) it does not. The co
I had the same issue when deploying to my production env.
The issue was due to the identity used by the pool of the application.
By default it was using applicationPoolIdentity which have restricted rights.
We changed to "Network Service" and it worked.
Nota : I'm not saying using NetWorkService is the best solution but it's cleraly a security right issue.