Previous Next

Thread: Vista Home Premium, IIS 7 & Classic ASP

Last post 05-29-2007 12:28 AM by qbernard. 10 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (11 items)

Sort Posts:

  • 02-11-2007, 9:02 PM

    • plo
    • Not Ranked
    • Joined on 02-12-2007, 1:53 AM
    • Posts 4

    Vista Home Premium, IIS 7 & Classic ASP

    I've been going through the posts here & I still can't run a simple classic ASP page:

    <%

    response.write "here" 

    %> 

    I've added both 'ASP' & 'ISAPI Extensions' via the 'Programs & Features' dialogue without any success.  Instead of the original 404 error that I was initially getting, I am now getting the following error msg:

    HTTP Error 500.0 - Internal Server Error

    Description: Handler "ASPClassic" has a bad module "IsapiModule" in its module list

    Error Code: 0x8007000d

    Notification: ExecuteRequestHandler

    Module: IIS Web Core

    Requested URL: http://localhost:80/xxxx/xxxx/xxxxxx.asp

    Physical Path: C:\inetpub\wwwroot\xxxx\xxxx\xxxxxx.asp

    Logon User: Anonymous

    Logon Method: Anonymous

    Handler: ASPClassic


    Also, I've tried setting the 'scriptErrorSentToBrowser' to true without any success or change in the error message. 

    Any help would be greatly appreciated.

    Cheers,
    p.

     

  • 02-12-2007, 2:44 AM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 3:28 PM
    • Redmond
    • Posts 387

    Re: Vista Home Premium, IIS 7 & Classic ASP

    Plo,

    I think your issue is different. The request doesn't even get to ASP. It seems that you have a corrupt or non-existing/not installed ISAPI Module.

    Do you see the IsapiModule pointing to "%windir%\System32\inetsrv\isapi.dll" when you execute the following command?

    %windir%\system32\inetsrv\appcmd list config -section:globalModules

    Is the DLL there when you run a "dir %windir%\system32\inetsrv\isapi.dll"?

     

    Thomas Deml
    Senior Program Manager
    Internet Information Services
    Microsoft Corp.
  • 02-12-2007, 2:53 PM In reply to

    • plo
    • Not Ranked
    • Joined on 02-12-2007, 1:53 AM
    • Posts 4

    Re: Vista Home Premium, IIS 7 & Classic ASP

    thomad:

    Plo,

    I think your issue is different. The request doesn't even get to ASP. It seems that you have a corrupt or non-existing/not installed ISAPI Module.

    Do you see the IsapiModule pointing to "%windir%\System32\inetsrv\isapi.dll" when you execute the following command?

    %windir%\system32\inetsrv\appcmd list config -section:globalModules

    Is the DLL there when you run a "dir %windir%\system32\inetsrv\isapi.dll"?

     

    Hey Thomas, 

    After running the first command, I see:

    <add name="IsapiModule" image="%windir%\System32\inetsrv\isapi.dll">

    After running the second command, I see that 1 file is listed with 106,496 bytes.

    So, it looks like it's being pointed at & the file is there.  Do you think it's a permissions issue at the file level?

    fyi, I've also tried uninstalling & re-installing the asp/isapi components without any success.

    Cheers.
     

  • 02-17-2007, 12:01 AM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 3:28 PM
    • Redmond
    • Posts 387

    Re: Vista Home Premium, IIS 7 & Classic ASP

    Plo,

    Does the module show up when you execute

    %windir%\system32\appcmd list modules

    ?

    Thomas Deml
    Senior Program Manager
    Internet Information Services
    Microsoft Corp.
  • 02-19-2007, 10:03 PM In reply to

    • plo
    • Not Ranked
    • Joined on 02-12-2007, 1:53 AM
    • Posts 4

    Re: Vista Home Premium, IIS 7 & Classic ASP

    Hi Thomas,

    Thank you for the replying.

    When I run the command I get the following:

    MODULE "HttpCacheModule" ( native, preCondition: )
    MODULE "StaticCompressionModule" ( native, preCondition: )
    MODULE "DefaultDocumentModule" ( native, preCondition: )
    MODULE "DirectoryListingModule" ( native, preCondition: )
    MODULE "ProtocolSupportModule" ( native, preCondition: )
    MODULE "StaticFileModule" ( native, preCondition: )
    MODULE "AnonymousAuthenticationModule" ( native, preCondition: )
    MODULE "RequestFilteringModule" ( native, preCondition: )
    MODULE "CustomErrorModule" ( native, preCondition: )
    MODULE "IsapiModule" ( native, preCondition: )
    MODULE "HttpLoggingModule" ( native, preCondition: )
    MODULE "RequestMonitorModule" ( native, preCondition: )

    Any thoughts or tips would be greatly appreciated.

    Cheers.

     

  • 02-20-2007, 6:13 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 1,223

    Re: Vista Home Premium, IIS 7 & Classic ASP

    Can you do "appcmd list section "Default Web Site/xxx/xxxx" -section:modules (xxx/xxxx is the path to your application).  You are possibly removing the IsapiModule from the modules list at a lower level.
    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 02-22-2007, 2:23 AM In reply to

    • plo
    • Not Ranked
    • Joined on 02-12-2007, 1:53 AM
    • Posts 4

    Re: Vista Home Premium, IIS 7 & Classic ASP

    Hi Anilr,

    When I run: 

    C:\Windows\System32\inetsrv\appcmd.exe list section "Default Web Site/xxx" -section:modules

    (where xxx is my virtual directory name)

    I get the error message: "Object 'SECTION' is not supported."

    Should I try another Object type other than SECTION? Perhaps "SITE"?

    Cheers.
     

  • 02-22-2007, 11:28 AM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 1,223

    Re: Vista Home Premium, IIS 7 & Classic ASP

    Sorry, that should be "list config"
    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 05-02-2007, 3:21 PM In reply to

    Re: Vista Home Premium, IIS 7 & Classic ASP

    now. for resolving your problem it's simple goto IIS management console. select Modules. add a Native Module. select IsapiModule click OK and now enjoy...

     Taha Bazri

     

  • 05-28-2007, 5:45 PM In reply to

    • marmarak
    • Not Ranked
    • Joined on 05-17-2007, 5:54 AM
    • Posts 1

    Re: Vista Home Premium, IIS 7 & Classic ASP

    I have been having the same problem. Did you ever fix yours? I wanted to see if I could add the Isapi Module to the Modules but it was already there.

  • 05-29-2007, 12:28 AM In reply to

    Re: Vista Home Premium, IIS 7 & Classic ASP

    you got the same error code ? what do you see when you list the section?

    Cheers,
    Bernard Cheah
Page 1 of 1 (11 items)
Page view counter