II7.0 released three minor issue records for MVC 4.0

Source: Internet
Author: User

1,403.14-Forbidden the Web server is configured to not list the contents of this directory

  • Change as prompted: use IIS manager to enable directory browsing.

However, after the change, the problem persists. on the Internet, you can find the following link to change the content of the web. config node:

1 <system.webServer>2     <modules runAllManagedModulesForAllRequests="true" />3 </system.webServer>

But unfortunately the problem is still, google Search "Forbidden mvc", find the solution: http://stackoverflow.com/questions/6011636/403-forbidden-on-basic-mvc-3-deploy-on-iis7-5,

Run cmd to find the "Framework" directory and run the aspnet_regiis-I command.

Add the. NET Framework 4.0 Application pool in the "application pool" and run it again. OK.

2, cocould not load file or assembly 'System. core, Version = 2.0.5.0 and autofac conflict details: failed to Load file or assembly "System. core, Version = 2.0.5.0, Culture = neutral, PublicKeyToken = 7cec85d7bea7798e, Retargetable = Yes ", or a dependency of the object. The specified Assembly name or basic code is invalid. (Exception from HRESULT: 0x80131047)

Solution: Install http://support.microsoft.com/kb/2468871,64bit only install NDP40-KB2468871-v2-x64.exe on it.

3. logon to 'iis APPPOOL \. NET 4.0 'failed.

Detailed exceptions are as follows:

This problem is generally caused by the windows integration verification of the connection string. The changes are as follows: Data Source = server; Initial Catalog = db; User ID = test; Password = test;

Related Article

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.