II7.0 release of MVC 4.0 three minor issue records

Source: Internet
Author: User

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.
      1. Open IIS Manager.
      2. In the features view, double-click Directory Browsing.
      3. 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;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.