Previous Next

Thread: Problem with adsutil.vbs ( IIS 6 Management Compatibility and IIS 6 Scripting Tools are activated )

Last post 05-25-2007 4:45 PM by ksingla. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 05-25-2007, 10:51 AM

    • joebo
    • Not Ranked
    • Joined on 07-21-2006, 6:45 AM
    • Posts 1
    • joebo

    Problem with adsutil.vbs ( IIS 6 Management Compatibility and IIS 6 Scripting Tools are activated )

    Hello,

     does anyone know why the script adsutil.vbs does not work in IIS 7 (Windows Vista)? The options "IIS 6 Management Compatibility" and "IIS 6 Scripting Tools" are activated.

    Running

             cscript.exe "%SystemDrive%\inetpub\adminscripts\adsutil.vbs" set w3svc\apppools\MyAppPoolName\AppPoolCommand 1

    results in the following error:

             ErrNumber: -2147023843 (0x8007041D)

             Error Trying To Start the application pool: w3svc/apppools/MyAppPoolName

    And running the script with AppPoolCommand 2 does nothing. The script exits after about 30 seconds without any effect or response.

     Thanks for any help

    Joebo

     

    Tags:
  • 05-25-2007, 4:45 PM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-13-2006, 11:02 PM
    • Redmond, WA
    • Posts 429
    • ksingla

    Re: Problem with adsutil.vbs ( IIS 6 Management Compatibility and IIS 6 Scripting Tools are activated )

    Did you try starting the apppool using IIS Manager or appcmd to make sure apppool is configured properly?

    -Kanwal

  • 05-25-2007, 6:57 PM In reply to

    • iisray
    • Top 150 Contributor
    • Joined on 07-08-2006, 12:44 AM
    • Posts 22
    • iisray

    Re: Problem with adsutil.vbs ( IIS 6 Management Compatibility and IIS 6 Scripting Tools are activated )

    Hi Joebo,

    this works on my test box. Could you try this command to another AppPool (i.e. 'DefaultAppPool') to see what you get?

    Can you also try "net start iisadmin" to see whether IISAdmin has been started or not?

    Also, did you see any suspecious eventlog error/warning about this application pool or the iisadmin service?

    Thanks,

    Ray

  • 05-25-2007, 7:36 PM In reply to

    • rayner
    • Not Ranked
    • Joined on 05-23-2006, 7:42 PM
    • Redmond
    • Posts 7
    • rayner

    Re: Problem with adsutil.vbs ( IIS 6 Management Compatibility and IIS 6 Scripting Tools are activated )

    Hi Joebo,

    Is WAS running on the machine when this error occurs. Application pool/Site are controlled by RSCA that lives within the WAS service.

    you can test if the service is running by calling

    sc query was

    If it is not running then call

    net start was

    and then retry the adsi apppool start command.

    Thanks,

    Rayner.

    Rayner D'Souza
    Software Design Engineer
    Virtual Earth & Local Search
    Microsoft Corporation
Page 1 of 1 (4 items)
Page view counter