I copied a webform solution from a virtual machine hosted on one computer, to a copy of this very virtual machine hosted on a second computer. There is no problem building the solution on the new host. Nevertheless, when I launch it, I get the following error:

Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The file or directory is corrupted and unreadable.

Source Error:

Line 1: Line 2: Line 3:

Source File: /App_GlobalResources/UIWebPersonnel.en-US.resx Line: 1

I found two solutions that woked for others but didn't fix my problem:

  • For the incriminated resource files, modifying the "Build action" and "Copy to Output Directory" repectively to "Content" and "Copy always".
  • Unchecking "Read only" on the solution's folders.

None of this worked. I don't actually see why these properties would need to be changed, since they caused no problem as they are on the first host.

Related posts

Recent Viewed