Error when Installing Survey Solutions

Good day,

I have a problem installing Survey Solutions, similar to this. I have PostgreSQL installed, Windows Server 2016 Standard, the runtime ASP.NET Core Runtime 5. PostgreSQL automatically install Visual C++ redistributable (64 and x86). But when I try to install Survey solutions, I have the error logged as below:

[16B8:16B4][2021-05-26T10:11:23]i319: Applied execute package: IIS_Manage, result: 0x0, restart: None
[126C:17AC][2021-05-26T10:11:23]i301: Applying execute package: dotnet_hosting_5.0.2_win.exe, action: Install, path: C:\ProgramData\Package Cache\45F08415DC91EF20080DE770193218FECD5BC27A\dotnet-hosting-5.0.2-win.exe, arguments: ‘“C:\ProgramData\Package Cache\45F08415DC91EF20080DE770193218FECD5BC27A\dotnet-hosting-5.0.2-win.exe” /install /quiet /norestart /log “C:\Users\Survey\AppData\Local\Temp\SurveySolutions_20210526101102_001_dotnet_hosting_5.0.2_win.exe.log” -burn.filehandle.self=1316’
[126C:17AC][2021-05-26T10:11:24]e000: Error 0x80070666: Process returned error: 0x666
[126C:17AC][2021-05-26T10:11:24]e000: Error 0x80070666: Failed to execute EXE package.
[16B8:16B4][2021-05-26T10:11:24]e000: Error 0x80070666: Failed to configure per-machine EXE package.
[16B8:16B4][2021-05-26T10:11:24]i319: Applied execute package: dotnet_hosting_5.0.2_win.exe, result: 0x80070666, restart: None
[16B8:16B4][2021-05-26T10:11:24]e000: Error 0x80070666: Failed to execute EXE package.
[126C:17AC][2021-05-26T10:11:24]i301: Applying rollback package: IIS_Manage, action: Uninstall, path: C:\ProgramData\Package Cache\774F340B85465B4B476ABC35B50F8FDCC975C541\prepare.iis.bat, arguments: ‘“C:\ProgramData\Package Cache\774F340B85465B4B476ABC35B50F8FDCC975C541\prepare.iis.bat”’

I do not have visual c++ 2017 redistributable, or any other, apart from the ones installed by PostgreSql.

Please help. Thank you

P.S: The error pops up when the installation process gets to “Installing IIS”, and I am installing the latest version of Survey Solutions, 21.5.2.31189. By the way, the server already has IIS 10 Installed.

Try to install the .Net core manually before installing Survey Solutions and see whether it gives you any explanatory message when installed directly. Inspect its own installation log if it doesn’t .

Hi Sergiy. This is actually what I was doing, and now that you mentioned, I realised that the SS executable comes with the .net runtime and .net core! So what I did was, I uninstalled everything I had installed manually, and just installed survey solutions, which was a success.

Thanks a lot, I really struggled on this.

We had a similar problem when we tried to upgrade our local Survey Solutions server (V21.01) to V21.05. We received the following error, “0x80070666 - Another version of this product is already installed…” and the upgrade will end without completing the upgrade. We found that our local server was on dot net version 5.0.5 whereas the Survey Solutions installer was trying to install dot net version 5.0.2 and this was causing the error.

We resolved this by uninstalling our dot net on our local server and then upgrade our Survey Solutions to the latest version. After the Survey Solutions upgrade completed we then updated our dot net back to version 5.0.5

Kind regards
Eugene Ehlers

1 Like

Dear @eehlers thank you very much for the detailed description and helpful advice!

1 Like

Hello,

The same issue is still relevant for me. I get an 0x80070642 error as the setup stuck on ‘installing IIS’.
I tried to install the .Net manually as suggested but no help there. Could you think of any other solutions?

