2016-06-21 5 views
0

私はMVC 4でWebアプリケーションを作成し、ローカルIISでホストしています。サードパーティ製のサーバー、つまりGlob-hostでホストすると、エラーが発生し、アプリケーションが実行されていません。私のアプリケーションで何が間違っているのか、誰にでも教えてください。あなたはすべてのDLLを参照することを確認する必要があります→解決方法 "ファイルまたはアセンブリ 'System.Web.Http、Version = 4.0.0.0をロードできませんでした。

は、プロジェクトおよびサーバー上の再アップロードを再構築: エラーが

Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

答えて

0

ほとんどの共通点は考慮すること...です。

→プロダクションサーバーでサイトで使用されているアプリケーションプールに対して32ビットアプリケーションのサポートが有効になっていることを確認してください。 (DLLに32ビットのサポートが必要な場合、有効にしていないと、そのような問題に直面します)

関連する問題