Asp.net Http Error eurl. axd error message Solution

Source: Internet
Author: User

The error occurs when ASP. NET detects that the Web site is configured to use ASP. NET 4.0, local ASP. the component of NET 4.0 will pass a URL that cannot be extended to ASP. NET Management Program for further processing. However, if one is lower than ASP. NET 4.0 website configuration to use ASP. NET 2.0, when processing such a URL that cannot be extended, the URL Modification result will contain the string "eurl. axd, the modified URL will be sent to ASP.. NET 2.0 application.

"Eurl. axd" cannot be recognized in ASP. NET 2.0. Therefore, ASP. NET 2.0 will try to find a file named "eurl. axd" and execute it. Because such a file does not exist, the request will fail, an Http exception occurs, and an error with the string "eurl. axd" will be thrown.

There are three ways to solve this problem:

1. If the website program does not require the support of ASP. NET 4 protocol. 0, you can directly configure the website to use ASP. NET 2.0.

2. If the website program requires the support of ASP. NET 4 forbidden. 0, you need to move the virtual directories using ASP. NET 2.0 under the website to other websites.

3. If neither of the above methods is applicable to your actual situation, you can only use this method:

Open the registry and find "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ ASP. NET \ 4.0.30319.0 ", add a key value of the" EnableExtensionlessUrls "type as" DWORD ", and set the value to" 0 ". Run "IISRESET" in cmd and restart IIS to read the modified content in the registry. Note: This modification is to disable ASP. NET 4 extension. 0 for non-extended URL Processing. If this key value is set to "1", it is enabled.

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.