Web Service deploy to IIS 6 works - Fails on IIS 7http://forums.asp.net/t/1772129.aspx/1?Web+Service+deploy+to+IIS+6+works+Fails+on+IIS+7Wed, 07 Mar 2012 07:44:16 -050017721294843358http://forums.asp.net/p/1772129/4843358.aspx/1?Web+Service+deploy+to+IIS+6+works+Fails+on+IIS+7Web Service deploy to IIS 6 works - Fails on IIS 7 <p>Have a web service project on&nbsp;VS 2010&nbsp;and Win 7 x64.</p> <p>When I deploy to Windows 2008 II6 using File System deploy, it works with no problem.</p> <p>When I try the same File System&nbsp;deploy to a Windows 2008 R2 server with IIS 7.5, it fails.&nbsp;</p> <p>Error 500.19 Cannot read configuration file due to insufficient permissions</p> <p>Thanks for any ideas,</p> <p>Tom</p> <p>&nbsp;</p> 2012-02-21T14:51:22-05:004843534http://forums.asp.net/p/1772129/4843534.aspx/1?Re+Web+Service+deploy+to+IIS+6+works+Fails+on+IIS+7Re: Web Service deploy to IIS 6 works - Fails on IIS 7 <p>Please try the trouble shooting steps mentioned in the blog</p> <p><a target="_blank" title="http://blogs.msdn.com/b/webtopics/archive/2010/03/08/troubleshooting-http-500-19-errors-in-iis-7.aspx" href="http://blogs.msdn.com/b/webtopics/archive/2010/03/08/troubleshooting-http-500-19-errors-in-iis-7.aspx">http://blogs.msdn.com/b/webtopics/archive/2010/03/08/troubleshooting-http-500-19-errors-in-iis-7.aspx</a></p> 2012-02-21T16:26:38-05:004843730http://forums.asp.net/p/1772129/4843730.aspx/1?Re+Web+Service+deploy+to+IIS+6+works+Fails+on+IIS+7Re: Web Service deploy to IIS 6 works - Fails on IIS 7 <p>Thanks for the link.&nbsp; The error I am getting was Senario 8.&nbsp;&nbsp;</p> <p>I tried to set the web service folder to group IIS_IUSR, but there was no such group.</p> <p>I tried running Procmon, but I was unable to trap the web service process error.&nbsp; I tried filtering all the unwanted processes, but still no luck.&nbsp; I will try this again when I have more time.</p> <p>Thanks</p> <p>Tom</p> <p>&nbsp;</p> <p>&nbsp;</p> 2012-02-21T19:10:27-05:004843767http://forums.asp.net/p/1772129/4843767.aspx/1?Re+Web+Service+deploy+to+IIS+6+works+Fails+on+IIS+7Re: Web Service deploy to IIS 6 works - Fails on IIS 7 <p>IIS_IUSRS is a machine a/c . you can set this from 'select users or group' window.</p> <p>eg : [machine name ]\IIS_IUSRS</p> 2012-02-21T19:40:00-05:004843827http://forums.asp.net/p/1772129/4843827.aspx/1?Re+Web+Service+deploy+to+IIS+6+works+Fails+on+IIS+7Re: Web Service deploy to IIS 6 works - Fails on IIS 7 <p>That helped a lot - thank you very much !</p> <p>Now I am getting this error:</p> <p>&quot;Could not load assembly 'xxxlibrary' or one of its dependencies. An attempt was made to load a program with an incorrect format&quot;</p> <p>I see that DLL in the BIN folder.</p> <p>&nbsp;</p> <p>Any ideas on this one?</p> <p>Thanks</p> <p>Tom</p> <p>&nbsp;</p> <p>&nbsp;</p> 2012-02-21T20:26:01-05:004843856http://forums.asp.net/p/1772129/4843856.aspx/1?Re+Web+Service+deploy+to+IIS+6+works+Fails+on+IIS+7Re: Web Service deploy to IIS 6 works - Fails on IIS 7 <p>Found the answer on another post:</p> <p>&nbsp;</p> <p><samp>%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.enable32BitAppOnWin64:true</samp></p> <p><samp></samp>&nbsp;</p> <p><samp>It works !</samp></p> <p><samp>Thanks for your generous and prompt help !!!</samp></p> <p><samp>Tom</samp></p> <p><samp></samp>&nbsp;</p> 2012-02-21T20:48:18-05:004867752http://forums.asp.net/p/1772129/4867752.aspx/1?Re+Web+Service+deploy+to+IIS+6+works+Fails+on+IIS+7Re: Web Service deploy to IIS 6 works - Fails on IIS 7 <p>Hi,</p> <p>Thanks for replying your answer.</p> <p>And the way you get your answer is appriciated.</p> <p></p> 2012-03-07T07:44:16-05:00