Solved

VB.net Configuration System Failed to Initialize

Posted on 2014-09-16
4
671 Views
Last Modified: 2014-10-10
Hi

I am getting the error
Configuration System Failed to Initialize

when my VB.net Excel Add-in loads
The error occurs on the line
    My.Settings.DBType = Form_Settings.cmbPrimaryDatabase.Text

This is very strange as this code has not changed for a year and the error suddenly has happened

I clicked the Synchronize button in settings and got the message below
Image1.jpg
0
Comment
Question by:murbro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 250 total points
ID: 40327254
This error means there is something wrong with your configuration file. You'll have to dig around as to why. There may be a clue inside of the InnerException property.
0
 

Author Comment

by:murbro
ID: 40327305
Hi
I have no idea how to do that. Please could you advise further. I read a few articles on the net that said that I should delete the user.config file but this is very hard to find
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 250 total points
ID: 40338745
User.config file is deep somewhere in appdata folder. This error is related to the config file and usually happens if you change things like namespace, projectname etc.
0
 

Author Closing Comment

by:murbro
ID: 40372380
thanks
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question