• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 924
  • Last Modified:

VB.net Configuration System Failed to Initialize

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
Murray Brown
Asked:
Murray Brown
  • 2
2 Solutions
 
käµfm³d 👽Commented:
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
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
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
 
CodeCruiserCommented:
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
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now