私は完全な損失にあります - 私はまだ本当に理解していないものと面白い問題を抱えています...私はエンティティフレームワーク4.1は、MySQL 5.XXとわたしのMySQLコネクタはV 6.4.4です - 私は私が受け取るサーバーにアップロードするたびにすべてのものは、しかし、ローカルbeatifully作品:ファイルまたはアセンブリをロードできませんでした 'MySql.Data、Version = 6.3.6.0
Could not load file or assembly 'MySql.Data, Version=6.3.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
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.FileLoadException: Could not load file or assembly 'MySql.Data, Version=6.3.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
Line 48: /// Initializes a new proventradesEntities object using the connection string found in the 'proventradesEntities' section of the application configuration file.
Line 49: /// </summary>
Line 50: public proventradesEntities() : base("name=proventradesEntities", "proventradesEntities")
Line 51: {
Line 52: this.ContextOptions.LazyLoadingEnabled = false;
Source File: e:\web\proventrade\htdocs\App_Code\ProvenTrades.Designer.cs Line: 50
Assembly Load Trace: The following information can be helpful to determine why the assembly 'MySql.Data, Version=6.3.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' 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].
私はSO混乱しています、私はMySQLを持っていることを肯定しています6.4.4 dllは私のBinディレクトリにあり、Web.configはバージョン6.3.6へのZERO参照を作成する - 私は私のプロジェクト全体を(グローバル検索を使って)6.3.6で検索し、MySqlだけでも検索できるかどうかを調べたこの不正な6.3.6バージョンへの任意のランダムな参照ですが、私は何も見つかりません!
私はとても迷っていて、どこにいなくなっています。私はこのことについての指導を大変感謝します。
アセンブリバージョンのリダイレクトを試みることができます。 http://msdn.microsoft.com/en-us/library/7wd6ex19(v=vs.71).aspx –
私は上記のことを忘れてしまいました。私は成功しなかった - それほど凶悪で、運転している私のナット – 99823