Solved

VB.net Configuration System Failed to Initialize

Posted on 2014-09-16
4
604 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

773 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