IIS で Web サイトを表示しようとすると、奇妙なエラーが発生します。新しい ASP.Net Web サイト アプリケーションを作成した場合、まったく変更せずに実行 (F5) すると、Web ページに次のエラーが表示されます。
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 ビットで実行しています。この Web サイトは、2008 Visual Studio Shell で実行される Delphi Prism を使用して作成されています。私はグーグルでグーグルでグーグルで検索しましたが、何もしませんでした。どんな助けでも大歓迎です!