mysql - Error: Cannot load file or assembly '...' However, assembly NOT referenced anywhere in ASP.NET solution -


i'm going through bit of rough time migrating asp.net 2.0 website windows xp (32-bit) machine windows 7 (64-bit) one. there lot going on i'll concentrate on problem @ hand.

the problem: i'm getting error says "could not load file or assemply 'mysql.data, version 5.2.3.0, culture...' or 1 of dependencies."

the thing is: i'm not referencing mysql.data version 5.2.3.0 anywhere in solution (or @ least not find). have mysql 6.6 installed on computer , i'm referencing in web.config file. life of me can't find file that's making reference 5.2.3. i've searched entire solution "5.2.3" , it's found. i've gone through config files , mysql 5.2.3 found. i've gone through *.cs files well. no 5.2.3. none. zip! nada. yet, when try access particular code file (which has using mysql.data.mysqlclient statement), error above.

the stack trace isn't help. shows c# file source of problem. however, said above, there no trace of 5.2.3 on file. none whatsoever. i'm bit confused 5.2.3 assembly being referenced.

the stack trace below:

[filenotfoundexception: not load file or assembly 'mysql.data, version=5.2.3.0, culture=neutral, publickeytoken=c5687fc88969c44d' or 1 of dependencies. system cannot find file specified.]    login.page_load(object sender, eventargs e) in c:\jose\kmwebsite2\login.aspx.cs:42    system.web.util.callihelper.eventargfunctioncaller(intptr fp, object o, object t, eventargs e) +14    system.web.util.callieventhandlerdelegateproxy.callback(object sender, eventargs e) +35    system.web.ui.control.onload(eventargs e) +99    system.web.ui.control.loadrecursive() +50    system.web.ui.page.processrequestmain(boolean includestagesbeforeasyncpoint, boolean includestagesafterasyncpoint) +627 

and there's this:

=== pre-bind state information === log: user = computer1\jose log: displayname = mysql.data, version=5.2.3.0, culture=neutral, publickeytoken=c5687fc88969c44d  (fully-specified) log: appbase = file:///c:/jose/kmwebsite2/ log: initial privatepath = c:\jose\kmwebsite2\bin calling assembly : app_web_lyss4wgv, version=0.0.0.0, culture=neutral, publickeytoken=null. === log: bind starts in default load context. log: using application configuration file: c:\jose\kmwebsite2\web.config log: using machine configuration file c:\windows\microsoft.net\framework\v2.0.50727\config\machine.config. log: post-policy reference: mysql.data, version=5.2.3.0, culture=neutral, publickeytoken=c5687fc88969c44d log: attempting download of new url file:///c:/users/jose/appdata/local/temp/temporary asp.net files/kmwebsite2/49ca7fd8/cb38a83/mysql.data.dll. log: attempting download of new url file:///c:/users/jose/appdata/local/temp/temporary asp.net files/kmwebsite2/49ca7fd8/cb38a83/mysql.data/mysql.data.dll. log: attempting download of new url file:///c:/jose/kmwebsite2/bin/mysql.data.dll. log: attempting download of new url file:///c:/jose/kmwebsite2/bin/mysql.data/mysql.data.dll. log: attempting download of new url file:///c:/users/jose/appdata/local/temp/temporary asp.net files/kmwebsite2/49ca7fd8/cb38a83/mysql.data.exe. log: attempting download of new url file:///c:/users/jose/appdata/local/temp/temporary asp.net files/kmwebsite2/49ca7fd8/cb38a83/mysql.data/mysql.data.exe. log: attempting download of new url file:///c:/jose/kmwebsite2/bin/mysql.data.exe. log: attempting download of new url file:///c:/jose/kmwebsite2/bin/mysql.data/mysql.data.exe. 

the question is: reference be? how can find on solution , update version 6?

background , more details (optional :-)): said above, i'm trying migrate site xp (32-bit) computer windows 7 (64-bit) one. @ first, tried open website on new, windows 7 computer didn't work. visual studio 2008 freeze after opening solution, , had shut down. decided create website scratch , add different files, folders, , assemblies 1 @ time, fixing problems encountered them.

in original machine, have mysql 5 installed. however, when switching new one, wanted move mysql 6. references on old machine point mysql 5.2.3, of course there's kind of invisible reference somewhere can't find.

my system: on new machine:

  • windows 7 (64-bit) sp1
  • visual studio 2008 website
  • website runs file system using built-in
  • visual studio web server website asp.net 2.0 (tried create using 4.0 gave up)
  • mysql 6
  • crystal reports , other stuff cause lots , lots of problems

on old machine

  • windows xp
  • visual studio 2008
  • website runs iis
  • website asp.net 2.0
  • mysql 5
  • crystal reports , lots of other stuff works smoothly


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -