visual studio 2010 unable to Publish to local web site. access denied
问题 I just reinstalled IIS7.5 after a lot of ugly messing around. I admittedly had no idea what I was doing. I finally was able to renamed my windows\system32\inetsrv folder so that when I reinstalled IIS, I would get the default settings. I took a wild guess at running this and it got my site running: aspnet_regiis.exe -i Now I just can't Publish from Visual studio to any site under wwwroot. for example, I get the error: Unable to create the Web site location 'c:\inetpub\wwwroot\WebApplication5'