IIS Express and Classic ASP

asp-classiciis-express

I'm trying to get a classic ASP site set up on IIS Express under Windows XP. I am able to get iis setup and running as well as setting up the site, but when I try to browse to an asp page all I get is:

íP÷Pèö‚le”_/index.asp18 

Has anyone come across this problem with IISExpress? I'm thinking it's a permissions thing, but I'm not sure what I need to set and for which user.

Any help is appreciated,.

Best Answer

OK we've had this and this is how I've found a solution.. In our case I think it was linked to parent paths but could have been session state too...

Browse to C:\Documents and Settings\$your user name$\My Documents\IISExpress\config

Open applicationHost.config

Find the <system.webServer> section

Change the <asp> section to the following… By default it only had the cache and empty limits bits but feel free to adjust any parameters you don't want.

<asp 
     enableParentPaths="true" 
     bufferingOn="true" 
     errorsToNTLog="true" 
     appAllowDebugging="true" 
     appAllowClientDebug="true" 
     scriptErrorSentToBrowser="true">

     <session allowSessionState="true" />
     <cache diskTemplateCacheDirectory="%TEMP%\iisexpress\ASP Compiled Templates" />
     <limits />
</asp>

Save and restart iis express.