Search Engine: Elastic

Article ID: 134410, created on Jun 27, 2019, last review on Jun 27, 2019

  • Applies to:
  • Operations Automation 7.4
  • Operations Automation 6.0
  • Operations Automation 5.5


Task to disable virtual web server in IIS failed with the message below:

    Destination host 'hostname.domain' (#2670), IP '' :     Provisioning request failed. The system cannot find the path specified. [<response><errorContext description="Could not open metabase key. IIS://hostname.domain/W3SVC/54321/Root 0x80070003: The system cannot find the path specified." code="0x80070003" executeSeqNo="2"><errorSource namespace="IIS Provider" procedure="SetProperties"/></errorContext></response>]


IIS site identifier mistmatch between the OA database and the IIS site.

As seen above, the site identifier in IIS is 54321, but if we search for it we will not find it:

c:\inetpub\AdminScripts>adsutil.vbs enum W3SVC/50321

The path requested could not be found.
ErrNumber: -2147024893 (0x80070003)
Error Trying To ENUM the Object (GetObject Failed): W3SVC/54321

Nevertheless, in IIS manager the site can be found with a different identifier:

c:\inetpub\AdminScripts>adsutil.vbs enum W3SVC/61564
KeyType                         : (STRING) "IIsWebServer"
ServerState                     : (INTEGER) 4
ServerComment                   : (STRING) "webspace_00123456 - domain (123456)"
ServerBindings                  : (LIST) (1 Items)

LogPluginClsid                  : (STRING) "{FF160663-XXXX-XXXX-BC0A-00AA006111E0}"
ServerCommand                   : (INTEGER) 1
Win32Error                      : (INTEGER) 87


  1. Create a new site with the same identifier by copying the details from the mistmatched identifier:

    c:\inetpub\AdminScripts>adsutil copy W3SVC/12345 W3SVC/54321
    copied from /W3SVC/61564 to /W3SVC/54321
  2. Once copied, verify all the details are the same as in the copied site:

    c:\inetpub\AdminScripts>adsutil get w3svc/54321/root/path
    path                            : (STRING) "C:\CustomerData\webspaces\webspace_00123456\wwwroot\123.102"
    c:\inetpub\AdminScripts>adsutil set w3svc/54321/root/path "C:\CustomerData\webspaces\webspace_00123456\wwwroot"
    path                            : (STRING) "C:\CustomerData\webspaces\webspace_00123456\wwwroot"
    c:\inetpub\AdminScripts>adsutil get w3svc/54321/root/path
    path                            : (STRING) "C:\CustomerData\webspaces\webspace_00123456\wwwroot"
  3. Re-run the initial task.

5b048d9bddf8048a00aba7e0bdadef37 8fc71f07abe5b233fea1ae0377cd5e3d 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0 55fe109b4b4fe3fbb893f22dbb85a41a 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF