Previous Next

Thread: AppCmd broken??

Last post 09-11-2008 2:18 PM by John Happy. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 09-10-2008, 3:40 PM

    AppCmd broken??

    I am running a web server recently upgraded from Windows Server 2003 to Windows Server 2008. All my virtual server's (websites) are now working, but only using the Classic pipeline. I can't serve web pages using the Integrated pipeline. In order to take advantage of IIS 7.0's Integrated pipeline I was told that I should uninstall IIS 7 and Windows Process Activation Service, reinstall IIS 7.0 and deploy my sites using MSDeploy. After doing so, I'm supposed to be able to choose between Integrated and Classic. 

    Based on instructions found in the 'Migrating from IIS 6.0 to 7.00 using MS Deploy' article, I wanted to use AppCmd to "make a backup of the destination server."

    I hadn't used AppCmd before so I ran AppCmd /? and saw instructions for use and the list of objects/command/parameters. Having done this I knew appcmd existed at the path I ran and that it was working.

     I was instructed to use the 'add' command and the 'backup' object and name the backup "PreMSDeploy". I ran the following:

    c:\Windows\System32\inetsrv\appcmd add backup "PreMSDeploy"

    I got an error message which stated:

    ERROR < hresult:80070003, message:Command execution failed. The system cannot find the path specified.>

    I tried to run:

     c:\Windows\System32\Inetsrv\appcmd list apppool

     and got the following error message:

    ERROR < hresult:8007007e, message:Command execution failed. The specified module could not be found.>

    At this point I'm wondering if I should even attempt to take the above steps to get the Integrated Pipeline working. I should probably get AppCmd working first.

    What do you think?

  • 09-11-2008, 11:24 AM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 561

    Re: AppCmd broken??

    Seems like your IIS7 installation got corrupt somehow. Can you find what file/module appcmd is not able to find using procmon?

    Thanks,
    Kanwal

  • 09-11-2008, 2:18 PM In reply to

    Re: AppCmd broken??

    Tried using procmon ... first time user of this tool.  I could not pick out the activity of the command window and the appcmd application from amongst the other activity going on at the same time.

    My gut feeling is that upgrading from Windows Server 2003 to Windows Server 2008 by simply inserting my 2008 disc and answering the upgrade prompt questions to the best of my ability at that point in time, was a mistake.

    I should probably start from scratch, perhaps loading the 2008 Server OS on a new drive and doing a more educated job of configuring.

Page 1 of 1 (3 items)
Page view counter