How to resolve HTTP Error 500.30 - Corrupted Microsoft .NET Core installation or a corrupted Configuration Files in Bold BI
Issue
When running the Bold BI application in a Windows environment, an HTTP Error 500.30 – ASP.NET core app failed to start may occur.
Reason
This error can be caused by a corrupted Microsoft .NET Core installation or a corrupted config.xml
file of the Bold BI application.
Solution
Resolving Corrupted .NET Core Installation
If the Microsoft .NET Core installation is corrupted, follow these steps:
-
Verify .NET Core Installation:
- Open a command prompt and run the command:
dotnet --version
- This command should display the version of the .NET Core Runtime currently installed on your machine.
- Open a command prompt and run the command:
-
Install .NET Core Runtime:
-
If the packages are not installed, download and install them:
Bold BI Version .NET Download Link For Bold BI v11.1.5 or newer versions Download .NET 8.0 For Bold BI v6.1.8 to v10.1.x Download .NET 6.0 For Bold BI v5.3.x or earlier versions Download .NET 3.1 -
Under the ASP.NET Core Runtime section, click the Hosting Bundle option for Windows OS. The installer will start downloading automatically.
-
Once the download is complete, run the installer to install the .NET 6 Hosting Bundle (or .NET Core 3.1 Hosting Bundle for earlier versions).
-
After installation, restart your computer to ensure the changes take effect.
-
Resolving Corrupted config.xml File
If the .NET Core packages are installed properly, the error may be due to a corrupted config.xml
file. You can find config.xml file from the following location.
Follow these steps to restore the file:
- Navigate to the
C:\ProgramData\boldbi
location. - Check for the previous version of the Bold BI configuration backup file that you used before the current version.
- Copy the backup file and paste it into another location for safekeeping.
- Locate all configuration files in the backup.
- Copy the
config.xml
andprivatekeys.dat
files and replace them in your current Bold BI deployed location at{boldbi_deployed_location}/app_data/configuration
. - Restart the site in IIS and check the site functionality.
Preventing Future Issues
To avoid encountering this issue in the future, consider the following recommendations:
-
Regular Backups:
- Periodically back up the application configuration files from the following folder:
{boldbi_deployed_location}\BoldServices\app_data\configuration
. This allows for easy restoration in case of issues.
- Periodically back up the application configuration files from the following folder:
-
Stop IIS Before Restarting:
- Always stop the site or IIS before restarting the machine. This helps prevent corruption of configuration files during unexpected power loss or server restarts.