Win2003 IIS6.net framework 4.0 default document invalidation solution

  • 2020-06-12 11:15:11
  • OfStack

WEB project developed with.net framework 4.0, but the default document cannot be used in iis6, as follows:

Address bar input: http: / / xxx xxx. xxx. xxx/tip can't find the file

Input the full name: http: / / xxx xxx. xxx. xxx/default aspx normal display.

In Baidu search 1, no harvest, can not use extraordinary means, to Google search es24EN6.net 4.0 document] the keyword, immediately have harvest.

Is HTTP explanation .axd An error occurred at time, causing the default document to fail.

Solutions:


Windows Registry Editor Version 5.00 
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0] 
 
"EnableExtensionlessUrls"=dword:00000000 

1. First, create a new text file, then add the above text COPY to this file, save it as 1.ES37en, and then import it directly.

2. After importing, execute iisreset, and then refresh the page. If the access is abnormal, you can continue to refer to the following method.

3. Re-register asp.ES44en4.0


c:/windows/microsoft.net/framework/v4.0.30319/aspnet_regiis.exe -ir

The version number may be slightly different, you can change according to the actual situation.

web service extension, enable Web Service extend-ES52en.NET v4.0.30319 (32-ES55en).


Related articles: