1

IISを自分のサーバー(Windowsサーバー2008 R2)に展開しようとしています。このエラーを解決する方法 "ファイルまたはアセンブリ 'DevExpress.Web.ASPxPivotGrid.v15.2"を読み込めませんでしたか?

まず、ターゲットフレームワークの設定エラーがスローされます。その後、私は.NET Frameworkの4.5をインストールした後、私はそれをグーグルした後、それは次のようなエラー

Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'DevExpress.Web.ASPxPivotGrid.v15.2, Version=15.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 35: Line 36: Line 37: Line 38: Line 39:

Source File: C:\inetpub\wwwReport\web.config Line: 37

Assembly Load Trace: The following information can be helpful to determine why the assembly 'DevExpress.Web.ASPxPivotGrid.v15.2, Version=15.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' could not be loaded.

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

をスローしないの.NET Framework 4.5をインストールし、私はこのようにあまりにも融合ログオン1を有効に作成しました。管理者

    1. オープンcmdがcmdを実行"REGます。HKLM \ Software \ Microsoft \ Fusionの/ Vを追加EnableLog /トンREG_DWORD/dの1"

    3. 「操作は正常に完了しました」

  • +0

    あなたのプロジェクトに 'DevExpress.Web.ASPxPivotGrid.v15.2.dll'への参照を追加し、再度ビルドして再デプロイする必要があります。 – andrews

    +0

    @andrews私はローカルマシンで同じファイルを試しました。それは正常に働いた。しかし、なぜ私のサーバーにいないのですか? –

    +0

    。サーバ上では、あなたのアプリのbinフォルダに.dllという言葉が足りないためです。サーバの 'bin /'フォルダに 'DevExpress.Web.ASPxPivotGrid.v15.2.dll'ファイルが存在するかどうか確認してください。 – andrews

    答えて

    0

    この問題を実際に解決するには、Copy to Local = true、 のプロパティを有効にしてプロジェクトをビルドしてください。そのアセンブリを取得し、DevExpress.Web.ASPxPivotGrid.v15.2をその特定のプロジェクトを展開したbinフォルダに配置する必要があります。つまり、(Windows server 2008 R2)

    +0

    プロパティコピーをLocal = trueにする方法を教えてもらえますか? –

    関連する問題