I am truly confused. Everytime I try to install my windows service, using InstallUtil.exe, I get the error below:
Exception occurred while initializing the installation: System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize.
The general advice is:
"inside the "configuration" element, the first child must be the "configSections"
In order to just try to get past the error message, I completely stripped my App.config down to:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
</configuration>
But the same error persists. It's like the installer is completely ignoring the newly empty App.config file, and I am thoroughly confused as to how to overcome this.
This is attempted to be installed on a Windows Server 2008 R2 - code written in C# 4.0. Can anyone recommend a direction to look? TIA