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.
MisterT25
Member
10 Points
22 Posts
Web Service deploy to IIS 6 works - Fails on IIS 7
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,
Tom
Shellymn
Contributor
2612 Points
485 Posts
Re: Web Service deploy to IIS 6 works - Fails on IIS 7
Feb 21, 2012 04:26 PM|LINK
Please try the trouble shooting steps mentioned in the blog
http://blogs.msdn.com/b/webtopics/archive/2010/03/08/troubleshooting-http-500-19-errors-in-iis-7.aspx
MisterT25
Member
10 Points
22 Posts
Re: Web Service deploy to IIS 6 works - Fails on IIS 7
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.
Thanks
Tom
Shellymn
Contributor
2612 Points
485 Posts
Re: Web Service deploy to IIS 6 works - Fails on IIS 7
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
MisterT25
Member
10 Points
22 Posts
Re: Web Service deploy to IIS 6 works - Fails on IIS 7
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?
Thanks
Tom
MisterT25
Member
10 Points
22 Posts
Re: Web Service deploy to IIS 6 works - Fails on IIS 7
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 !!!
Tom
kattyjems
Member
120 Points
50 Posts
Re: Web Service deploy to IIS 6 works - Fails on IIS 7
Mar 07, 2012 07:44 AM|LINK
Hi,
Thanks for replying your answer.
And the way you get your answer is appriciated.