I am migrating a legacy web application to iis 10. Site is mostly written in classic asp and asp code is running fine for files with .asp extension. However, there are some pages in the site are saved with the .uasp extension which is throwing the error:
To resolve this, I added a handler mapping in the iis
But iis is still throwing the same error from the "StaticFile" handler. My question is why my handler is not recognized? Any suggestion/help will be appreciated.
The error is
HTTP VERB
, so we should focus on that angle. Here is an article on stackoverflow talking about this error:The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used
If you read that link, I think its the 2nd option situation. You can POST or GET data, and you use
POST
with a form, andGET
from a url string. You are using the later with a url string like showfile.uasp?name=bob , so check your code and make sure that GET is used and not POST.