I’m using url rewriting.net. I’m testing web on the local host, it is successfully work. But When i deploying web to remote host, url rewriting not work. Problem is (The resource cannot be found). I found problem. My deployed remote host IIS configuration is (Virtual dir->Properties->Home directory->Application Mapping->.aspx->Edit->”Check that file exist” is checked). I need to uncheck them. But my deployed host control panel not have a application mapping function.
How to uncheck this option using web.config?
Is it possible?
Has you another idea?
IIS6
If this is IIS6 then unfortunately there is no way to change the script map settings via your ASP.NET
web.configfile.You would need to find a hoster that permitted this configuration change via their control panel, or ask your present hoster (nicely) to change this for you.
IIS7
If this is IIS7 then you need to add (if it doesn’t already exist) a
<system.webServer />configuration section to yourweb.configfile and modify the handler behaviour:This will only work if your hoster has delegated read/write access to the Handler Mappings feature.
I’d be fairly surprised though if this was IIS 7 and the
PageHandlerFactory-ISAPI-2.0andPageHandlerFactory-Integratedhandler were configured asresourceType="File"orresourceType="Either". Out of the box they’re configured not to check for the existence of files and folders.