尝试在 IIS 下查看我的网站时遇到奇怪的失败。如果我创建一个新的 ASP.Net 网站应用程序,根本不要修改它并运行它 (F5) 网页显示错误:
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.)
它看起来像一个 .Net 配置问题,但我不知道如何解决它。我已经安装了 .Net 3.5 SP1 和 IIS 7.0,在 Vista Home Premium 64 位上运行。该网站是使用在 2008 Visual Studio Shell 中运行的 Delphi Prism 创建的。我用谷歌搜索和谷歌搜索,但什么也没有。非常感谢任何帮助!