Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

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 Rodim Suarez on Mar 02, 2017

Views: 32 Votes: 0 Revisions: 6

Overview

Installing EOC on the server and getting the following error when the Configuration Wizard crashes:

Unhanded exception has occurred in a component in  your application . 

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

 

When trying to create a new website, the following error appears:

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

 

 

Environment

All EOC versions 

Cause 

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

 

There was a previously installed EOC website still pointing into the incorrect directory . 

Resolution

 

  1. Open the IIS . 
  2. Delete the old EOC website.
  3. Rerun the Configuration Wizard. 

 

Last modified
22:25, 1 Mar 2017

Tags

Classifications

Public