Window R2 + IIS7.5 + VS2013 error code 0x80070002

Source: Internet
Author: User

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

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.