Submit a ticketCall us
Home > Success Center > Enterprise Operations Console (EOC) > EOC Configuration Wizard crashes with a web.config error

EOC Configuration Wizard crashes with a web.config error

Created by Malik Haider, last modified by Laura C on Nov 16, 2017

Views: 241 Votes: 0 Revisions: 7

Overview

While installing EOC on your server, the Configuration Wizard crashes and you receive the following error:

Unhanded exception has occurred in a component in  your application . 

EOC\Website\Web.config Error: Cannot read configuration file 

 

Additionally, when attempting to create a new website, the following error is received:

Exception occurred when validating of settings. Please see the log file for more details. 

 

 

Environment

All EOC versions 

Cause 

During installation, the Configuration Wizard is showing the following error:
2014-07-10 10:44:54,635 [1] ERROR WebsiteScene - Exception occurred when validating WebsiteScene config
System.IO.DirectoryNotFoundException: Filename: \\?\D:\Program Files (x86)\SolarWinds\EOC\Website\web.config
Error: Cannot read configuration file

2014-07-10 10:44:54,635 [1] ERROR WebsiteScene - Exception occurred when validating WebsiteScene config
System.IO.DirectoryNotFoundException: Filename: \\?\D:\Program Files (x86)\SolarWinds\EOC\Website\web.config
Error: Cannot read configuration file
at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.GetAdminSection(String bstrSectionName, String bstrSectionPath)
at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
at Microsoft.Web.Administration.Configuration.GetSection(String sectionPath)
at SolarWinds.ConfigurationWizard.IIS7.IIS7Configurator.GetValue[T](Configuration webConfig, String path, String property)
at SolarWinds.ConfigurationWizard.IIS7.IIS7Configurator.GetWebsiteInfo(Site site)
at SolarWinds.ConfigurationWizard.IIS7.IIS7Configurator.GetWebsiteInfo(String siteIDStr)
at SolarWinds.ConfigurationWizard.Common.IISHelper.GetWebsiteInfo(String siteID)
at SolarWinds.ConfigurationWizard.Common.Scenes.WebsiteScene.SiteExists(IWebsiteInfo website, String& message)
at SolarWinds.ConfigurationWizard.Common.Scenes.WebsiteScene.ValidateNewWebsiteInfo(Boolean silentMode)
at SolarWinds.ConfigurationWizard.Common.Scenes.WebsiteScene.DoValidateConfig(Boolean silentMode

 

This error is received due to a previously installed EOC website still pointing to the incorrect directory . 

Resolution

  1. Open the IIS. 
  2. Delete the old EOC website.
  3. Re-run the Configuration Wizard. 

 

Last modified

Tags

Classifications

Public