The newly created MVC Project Publisher will browse the site after you may have a problem
Do not follow the system prompt to open "directory browsing", but should be to do some configuration
Specific steps:
1: Configure the Web. Config
< system.webserver > < validateintegratedmodeconfiguration= "false"/> < runallmanagedmodulesforallrequests= "true"/></ system.webserver>
Here to make a note, you can only add the first configuration, but some sites need to add two.
2: Check "handler mappings"
Please check "handler mapping", if there is "extensionlessurlhandler-integrated-4.0", if not, please register. net4.0
Input in operation:C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe-i
After installation, restart IIS, browse the Web site, if the issue 402.2 will follow the third cloth to solve if there is no problem can be used.
3: HTTP error L404.2-not Found
This can be handled as prompted
After the adjustment is complete restart IIS, browse the project on it, if there is a problem, according to the IIS fix.
MVC Publisher HTTP Error 403.14-forbidden and HTTP error 404.2-not Found