Previous Next

Thread: Install fails, can't get remote connection

Last post 05-30-2008 4:09 PM by ninatang. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 05-29-2008, 3:23 PM

    • ojking
    • Not Ranked
    • Joined on 12-06-2006, 3:16 PM
    • Posts 2
    • ojking

    Install fails, can't get remote connection

    I am sorry for taking this space but need a couple of answers.  Understand our context; the company has hundreds of servers yet no naming conventions as to location, OS, or ownership.  That known, I am charged with migrating IIS webs to other data centers, all without a great of documentation or dependencies.  So I want to use the dependency tool.

    First problem, the installer on each server needs up-grading in order to install.  Inasmuch as I am testing this tool on our system, suggesting an upgrade of installer in order to install a beta tool is a loser until I can prove that the tool is an advantage to our work.

    So I am attempting command line remote check.  Problem is, no matter my nomenclature, I receive an error message.  For example, when I try this CLI implementation:

    C:\Program Files\Microsoft Web Deploy>msdeploy -verb:getDependencies -source:met
    akey=lm/w3svc/861404620 -param:alltrigger,computerName=WYJPAM01.1dc.com
    Specified source is invalid.
    The metabase key '/lm/w3svc/861404620' could not be found.
    Metabase Admin Base Object could not be instantiated.  Perhaps 'IIS 6 Metabase C
    ompatibility' feature is not installed.
    Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

    or

    C:\Program Files\Microsoft Web Deploy>msdeploy -verb:getDependencies -source:met
    akey=lm/w3svc/861404620 -param:alltrigger,computerName=WYJPAM01.1dc.com -userNam
    e={domain}\{username -password={password}
    Unrecognized argument '{domain}\{username}

    I have tried other variations, each to no avail.  Any suggestions?

    Thanks,

    O. J. King

  • 05-29-2008, 4:11 PM In reply to

    • ninatang
    • Top 150 Contributor
    • Joined on 07-14-2004, 12:41 PM
    • Posts 20
    • ninatang

    Re: Install fails, can't get remote connection

    Are you trying this on an IIS7 machine? If so, you should use the appHostConfig provider instead of metaKey.

     For the second issue, your syntax is wrong. it should look like this:

    msdeploy -verb:getDependencies -source:metaKey=lm/w3svc/861404620,computername=WYJPAM01.1dc.com,username=USER,password=PASSWORD

    Hope this helps.

    -Nina

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 05-30-2008, 3:37 PM In reply to

    • ojking
    • Not Ranked
    • Joined on 12-06-2006, 3:16 PM
    • Posts 2
    • ojking

    Re: Install fails, can't get remote connection

    Your reply helped (as in i made progress), but didn't reesolve my problem.  Understand, I am actually wanting to use but a small part of WebDeploy; tat of the show dependencies.  Seems i am charged with migrating sites to a given datacenter.  Problem I am having is the developers have not been keeping dependencies, so I am having to guess in most cases.  And that is why I jumped on this tool, in particular, the show dependencies component.

     

    However, following your revision, I am now getting:

    "Request to remote agent URL 'http://wyjpam01.1dc.com/MSDEPLOYAGENTSERVICE' faile
    d.
    The remote server returned an error: (404) Not Found.

    While vague, I noticed the path to include a directory "MSDEPLOYAGENTSERVICE".  It, indeed, does not exist.  Is that directory created on install?  And, if not, where does it emerge?

    Thanks,

     O. J. King

  • 05-30-2008, 4:09 PM In reply to

    • ninatang
    • Top 150 Contributor
    • Joined on 07-14-2004, 12:41 PM
    • Posts 20
    • ninatang

    Re: Install fails, can't get remote connection

    This probably means the agent isn't running on the machine you're trying to get dependencies from. If you choose the "Complete" option during install, it will install the agent service, but you have to manually start it by typing "net start msdepsvc."

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (4 items)
Page view counter