Hi
I'v been stuck on this problem for ages now. I have found that I'm not
the only one with this problem, by looking through the different
newsgroups.
Hope you can help me! I know there is a lot of information, but if you
need more (e.g. the code) please write mi*****@mblarse n.dk.
The problem is this error messages (the code is build just fine; no errors):
"File or assembly name System, or one of its dependencies, was not
found." (I'v posted the rest of it at the bottom of this message)
My system:
Microsoft Visual Studio .NET Enterprise Architect 55603-652-0000007-18537
Microsoft Development Environment 2002 Version 7.0.9466
Microsoft .NET Framework 1.0 Version 1.0.3705
Microsoft Data Access Components 2.7
Microsoft ODBC .NET Data Provider
MyODBC 3.51.06
ByteFXData 0.70 (MySQL Native Data Provider)
-- can't think of more
The machine.config contains only System-related entries with version
1.0.3300.0 and a few different PublicKeysToken s (b03f5f7f11d50a 3a,
b77a5c561934e08 9, why does these differ on same version number?). It's
also the case for the c:\windows\asse mbly directory (there are
duplicates of a few with the type Native Images to distinct them; what
does this actually meen for assembly?)
Another thing: I'v searched my entire c-drive for files (below 100kb)
containing 1.0.5000.0, the version number from the error msg:
LOG: DisplayName = System, Version=1.0.500 0.0, Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/MySQL2
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
Following is the content of my GAC with System related entries, and
again, the rest of there error message is a the bottom of this message.
--(GAC Start)--
The Global Assembly Cache contains the following assemblies:
...
System, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9, Custom=null
System.Configur ation.Install, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Data, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9, Custom=null
System.Design, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Director yServices, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Drawing, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Drawing. Design, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Enterpri seServices, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Manageme nt, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Messagin g, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Runtime. Remoting, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9, Custom=null
System.Runtime. Serialization.F ormatters.Soap, Version=1.0.330 0.0,
Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Security , Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.ServiceP rocess, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Web, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Web.Regu larExpressions, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Web.Serv ices, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, Custom=null
System.Windows. Forms, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9, Custom=null
System.Xml, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9, Custom=null
...
The cache of ngen files contains the following entries:
...
System, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9,
Custom=5a004100 50002d004e00350 02e0031002d0038 0046002d0030003 000300037004600 360035003200000 0
System.Design, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a,
Custom=5a004100 50002d004e00350 02e0031002d0038 0046002d0030003 000300038003100 430045003400000 0
System.Drawing, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a,
Custom=5a004100 50002d004e00350 02e0031002d0038 0046002d0030003 000300038003300 300037003300000 0
System.Drawing. Design, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a,
Custom=5a004100 50002d004e00350 02e0031002d0038 0046002d0030003 000300038003200 340041004400000 0
System.Windows. Forms, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9,
Custom=5a004100 50002d004e00350 02e0031002d0038 0046002d0030003 000300038003000 420041004500000 0
System.Xml, Version=1.0.330 0.0, Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9,
Custom=5a004100 50002d004e00350 02e0031002d0038 0046002d0030003 000300038003200 360038003400000 0
--(GAC End)--
--(Server Error Start)--
Assembly Load Trace:
=== Pre-bind state information ===
LOG: DisplayName = System, Version=1.0.500 0.0, Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/MySQL2
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.0.3705 \aspnet.config) .
LOG: Using machine configuration file from
C:\WINDOWS\Micr osoft.NET\Frame work\v1.0.3705\ config\machine. config.
LOG: Post-policy reference: System, Version=1.0.500 0.0, Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/mysql2/a56d3542/a0a64027/System.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/mysql2/a56d3542/a0a64027/System/System.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MySQL2/bin/System.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MySQL2/bin/System/System.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/mysql2/a56d3542/a0a64027/System.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/mysql2/a56d3542/a0a64027/System/System.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MySQL2/bin/System.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MySQL2/bin/System/System.EXE.
Stack Trace:
[FileNotFoundExc eption: File or assembly name System, or one of its
dependencies, was not found.]
MySQL2.WebForm1 .Page_Load(Obje ct sender, EventArgs e) +0
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +29
System.Web.UI.P age.ProcessRequ estMain() +724
--(Server Error END)--