nahmed
Posts: 4
Joined: Tue Feb 15, 2022 12:41 pm

AI_IIsConfig: Advanced Installer is unable to access IIS during installation on Windows 2019.

Hi Team,

I am getting the below error whenever I try to install the msi on Windows 2019 server.

Code: Select all

AI_IIsConfig: Installing "XXXXXXX"
[OPERATION]Application pool 'XXXXXXX'
[INFO] Installing Application pool...
[INFO] Trying to retrieve 'XXXXXXX' Application Pool...
 COM Error [0x8007000d]: (The data is invalid.)[ERR] Could not get Admin Section 'system.applicationHost/applicationPools', with entry path 'MACHINE/WEBROOT/APPHOST'.
[ERR] [ERR] Could not get admin section.
[INFO] Trying to create AppPool..
[INFO] Changing commit path to 'MACHINE/WEBROOT/APPHOST'
[INFO] Committing changes to path 'MACHINE/WEBROOT/APPHOST'...
[OK] Commit done.
[OK] Commit path changed.
 COM Error [0x8007000d]: (The data is invalid.)[ERR] Could not get Admin Section 'system.applicationHost/applicationPools', with entry path 'MACHINE/WEBROOT/APPHOST'.
[ERR] [ERR] Could not get admin section.
 COM Error [0xffffffff]: (Unknown error 0xFFFFFFFF)[ERR] Could not create Application Pool.

Error 4034. There was an error during the IIS configuration process while trying to install Application pool 'XXXXXXX'.

Your original IIS configuration will be restored.
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: AI_IIsConfig: Advanced Installer is unable to access IIS during installation on Windows 2019.

Hello,

Please note I have answered your other thread here:

Error from AI_IIsConfig after upgrading to Advanced Installer 19

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nahmed
Posts: 4
Joined: Tue Feb 15, 2022 12:41 pm

Re: AI_IIsConfig: Advanced Installer is unable to access IIS during installation on Windows 2019.

Hi Catalin,

I have reviewed the post mentioned by you, initially I thought that the problem is same but if you look on both logs there is a slight difference in both issues.

In AndyL reported issue the installer is able to access the IIS.

Code: Select all

[INFO] Installing Application pool...
[INFO] Trying to retrieve 'ProductX App Pool' Application Pool...
[OK] Found AppPool.
[INFO] ApplicationPool 'ProductX App Pool' already exists !
[WARN] Skipping Application Pool Install...

But in mine case, installer is unable to access the IIS:

Code: Select all

[INFO] Installing Application pool...
[INFO] Trying to retrieve 'xxxxxxxxx' Application Pool...
 COM Error [0x8007000d]: (The data is invalid.)[ERR] Could not get Admin Section 'system.applicationHost/applicationPools', with entry path 'MACHINE/WEBROOT/APPHOST'.
[ERR] [ERR] Could not get admin section.

Request you to please look into both issues separately and if possible then please create another ticket for this issue.

Thanks.
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: AI_IIsConfig: Advanced Installer is unable to access IIS during installation on Windows 2019.

Hello,

If possible, could you please give me some more details about this issue?

For instance, are you able to reproduce it only on a Win Server 2019 machine? Are you perhaps able to reproduce it on other machines as well (e.g. Win 10)?

If so, could you please create a sample project that reproduces the issue and forward it to me by email at support at advancedinstaller dot com so I can further investigate this scenario?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nahmed
Posts: 4
Joined: Tue Feb 15, 2022 12:41 pm

Re: AI_IIsConfig: Advanced Installer is unable to access IIS during installation on Windows 2019.

Hi Catalin,

I have sent you sample project, aip and msi via email mentioned by you.

FYI, I have tried on windows 10 and its installed successfully but still giving error on windows 2019.

Regards,
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: AI_IIsConfig: Advanced Installer is unable to access IIS during installation on Windows 2019.

Hello Kashif,

Thank you very much for the provided project.

I have tested this on my WinServer 2019 machine and everything worked as expected.
Sites.png
Sites.png (96.19 KiB) Viewed 3375 times
AppPool.png
AppPool.png (149.5 KiB) Viewed 3375 times

Most likely, I would say that this issue is related to your Windows Server machine. Unfortunately, I am not an IIS expert myself, so I can not really say why this is happening, especially without being able to reproduce the issue.

I would advise getting the error from the log and trying to do some further research, perhaps you may find a solution.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”