Posts

Showing posts with the label Iis 7

Cannot Start Service W3SVC On Computer '.'

Answer : Go to Task Manager --> Processes and manually stop the W3SVC process. After doing this the process should start normally when restarting IIS I found the solution: Run -> appwiz.cpl -> Turn windows features on or off -> Uncheck "Internet Information Services" and "Windows Process Activation Service" Restart your machine. Run -> appwiz.cpl -> install both "Internet Information Services" and "Windows Process Activation Service" Reference I came across the same problem. It got solved with following steps: Go to admin DOS command prompt -- ( Ctrl + X ) will give the option to go to admin DOS prompt use command " iisreset " This will solve the problem.

Cannot Read Configuration File Due To Insufficient Permissions

Image
Answer : There is no problem with your web.config . Your web site runs under a process. In iis you can define the identity of that process. The identity that your web site's application pool runs as ( Network Services, Local System , etc.), should have permission to access and read web.config file. Update: This updated answer is same as above, but a little longer and simpler and improved. First of all : you don't have to change anything in your config file. It's OK . The problem is with windows file permissions . This problems occurs because your application can not access and read web.config file. Make the file accessible to IIS_IUSRS group. Just right click web.config and click properties , under security tab, add IIS_IUSRS . So what is this IIS_IUSRS thing? Your web site is like an exe file. Just like any exe file, it should be started by a user and it runs according to permissions assigned to that user. When your site is started in IIS , A...