.netwindowsexeexecutable

Error while opening .net based exe : The volume for a file has been externally altered so that the opened file is no longer valid


When i try to open a exe, it shows the following error The volume for a file has been externally altered so that the opened file is no longer valid

able to open other EXEs in that folder and checked for any permission issues. No events are been recorded in event viewer also


Solution

  • I was able to identify and resolve the issue. The problem was caused by the configuration file (the config file will be like exename.exe.config) associated with the executable. It had been inadvertently modified and was found to be empty. After replacing it with a correct and intact version of the configuration file, the executable launched without any errors. Thank you.