dcsimg
Results 1 to 5 of 5

Thread: configuration system failed to initialize

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2017
    Location
    Ohio
    Posts
    47

    configuration system failed to initialize

    I get this error "configuration system failed to initialize". it happened after my computer locked up and
    it only does it in the program I had loaded and I tried using a backup of the code but it doesn't help.

    any ideas?

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    100,383

    Re: configuration system failed to initialize

    The most likely explanation seems to be that the application config file has become corrupted.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2017
    Location
    Ohio
    Posts
    47

    Re: configuration system failed to initialize

    Quote Originally Posted by jmcilhinney View Post
    The most likely explanation seems to be that the application config file has become corrupted.
    Ok, how do find the file so it can be deleted?

  4. #4
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    100,383

    Re: configuration system failed to initialize

    You may well not be able to delete it, if it's being used, which it almost certainly is if it exists. Given that the Solution Explorer is where the items in your project are usually displayed and accessed, have you looked there? Exactly how the config file is named depends on the type of project but the file extension of ".config" is usually a giveaway. Exactly what it should contain will depend on the type of project and what you have done in that project that may require the config file.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Member
    Join Date
    Jun 2017
    Location
    Ohio
    Posts
    47

    Re: configuration system failed to initialize

    Quote Originally Posted by jmcilhinney View Post
    You may well not be able to delete it, if it's being used, which it almost certainly is if it exists. Given that the Solution Explorer is where the items in your project are usually displayed and accessed, have you looked there? Exactly how the config file is named depends on the type of project but the file extension of ".config" is usually a giveaway. Exactly what it should contain will depend on the type of project and what you have done in that project that may require the config file.
    Ok. I copied all the project files into another folder and it works fine. deleting the folder and making another one with the same name does not help so it seems that the file follows the folder name. I guess I will just have to use a new folder.

    thanks. I just wanted to make sure I couldn't fix it before I moved on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width