Just in case, here is my error note (starts in first error point):
[1D88:3E1C][2023-07-18T23:55:35]w363: Could not create system restore point, error: 0x80070422. Continuing…
[1D88:3E1C][2023-07-18T23:55:35]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5b022893-6a5c-4fc5-ad3d-17baeb223312}, options: 0x7, disable resume: No
[1D88:3E1C][2023-07-18T23:55:35]i000: Caching bundle from: ‘C:\Users\HSWT33~1\AppData\Local\Temp{6AC21B74-F0D9-4F95-9C7D-75D39DB8E6F9}.be\SurveySolutions.23.6.2.34597.exe’ to: ‘C:\ProgramData\Package Cache{5b022893-6a5c-4fc5-ad3d-17baeb223312}\SurveySolutions.23.6.2.34597.exe’
[1D88:3E1C][2023-07-18T23:55:35]i320: Registering bundle dependency provider: {5b022893-6a5c-4fc5-ad3d-17baeb223312}, version: 23.6.2.34597
[1D88:3E1C][2023-07-18T23:55:35]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5b022893-6a5c-4fc5-ad3d-17baeb223312}, resume: Active, restart initiated: No, disable resume: No
[1D88:3EF8][2023-07-18T23:55:35]i305: Verified acquired payload: IIS_Manage at path: C:\ProgramData\Package Cache.unverified\IIS_Manage, moving to: C:\ProgramData\Package Cache\774F340B85465B4B476ABC35B50F8FDCC975C541\prepare.iis.bat.
[1D88:3EF8][2023-07-18T23:55:36]i304: Verified existing payload: SurveySolutionsPackage at path: C:\ProgramData\Package Cache{80AEDD95-726D-4C18-94C5-2086ABAE035E}v23.6.2.34597\SurveySolutions.msi.
[1D88:3E1C][2023-07-18T23:55:36]i301: Applying execute package: IIS_Manage, action: Install, path: C:\ProgramData\Package Cache\774F340B85465B4B476ABC35B50F8FDCC975C541\prepare.iis.bat, arguments: ‘“C:\ProgramData\Package Cache\774F340B85465B4B476ABC35B50F8FDCC975C541\prepare.iis.bat”’
[1D88:3E1C][2023-07-18T23:55:39]e000: Error 0x80070642: Bootstrapper application aborted during EXE progress.
[1D88:3E1C][2023-07-18T23:55:39]e000: Error 0x80070642: Failed to execute EXE package.
[4148:12A0][2023-07-18T23:55:39]e000: Error 0x80070642: Failed to configure per-machine EXE package.
[4148:12A0][2023-07-18T23:55:39]i319: Applied execute package: IIS_Manage, result: 0x80070642, restart: None
[4148:12A0][2023-07-18T23:55:39]e000: Error 0x80070642: Failed to execute EXE package.
[1D88:3E1C][2023-07-18T23:55:39]i351: Removing cached package: IIS_Manage, from path: C:\ProgramData\Package Cache\774F340B85465B4B476ABC35B50F8FDCC975C541
[1D88:3E1C][2023-07-18T23:55:39]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5b022893-6a5c-4fc5-ad3d-17baeb223312}, resume: None, restart: None, disable resume: No
[1D88:3E1C][2023-07-18T23:55:39]i330: Removed bundle dependency provider: {5b022893-6a5c-4fc5-ad3d-17baeb223312}
[1D88:3E1C][2023-07-18T23:55:39]i352: Removing cached bundle: {5b022893-6a5c-4fc5-ad3d-17baeb223312}, from path: C:\ProgramData\Package Cache{5b022893-6a5c-4fc5-ad3d-17baeb223312}
[1D88:3E1C][2023-07-18T23:55:39]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5b022893-6a5c-4fc5-ad3d-17baeb223312}, resume: None, restart initiated: No, disable resume: No
[4148:12A0][2023-07-18T23:55:40]i399: Apply complete, result: 0x80070642, restart: None, ba requested restart: No

I hope I got the situation understood. Any help appriciated…
Thank you

It looks like it’s a generic error code.

Could you try to reboot server and\or disable antivirus during installation is you have any and try again?

Hey, thanks for the reply.

It didn’t help to disable anti virus. For rebooting the server I just tried to restart windows, which didn’t help.

I tried to locate the Survey Solution file, because the installation always starts from the ‘installing IIS’ stage, but no documents were found.

Any other suggestions?

Best regards,

Try to install IIS manually. If IIS is already installed Survey Solutions installer should skip this step. Make sure you see the IIS welcome page when you access it in browser.

As you are installing it manually you will get a more informative indication of what is going on. Correspondingly you can follow up with the IIS support team on that.