Original: II7.0 released MVC 4.0 three minor issue records
1,403.14-forbidden WEB Server is configured not to list the contents of this directory
- Change as prompted: Use IIS Manager to enable directory browsing.
- Open IIS Manager.
- In the features view, double-click Directory Browsing.
- On the Directory browsing page, in the actions pane, click Enable.
But after the change, the problem is still on the web. Change the Web. config node content:
1 < system.webserver > 2 < runallmanagedmodulesforallrequests= "true"/>3</ system.webserver>
But unfortunately the problem still remains, Google search "Forbidden mvc", find a solution: http://stackoverflow.com/questions/6011636/403- Forbidden-on-basic-mvc-3-deploy-on-iis7-5,
Run cmd to find the "Framework" directory, execute:aspnet_regiis-i command.
In the application pool, add the. NET Framework 4.0 application pool, rerun, OK.
2,could not load file or assembly ' System.core, version=2.0.5.0 and AUTOFAC conflict issues More information: failed to load file or assembly "System.core, version=2.0.5.0, Culture=neutral, publickeytoken=7cec85d7bea7798e, Retargetable=yes "or one of its dependencies. The given assembly name or base code is invalid. (Exception from hresult:0x80131047)
Solution: Install http://support.microsoft.com/kb/2468871,64 bit only need to install Ndp40-kb2468871-v2-x64.exe.
3, the user ' IIS apppool\.net 4.0 ' logon failed.
Detailed exceptions are as follows:
This problem is typically caused by the connection string for Windows Integrated authentication, and is changed as follows:Data source=server;initial catalog=db; User id=test; Password=test;