RDS WebAccess Role failure because of missing website with error 0x800f0922

This post has been republished via RSS; it originally appeared at: IIS Support Blog articles.

ISSUE AND SYMPTOMS:

 

We were  trying to setup RDS environment and it was  failing with error while installing gateway and web access role -  0x800f0922.

Remote Desktop Web Access  is dependent on IIS  so removing the RDS role needed IIS role uninstallation as well and was affecting  existing sites and configuration already present. So we ahead troubleshooting checking logs.

 

0x800f0922

-2146498270

CBS_E_INSTALLERS_FAILED

Processing advanced installers and generic commands failed.

 

clipboard_image_0.png

 

 

CAUSE:

--Remote Desktop web access requires Default website and it was missing

--We checked the  CBS logs and found that we are getting below error recorded  which states that its unbale to find website   so we get element not found.

0x490

1168

ERROR_NOT_FOUND

Element not found.

winerror.h

 

2019-07-09 06:14:32, Info                  CSI    00000112 255):RDWeb AI online install mode...

2019-07-09 06:14:32, Info                  CSI    00000113 (173):CheckRegKeyExist, no key found, RDWA not installed

2019-07-09 06:14:32, Info                  CSI    00000114(323):GetWebsiteNameFromRegistry:  No website specified, using the defaults

2019-07-09 06:14:32, Info                  CSI    00000115 (953):GetSiteElement: GetElementForProperty failed : Error Code : 0x80070490.

2019-07-09 06:14:32, Info                  CSI    00000116 (2744):GetSiteElementByName failed : Error Code : 0x80070490.

2019-07-09 06:14:32, Info                  CSI    00000117 (3059):Exiting RDWebAIRun with Exit Code : 0x80070490.

2019-07-09 06:14:32, Info                  CSI    00000118 Performing 1 operations as follows:

  (0)  LockComponentPath: flags: 0 comp: {l:16 b:9f8cf5193f36d50110010000a0012409} pathid: {l:16 b:05b5f5193f36d50111010000a0012409} path: [l:115]'\SystemRoot\WinSxS\x86_microsoft.windows.s..ation.badcomponents_31bf3856ad364e35_10.0.14393.0_none_09e78f632173f4c5' pid: 1a0 starttime: 132071407377826854

2019-07-09 06:14:32, Error      [0x018055] CSI    00000119 (F) Failed execution of queue item Installer: RDWEB Installer ({c607008b-4014-4239-8e0c-40eb4f7119f4}) with HRESULT HRESULT_FROM_WIN32(1168).  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]

 

 

 

 

RESOLUTION

-we created default website  on IIS by using default configuration and installed Remote Desktop Web Access role 

- Once installed you can see it was able to read the website and continue with installation.

2019-07-10 03:27:04, Info                  CSI    00000037 (3255):RDWeb AI online install mode...

2019-07-10 03:27:04, Info                  CSI    00000038173):CheckRegKeyExist, no key found, RDWA not installed

2019-07-10 03:27:04, Info                  CSI    00000039(323):GetWebsiteNameFromRegistry:  No website specified, using the defaults

2019-07-10 03:27:04, Info                  CSI    0000003a _(2756):Using WebSiteId : 1 and WebSiteName : Default Web Site.

2019-07-10 03:27:04, Info                  CSI    0000003b _(1658):AddElement failed : Error Code : 0x800700B7.

2019-07-10 03:27:04, Info                  CSI    0000003c _(2387):AppPool Name : RDWebAccess

2019-07-10 03:27:04, Info                  CSI    0000003d _(1898):WebSite Name 'Default Web Site' : Virtual Dir 'RDWeb/Pages'

2019-07-10 03:27:04, Info                  CSI    0000003e _(1898):WebSite Name 'Default Web Site' : Virtual Dir 'RDWeb/Feed'

2019-07-10 03:27:04, Info                  CSI    0000003f _(1898):WebSite Name 'Default Web Site' : Virtual Dir 'RDWeb/FeedLogin'

2019-07-10 03:27:04, Info                  CSI    00000040 _(1083):UnlockAuthenticationSections: Unlocking Anonymous and Windows Authentication sections for VDIR : RDWeb/Pages

2019-07-10 03:27:04, Info                  CSI    00000041 _(1276):CheckSSLBinding: HttpQueryServiceConfiguration failed with error code 0x2

2019-07-10 03:27:04, Info                  CSI    00000042 _(2581):Warning: CryptAcquireContext failed to delete key container with error code 0x80090016

2019-07-10 03:27:04, Info                  CSI    00000043 _(1005):AddHttpsBinding: WebSite Id : 1

2019-07-10 03:27:04, Info                  CSI    00000044 _(2078):WebSite Name 'Default Web Site' : Virtual Dir 'RDWeb'

2019-07-10 03:27:04, Info                  CSI    00000045 _(2078):WebSite Name 'Default Web Site' : Virtual Dir 'RDWeb/Pages'

2019-07-10 03:27:04, Info                  CSI    00000046 _(2078):WebSite Name 'Default Web Site' : Virtual Dir 'RDWeb/Feed'

2019-07-10 03:27:04, Info                  CSI    00000047 _(2078):WebSite Name 'Default Web Site' : Virtual Dir 'RDWeb/FeedLogin'

2019-07-10 03:27:04, Info                  CSI    00000048 _(1365):AddSSLRedirector: Add SSL Redirector for VDIR : RDWeb

2019-07-10 03:27:04, Info                  CSI    00000049 _(3059):Exiting RDWebAIRun with Exit Code : 0x0.

2019-07-10 03:27:04, Info                  CSI    0000004a@2019/7/10:07:27:04.160 CSI Advanced installer perf trace:

CSIPERF:AIDONE;{c607008b-4014-4239-8e0c-40eb4f7119f4};TSPortalWebPart, version 10.0.14393.0, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35};157191us

2019-07-10 03:27:04, Info                  CSI    0000004b End executing advanced installer (sequence 43)

    Completion status: S_OK

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.