How to solve "There was an error during the IIS configuration process. Your original IIS configuration will be restored" error?

How to solve "There was an error during the IIS configuration process. Your original IIS configuration will be restored" error?

book

Article ID: KB0071466

calendar_today

Updated On:

Products Versions
Spotfire Statistica 14.0.1

Description

While running Installer Statist.exe, you receive an error message saying, 'There was an error during the IIS configuration process. Your original IIS configuration will be restored
User-added image

Causes:
1. There might be an error in the configuration of the .NET framework of your IIS server.
2. There is something wrong with IIS, doesn't show up the `Default Web Site`

Issue/Introduction

This article shows how to solve this error: There was an error during the IIS configuration process while trying to install Virtual directory Default Web Site//WebStatistica/ Your original IIS configuration will be restored

Environment

Windows

Resolution

Resolution 1:

1. Open a command prompt and navigate to the folder of said .NET configuration (e.g.:
C:\Windows\Microsoft.NET\Framework\v2.0.50727)
In the command prompt type: cd C:\Windows\Microsoft.NET\Framework\v2.0.50727

2. Run 'aspnet_regiis.exe -i'
User-added image
3. Close the command prompt upon completion.

4. Rerun the Installer Statist.exe again.

Resolution 2:

Reinstall both IIS and WAS.

In details -

Uninstall IIS and WAS

  1. Go to "Add remove programs"
  2. "Turn windows features on or off"
  3. Remove both IIS and WAS (Windows Process Activation Service)
  4. Restart the PC

Install IIS and WAS

  1. Go to "Add remove programs"
  2. "Turn windows features on or off"
  3. Turn on both IIS and WAS (Windows Process Activation Service)

Note: Reinstalling IIS alone won't help. You have to reinstall both IIS and WAS


 

Additional Information

https://superuser.com/questions/704850/how-to-restore-iis-settings-and-default-web-site/705425#705425
https://support.cicerosoftware.com/nl/docs/WebApps%20Troubleshooting.pdf