Solved

VB.net Configuration System Failed to Initialize

Posted on 2014-09-16
4
546 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 74

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now