IIS 6.0: Http 500.0.170 while browsing Classic ASP pages

On an IIS 6.0 machine, if you try to browse any hosted Classic ASP page (.asp), you get the generic ‘Page cannot be displayed’ error. Other resources like html, .gif works well without any issue.

In IIS logs you will find the status codes

sc-status sc-substatus sc-win32-status

500             0                       170

Here is 170 is Windows Status code which means ‘The requested resource is in use.’

>net helpmsg 170

image

 

In more than one instance, I found that this could happen when vbscript.dll gets unregistered for some reason.

To fix, simply register this and you should be good to go.

>regsvr32 C:\Windows\System32\vbscript.dll

image

You can also perform an IIS Reset after this as good measure.

 

Hope this helps.

Cheers