File or assembly name System, or one of its dependencies, was notfound.

  • Thread starter =?ISO-8859-1?Q?Michael_B=F8cker-Larsen?=
  • Start date
?

=?ISO-8859-1?Q?Michael_B=F8cker-Larsen?=

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 (e-mail address removed).

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)--
 
S

Scott Schluer

Are you by any chance running an application that was built using the .NET
Framework 1.1? I believe that will cause the same error.

Scott

Michael Bøcker-Larsen said:
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 (e-mail address removed).

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=5a00410050002d004e0035002e0031002d00380046002d00300030003000370046003
600350032000000
System.Design, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a,
Custom=5a00410050002d004e0035002e0031002d00380046002d00300030003000380031004
300450034000000
System.Drawing, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a,
Custom=5a00410050002d004e0035002e0031002d00380046002d00300030003000380033003
000370033000000
System.Drawing.Design, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a,
Custom=5a00410050002d004e0035002e0031002d00380046002d00300030003000380032003
400410044000000
System.Windows.Forms, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089,
Custom=5a00410050002d004e0035002e0031002d00380046002d00300030003000380030004
200410045000000
System.Xml, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089,
Custom=5a00410050002d004e0035002e0031002d00380046002d00300030003000380032003
600380034000000
--(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)--
 
M

Michael Bøcker-Larsen

Hi Scott

Thanks for the swift reply :)

No, the application is running on Microsoft .NET Framework 1.0 Version
1.0.3705 and was built on this version too. But I'm downloading 1.1 as
we speak.

Do you have any idea why it says version 1.0.5000.5 in the following,
and not 1.0.33xxxx?

DisplayName = System, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089

I have added a reference (ByteFX.Data.dll; a MySQL Provider) to the
project and added it to the GAC, but could there still be some conflict
with this assembly that causes the error.

/michael
 
M

Marcus Nilsson

It seems to me that some of your referenced assemblies are
built with version 1.0.5000.0 of the system.dll. You can
use the ILDASM tool to examine your referenced assemblies.

Marcus
-----Original Message-----
Are you by any chance running an application that was built using the .NET
Framework 1.1? I believe that will cause the same error.

Scott

just fine; no
errors):
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Tempor
ary ASP.NETfile:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Tempor
ary ASP.NETfile:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Tempor
ary ASP.NETfile:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Tempor
ary 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)--


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top