Classic ASP on Vista/IIS 7.0

I have a couple of classic ASP ‘applications’ that, through the ministrations of some malevolent spirit, keep landing on my desk(top) needing some new feature or other. I didn’t write them and they should have been binned long ago but, despite my protestations, they keep coming back. My work on them can only be described as ‘Turd Polishing’ which is what I would have called this post had I not been keeping an eye on relevant search engine referrals…

So today I found myself having to get classic ASP going on Vista with IIS 7.0 which, it turns out, is an art unto itself. It isn’t even installed for a kick-off, the remedy for which is to go to Control Panel/Programs and Features and then somewhere in there under the ‘Turn Windows features on or off” you’ll find…


Emboldened by success having installed the blighter I then spent far too long with everything I tried to do resulting in this…


…the shoddiness of which led me up the garden path thinking that the moron that had originally written the aforementioned ‘Turd’ had actually included some, albeit ropey, error handling. Don’t be fooled, turns out this is actually the new default IIS error message for script errors. Having worked that out I tracked the error down to this line:


(Yes, it uses Access too… I told you – ‘Turd’)

IIS 7.0 doesn’t allow you to use parent paths and so “..” is unacceptable.

For those of you that still have to do the occasional bit of polishing or those others of you that have a treasured bit of beautifully architected ASP 3.0 that you still care for or, heaven forfend, those who are still developing new stuff with it there is a good post on Bill Staples’s blog that will show you how to sort all of that out and get good old ASP 3.0 running on IIS 7.0 on your Vista machine.


13 Responses to “Classic ASP on Vista/IIS 7.0”

  1. 1 tashi samphel August 24, 2007 at 11:23 am

    Help Me!!

    i was using Window XP SP2 with web server IIS 6.0 earlier and there i developed many application by using classic asp and it was fine but when i got a laptop with Window Vista home install on it and it has webserver IIS 7.0. I copy my whole web file and asp file in the wwwroot directory. when i open the http://localhost/index.html in a browser it work allright but when i try to open the asp file it shows an error message i.e


    HTTP Error 404.3 – Not Found

    Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed.


    so please find me best to solve this problem… and i’ll be very thankful to you..

    with love
    Tashi Samphel.

  2. 2 Graham Pengelly August 24, 2007 at 11:30 am

    Hi Tashi

    Have you enabled ASP as outlined in the post?


  3. 3 Dimitrios August 27, 2007 at 2:46 am

    I get this error when I run a classic asp website with vista…

    HTTP Error 500.0 – Internal Server Error
    Description: Calling GetProcAddress on ISAPI filter “C:\Windows\system32\inetsrv\asp.dll” failed

    Error Code: 0x8007007f

    Notification: Unknown

    Module: IIS Web Core

    Requested URL: http://scapatchi:80/ssri

    Physical Path: C:\inetpub\wwwroot\ssri\ssri

    Logon User: Not yet determined

    Logon Method: Not yet determined

    Failed Request Tracing Log Directory: C:\inetpub\logs\FailedReqLogFiles

    Handler: StaticFile

    Most likely causes:

    The ISAPI Filter has dependencies that are not available on the Web server.
    IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
    IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
    IIS was not able to process configuration for the Web site or application.
    The authenticated user does not have permission to use this DLL.
    What you can try:

    Try running Reskit tool “depends” on the ISAPI DLL.
    Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server’s machine account.
    Check the event logs to see if any additional information was logged.
    Verify the permissions for the DLL.
    Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
    More Information… This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.

    Microsoft Knowledge Base Articles:


    Server Version Information: Internet Information Services 7.0.

    what can I do?

  4. 4 Ken August 1, 2008 at 1:56 pm

    Hi, something weird is happening here.
    I use to have a machine with Vista and IIS7 and everything works well.
    Some data base in mdb and some very simple ASP.
    Now I changed of machine. Just faster, but same IIS7 and Vista, only that this time I installed the SP1 for Vista…
    ASP works normally. I leave the machine for many hours on (no screen saver, sleep, suspend, turn off harddisk, nothing like that). When I try to access a asp site it doesn’t respond. So I try to reload the IIS and wont restart anymore. I have check the World Wide Web Publishing Service and is on Stopping status. but nothing, I guess is not responding. I have to restart Windows so it works again.
    No error messages, no idea what’s wrong.
    Some body has any idea?

  5. 5 Sveta October 5, 2008 at 8:35 pm

    Try to reinstal IIS with all the subdirectories +, and share the folders with write permitions in wwwroot

  6. 6 monfardini roberto January 14, 2009 at 3:23 pm

    cerco lavoro come pizzaiolo

  7. 7 Nikunj Pathak May 21, 2009 at 8:04 am

    Right click on inetpub folder and uncheck read only….
    also on its properties allow full control for respective user or administrator..

  8. 8 Andrew May 24, 2011 at 5:11 am

    Thanks. It never occurred to me that when you asked Windows 7 to install IIS it would not install ASP /
    My problem went away after following this. Thanks again.

  9. 9 Mariano January 3, 2013 at 9:02 am

    Hi there, You’ve done an excellent job. I will certainly digg it and personally recommend to my friends. I am sure they will be benefited from this site.

  10. 10 May 4, 2013 at 7:22 pm

    Definitely believe that which you said. Your favorite justification appeared to be on the web the simplest thing to be aware of.
    I say to you, I definitely get annoyed while
    people think about worries that they plainly
    do not know about. You managed to hit the nail upon the top and defined out the whole thing without having side-effects , people could
    take a signal. Will probably be back to
    get more. Thanks

  11. 11 Software download July 28, 2013 at 1:29 am

    That, plus the added benefits and customization abilities
    that come with your own wordpress blog for example, makes the paid option a
    no-brainer for anyone that can afford it. Social websites for example Myspace, Facebook, and You tube supply a great deal of opportunities for this.
    This method is considered one of the fastest ways
    to get your blog indexed by Yahoo.

  12. 12 optymalizacja ssd February 10, 2014 at 11:19 am

    Hi mates, how is the whole thing, and what you want to say regarding this piece of
    writing, in my view its actually awesome in support
    of me.

  13. 13 PatriceEmics February 17, 2018 at 11:53 am

    welcome you hurry fuck me, and slay every last drop my nickname (Zlata88)

    Copy the link and go to me…


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: