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