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 6133189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:11:47+00:00 2026-05-23T17:11:47+00:00

The volume for a file has been externally altered so that the opened file

  • 0

Error

The volume for a file has been externally altered so that the opened file is no longer valid.

This is caused when you have an app.config which is zero bytes. The error appears to come from Windows – even WinDBG won’t launch it.

I know it’s completely invalid to have a zero byte app.config, but what causes this error, where does it come from and why does it happen?

  • 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-23T17:11:47+00:00Added an answer on May 23, 2026 at 5:11 pm
    //
    // MessageId: ERROR_FILE_INVALID
    //
    // MessageText:
    //
    // The volume for a file has been externally altered so that the opened file is no longer valid.
    //
    #define ERROR_FILE_INVALID               1006L
    

    Copied from the WinError.h Windows SDK header file. The symbolic error code here is obviously much more pertinent than the boilerplate error message text. This is not quite unusual. I can see it being used inside the SSCLI20 source code (the open source version of the CLR) in code that checks if the executable has the proper PE32 file header and the .NET header present in a managed assembly. Clearly that doesn’t apply here.

    Nevertheless, the CLR is interested in the app.exe.config file at a very early moment in the bootstrapping stage. Elements like <supportedRuntime> must be parsed before the CLR can get started. Clearly this code is not happy with an empty .config file. The CLR code is awesome like that, it never does the ‘let’s stumble on anyway’ cop-out.

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

Sidebar

Related Questions

Consider this scenario. We have an internal Rails 2 app that connects to a
I have recently been doing some work that has been quite in depth, i
Our company has been for a while looking at a file format to hold
I realize this type of question has been asked earlier, however I looked everywhere
I'm working on an app that needs to transfer files to an AFP volume
We have a ColdFusion 9 script that runs regularly reading a CSV file and
In my app I want to have an alarm/notification on Ringer & Alert Volume
I have an MP3 file that I can play outside of Android and stored
We're trying to get SMB volume listings in our OS X application, and have
How can I change the master volume level? Using this code [DllImport (winmm.dll)] public

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.