Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 07, 2012 07:44 AM by kattyjems
Feb 21, 2012 02:51 PM|LINK
Have a web service project on VS 2010 and Win 7 x64.
When I deploy to Windows 2008 II6 using File System deploy, it works with no problem.
When I try the same File System deploy to a Windows 2008 R2 server with IIS 7.5, it fails.
Error 500.19 Cannot read configuration file due to insufficient permissions
Thanks for any ideas,
Feb 21, 2012 04:26 PM|LINK
Please try the trouble shooting steps mentioned in the blog
Feb 21, 2012 07:10 PM|LINK
Thanks for the link. The error I am getting was Senario 8.
I tried to set the web service folder to group IIS_IUSR, but there was no such group.
I tried running Procmon, but I was unable to trap the web service process error. I tried filtering all the unwanted processes, but still no luck. I will try this again when I have more time.
Feb 21, 2012 07:40 PM|LINK
IIS_IUSRS is a machine a/c . you can set this from 'select users or group' window.
eg : [machine name ]\IIS_IUSRS
Feb 21, 2012 08:26 PM|LINK
That helped a lot - thank you very much !
Now I am getting this error:
"Could not load assembly 'xxxlibrary' or one of its dependencies. An attempt was made to load a program with an incorrect format"
I see that DLL in the BIN folder.
Any ideas on this one?
Feb 21, 2012 08:48 PM|LINK
Found the answer on another post:
%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.enable32BitAppOnWin64:true
It works !
Thanks for your generous and prompt help !!!
Mar 07, 2012 07:44 AM|LINK
Thanks for replying your answer.
And the way you get your answer is appriciated.