HTTP Error 404.0-not Found
The resource you are looking for has been deleted, renamed, or temporarily unavailable.
Detailed error information
Module IIS Web Core
Notice Maprequest Handler
Handler Static File
Error code 0x80070002
Requested URL * * *
Physical PATH * * *
Login Method Anonymous
Login User Anonymous
The most probable cause:
The specified directory or file does not exist on the WEB server.
URL spelling error.
A custom filter or module, such as URL Scan, restricts access to the file.
/*** the method that was tried (this method is not valid) ***/
Inetmgr Open IIS, click on the root node, find "Handler mappings" in the IIS section, double-click Open, add a "added wildcard script map"
Fill in the executable file (depending on your installation path): C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll name Customization.
Then look at the application, and the corresponding handler mappings will add a wildcard script map with the same name, except that the entry type of the IIS root node is "local" and the application is "inherited"
At this point, my problem is solved. Do not know whether people have encountered this problem, and how to solve. It is estimated that win7+iis7.5 omitted this wildcard script mapping because it is not the problem to use the previous version of IIS7.
Also, if it is possible to add the mapping only to the application, it will automatically add a node to the,<system.webserver>
<add name= "12345" path= "*" verb= "*" modules= "Isapimodule" scriptprocessor= "C:\Windows\Microsoft.NET\Framework\ V4.0.30319\aspnet_isapi.dll "resourcetype=" Unspecified "requireaccess=" None "precondition=" Classicmode, Runtimeversionv4.0,bitness32 "/>
This can also solve the problem.
/*** ***/
Solution (for Web. config profiles):
Original error when the configuration
<system.webServer>
<validation validateintegratedmodeconfiguration= "false"/>
<remove name= "Extensionlessurlhandler-isapi-4.0_32bit"/>
<remove name= "Extensionlessurlhandler-isapi-4.0_64bit"/>
<remove name= "extensionlessurlhandler-integrated-4.0"/>
<add name= "Extensionlessurlhandler-isapi-4.0_32bit" path= "*." verb= "Get,head,post,debug,put,delete,patch, OPTIONS "modules=" Isapimodule "scriptprocessor="%windir%\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll " precondition= "Classicmode,runtimeversionv4.0,bitness32" responsebufferlimit= "0"/>
<add name= "Extensionlessurlhandler-isapi-4.0_64bit" path= "*." verb= "Get,head,post,debug,put,delete,patch, OPTIONS "modules=" Isapimodule "scriptprocessor="%windir%\microsoft.net\framework64\v4.0.30319\aspnet_isapi.dll " precondition= "Classicmode,runtimeversionv4.0,bitness64" responsebufferlimit= "0"/>
<add name= "extensionlessurlhandler-integrated-4.0" path= "*." verb= "Get,head,post,debug,put,delete,patch, OPTIONS "type=" System.Web.Handlers.TransferRequestHandler "precondition=" integratedmode,runtimeversionv4.0 "/>
</system.webServer>
Configuration after the change
<system.webServer>
<validation validateintegratedmodeconfiguration= "false"/>
<modules runallmanagedmodulesforallrequests= "true"/>
</system.webServer>
Problem solving, I hope you share!
Window R2 + IIS7.5 + VS2013 error code 0x80070002