IIS Express and Classic ASP

Brutus35 picture Brutus35 · Mar 14, 2011 · Viewed 14.6k times · Source

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,.

Answer

Flapper picture Flapper · Mar 18, 2011

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.