I am a pro-test, effective.
1. If only directories are listed:
Does the system.webserver configuration section of Web. config have this: <modules runallmanagedmodulesforallrequests= "true"/>
No, then fill it up.
Another: in only. NET4.0 also tried, but the error, and later installed. NET4.5 after the success.
Also delete the redundant nodes inside:
<modules>
<remove name= "FormsAuthenticationModule"/>
</modules>
This is when the deployment of the MVC4.5, the final solution is to install. NET4.5 is successful and no additions or deletions to the configuration file are required.
2. If there is an error, even the directory is not listed: Directory browse, start.
3. If you still see only the list of directories, view:
If the reader is using IIS that is installed after the. NET Framework is installed, IIS registration is required, start-run--cmd, open a command-line prompt, and enter the command as follows
Server is a 32-bit system: C:/windows/microsoft.net/framework/v4.0.30319/aspnet_regiis.exe-i Enter Run
The server is a 64 system: C:/windows/microsoft.net/framework64/v4.0.30319/aspnet_regiis.exe-i to run registered IIS.
The error resolution encountered by the deployment site under Win 7 and Winserver 2008