I have created a new web app using mvc 3 in visual studio 2010. I'm still using aspx view engine.
I have copied the files (bin, content, scripts, views, global.asax, web.config) to the C:\inetpub\wwwroot -folder. I have done that manually, using publish -> file system (in VS) and by building deployment package (in VS)
I have set applicaton pool in iis 7.5 (win 7 x64) to .net 4.0 and integrated mode.
I have created a new site that uses the folder C:\inetpub\wwwroot and app pool above.
I try to run the website and I get this: 6-i set permition for iis user
Error Summary Internet Information Services 7.5 Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x80070005 Config Error Cannot read configuration file due to insufficient permissions Config File \?\C:\Inetpub\vhosts\n-clinic.ir\httpdocs\web.config
What concerns me the most about your error message is the line
Cannot read configuration file due to insufficient permissions
Sounds like a classic case of permissions on the website directory. Try adding read/write access to 'everyone'. If that fixes it, try to work out the user that is actually being used and readjust your folder permissions accordingly.
The following link might also help track down the cause of your error:
http://support.microsoft.com/kb/942055
User contributions licensed under CC BY-SA 3.0