After both ASP. NET 2.0 and ASP. NET 4.0 are enabled in IIS6 Program The following error may occur: "system. Web. httpexception: path' // eurl. axd/'was not found ."
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.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.0, you need to move the virtual directories under the website using ASP. NET 2.0 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.0 for processing non-extended URLs. If this key value is set to "1", it is enabled.
If IIS is installed first and. Net framework3.5 or 4.0 is installed, you need to re-register the framework and run the following command in "run:
C: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_regiis.exe-I
C: \ windows \ Microsoft. NET \ framework \ v4.0.30319 \ aspnet_regiis.exe-I
ASP. NET 2.0 and ASP. net 4.0, the website program may encounter the following error: "system. web. httpexception: path' // eurl. axd/'was not found."
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.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.0, you need to move the virtual directories under the website using ASP. NET 2.0 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.0 for processing non-extended URLs. If this key value is set to "1", it is enabled.
If IIS is installed first and. Net framework3.5 or 4.0 is installed, you need to re-register the framework and run the following command in "run:
C: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_regiis.exe-I
C: \ windows \ Microsoft. NET \ framework \ v4.0.30319 \ aspnet_regiis.exe-I