I’m getting the following error after migrating an app built on II6 to IIS 7.5
- Module IIS Web Core Notification
- MapRequestHandler Handler StaticFile
- Error Code 0x80070002
On the IIS 7.5 side, I have a wildcard script map setup to:
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
The application pool is setup to use classic mode and .Net 2.
The URL I am working with would looking something like this:
http://fb.domain.com/ryanqaaw/tab/
The wildcard map would handle the /ryanqaaw/tab/ as those folders to not exist in the root.
Any help or tips would be GREATLY appreciated!
EDIT:
Adding Failed Request Tracing shows this:
ModuleName="IIS Web Core", Notification="MAP_REQUEST_HANDLER", HttpStatus="404", HttpReason="Not Found", HttpSubStatus="0", ErrorCode="The system cannot find the file specified.
(0x80070002)", ConfigExceptionInfo=""
But I am not too sure what to make of it…
In IIS 7.5 the configuration is far more simple, almost no configuration required.
What I suggest is, create a new Web application project and make it run in IIS 7.5 and then change your application’s config file to mirror the new one.
Instead of your wildcard handler use an integrated pipeline for your apppool and all should be fine.