By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,426 Members | 3,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,426 IT Pros & Developers. It's quick & easy.

File or assembly name System.Xml, or one of its dependencies, was not found?

P: n/a
I get the included error message when trying to run my ASP.NET application
under Windows Server 2003 (with all updates installed).

How can I troubleshoot this?

Olav

File or assembly name System.Xml, or one of its dependencies, was not found.
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.FileNotFoundException: File or assembly name
System.Xml, or one of its dependencies, was not found.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'System.Xml' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = System.Xml, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
(Fully-specified)
LOG: Appbase = file:///D:/wwwroot/Mapaid/Flyfoto
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.1.4322\aspn et.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\confi g\machine.config.
LOG: Post-policy reference: System.Xml, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
LOG: Attempting download of new URL
file:///D:/wwwroot/Mapaid/Flyfoto/bin/System.Xml.DLL.
LOG: Attempting download of new URL
file:///D:/wwwroot/Mapaid/Flyfoto/bin/System.Xml/System.Xml.DLL.
LOG: Attempting download of new URL
file:///D:/wwwroot/Mapaid/Flyfoto/bin/System.Xml.EXE.
LOG: Attempting download of new URL
file:///D:/wwwroot/Mapaid/Flyfoto/bin/System.Xml/System.Xml.EXE.

Stack Trace:

[FileNotFoundException: File or assembly name System.Xml, or one of its
dependencies, was not found.]
System.Web.Configuration.HttpConfigurationRecord.. ctor(String filename,
HttpConfigurationRecord parent, Boolean inheritable, String path, String
mappedPhysicalPath) +0
System.Web.Configuration.HttpConfigurationSystem.C omposeConfig(String
reqPath, IHttpMapPath configmap) +691
System.Web.HttpContext.GetCompleteConfigRecord(Str ing reqpath,
IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig(String path) +88
System.Web.HttpContext.GetAppLKGConfig(String name) +92
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I would re-register the .net framework 1.1 on this box

c:\%windir%\Microsoft.NET\<framework version\ aspnet_regiis -i

run it from the command line.

then do a iisreset and see what happens

"Olav Tollefsen" wrote:
I get the included error message when trying to run my ASP.NET application
under Windows Server 2003 (with all updates installed).

How can I troubleshoot this?

Olav

File or assembly name System.Xml, or one of its dependencies, was not found.
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.FileNotFoundException: File or assembly name
System.Xml, or one of its dependencies, was not found.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'System.Xml' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = System.Xml, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
(Fully-specified)
LOG: Appbase = file:///D:/wwwroot/Mapaid/Flyfoto
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.1.4322\aspn et.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\confi g\machine.config.
LOG: Post-policy reference: System.Xml, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
LOG: Attempting download of new URL
file:///D:/wwwroot/Mapaid/Flyfoto/bin/System.Xml.DLL.
LOG: Attempting download of new URL
file:///D:/wwwroot/Mapaid/Flyfoto/bin/System.Xml/System.Xml.DLL.
LOG: Attempting download of new URL
file:///D:/wwwroot/Mapaid/Flyfoto/bin/System.Xml.EXE.
LOG: Attempting download of new URL
file:///D:/wwwroot/Mapaid/Flyfoto/bin/System.Xml/System.Xml.EXE.

Stack Trace:

[FileNotFoundException: File or assembly name System.Xml, or one of its
dependencies, was not found.]
System.Web.Configuration.HttpConfigurationRecord.. ctor(String filename,
HttpConfigurationRecord parent, Boolean inheritable, String path, String
mappedPhysicalPath) +0
System.Web.Configuration.HttpConfigurationSystem.C omposeConfig(String
reqPath, IHttpMapPath configmap) +691
System.Web.HttpContext.GetCompleteConfigRecord(Str ing reqpath,
IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig(String path) +88
System.Web.HttpContext.GetAppLKGConfig(String name) +92
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.