I've had multiple servers do the same thing to me (Server 2k8R2 as well as Server 2k12) over the last week - all stemming from deleting a parent folder that had a virtual directory and then re-adding said folder back into IIS. Re-installing IIS is not an option for me - it worked just fine before deleting and re-adding the site.
I create a virtual directory, try to browse the virtual directory under my site and get the "Server Error in '/' Application seen below. Tried converting said directory to an application which results in the same 404 not found error. The 404 error is persistent through all virtual directories on the server that do not reside in the inetpub/wwwroot folder.
Has anyone seen this before? If so what fixed it?
Troubleshooting steps I've tried:
- Granted IUSR and IIS_IUSRS full access to the directory
- Granted Everyone full access to the directory
- Failed Request Logging - returns a 404.0 error. (See below)
- Tried removing/re-adding the virtual directory multiple times
- Removed/re-added the whole site
- Procmon verifies that the w3wp.exe process is accessing the virtual directory when I try browsing the location
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP
404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Bin/
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34212
Failed Request Log Error:
ModuleName | ApplicationRequestRouting |
---|---|
Notification | EXECUTE_REQUEST_HANDLER |
HttpStatus | 404 |
HttpReason | Not Found |
HttpSubStatus | 0 |
ErrorCode | The operation completed successfully. (0x0) |
ConfigExceptionInfo |