Classic ASP debug error messages in IIS 7
unfortunately some of us still have to maintain ASP websites and even write code on a daily bases using it.
thought Microsoft were nice enough to include an ASP addon for IIS 7 which works a treat on server 2008 but there are a few things that need to be addressed first.
mainly turn on debug info!!
on server all you need to do is bash this into the command prompt
%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true
yes that was easy.
on windows 7 or vista you will need this as well
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpErrors -errorMode:Detailed
Took me best part of a day to work that second line out since I didn’t need it on server 2008.
Not to mention you will need to mess around with the firewall and other things but this should help someone! most likely me next time I need to set this up.
Comments are closed for this entry.