I'm experiencing a strange failure when trying to view my website under IIS. If I create a new ASP.Net web site application, don't modify it at all and run it (F5) the web page shows up with the error:
Compilation Error
Description: An error occurred during the compilation of a resource required to
service this request. Please review the following specific error details and modify
your source code appropriately.
Compiler Error Message: CE29: (CE29) Unable to load assembly C:\Windows\assembly\GAC_64
\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll Not
a valid .NET executable (Offset and length were out of bounds for the array or count
is greater than the number of elements from index to the end of the source collection.)
It looks like a .Net configuration problem but I don't know how to fix it. I've got .Net 3.5 SP1 installed and IIS 7.0, running on Vista Home Premium 64-bit. The website is created using Delphi Prism, which runs in the 2008 Visual Studio Shell. I've googled and googled and googled but nothing. Any help greatly appreciated!