Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 994771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:37:19+00:00 2026-05-16T06:37:19+00:00

I just grappled with an annoying, extremely persistent bug that had me scratching my

  • 0

I just grappled with an annoying, extremely persistent bug that had me scratching my head for several hours. I’m using C# (.Net Framework 2.0) in conjunction with the built in Settings, which generates an XML file. The settings worked wonderfully… until today.
Today, whenever I ran the program from the IDE, it gave me this error:

Configuration system failed to initialize.

Root element missing at (C:\Documents and Settings\... several directories in ... \ user.config)

I checked the folder it referenced, which included a long string of seemingly random characters and didn’t exist. I even went so far as to create it and populate it with the necessary user.config file, to no avail.

Eventually, I changed the folder name. I’d just renamed that folder from "NanoMETER#" to "NanoMETE#" temporarily. It worked.

So I got rid of the revision, and added the R back onto the end of "NanoMETE". It errored. Removed the R, it worked. Any folder named "NanoMETER#", exactly as such, crashes when it tries to load the application configuration settings. If I name the folder to anything else, it works beautifully.

I … I just don’t get it. Nowhere in the entire project is the name of the folder referenced, nor is "NanoMETER#" used as a variable anywhere. Does anyone have any idea what could have caused this? I’m just completely stumped. It’s probably been one of the most WTF bugs I’ve had on the project…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T06:37:20+00:00Added an answer on May 16, 2026 at 6:37 am

    The error message indicates that it can actually open the file, but then finds the file empty or corrupted. Renaming the folder ensures that the user.config file gets recreated, that will indeed solve the problem. If you can’t find it back then there’s something pretty icky going on with your file system. High time to run a thorough disk scan. Don’t quite remember how for XP, chkdsk.exe or scandisk.exe, something like that. Ask at superuser.com

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just had a question regarding the UILabel class. I know that the UITextField control
Just to make sure I'm understanding shallow copies of reference types correctly and that
Just a thing that annoys me. When I right click on a method name
Just wanted to know if anyone is really using Objects and Collections in Oracle
Just a simple question: if I had a simple vector class: class Vector {
Just look at my code http://jsfiddle.net/rkumarnirmal/GXAYa/6/ #box_bg is the outer gray box and #box
Just wondering if there's any benefit to using the style: (function() { <code> })();
Just check with you folks to see if there is any library or framework
Just having a conversation with someone in the office about using a business logic
Just a quick question. I have an NSArray that is generated in my applicationDidFinishLaunching

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.