(håber ikke det gør noget, at det er på engelsk)
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 michael@mblarsen.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 PublicKeysTokens (b03f5f7f11d50a3a, b77a5c561934e089, why
does these differ on same version number?). It's also the case for the
c:\windows\assembly 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.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
(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.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, Custom=null
System.Configuration.Install, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.Data, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, Custom=null
System.Design, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.DirectoryServices, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.Drawing, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.Drawing.Design, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.EnterpriseServices, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.Management, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.Messaging, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.Runtime.Remoting, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, Custom=null
System.Runtime.Serialization.Formatters.Soap, Version=1.0.3300.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.Security, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.ServiceProcess, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.Web, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.Web.RegularExpressions, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.Web.Services, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a, Custom=null
System.Windows.Forms, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, Custom=null
System.Xml, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, Custom=null
...
The cache of ngen files contains the following entries:
...
System, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089,
Custom=5a00410050002d004e0035002e0031002d00380046002d00300030003000370046003600350032000000
System.Design, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a,
Custom=5a00410050002d004e0035002e0031002d00380046002d00300030003000380031004300450034000000
System.Drawing, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a,
Custom=5a00410050002d004e0035002e0031002d00380046002d00300030003000380033003000370033000000
System.Drawing.Design, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a,
Custom=5a00410050002d004e0035002e0031002d00380046002d00300030003000380032003400410044000000
System.Windows.Forms, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089,
Custom=5a00410050002d004e0035002e0031002d00380046002d00300030003000380030004200410045000000
System.Xml, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089,
Custom=5a00410050002d004e0035002e0031002d00380046002d00300030003000380032003600380034000000
--(GAC End)--
--(Server Error Start)--
Assembly Load Trace:
=== Pre-bind state information ===
LOG: DisplayName = System, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
(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\Microsoft.NET\Framework\v1.0.3705\aspnet.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\config\machine.config.
LOG: Post-policy reference: System, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
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:
[FileNotFoundException: File or assembly name System, or one of its
dependencies, was not found.]
MySQL2.WebForm1.Page_Load(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +29
System.Web.UI.Page.ProcessRequestMain() +724
--(Server Error END)--
|