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

O

Olav Tollefsen

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\aspnet.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\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.ComposeConfig(String
reqPath, IHttpMapPath configmap) +691
System.Web.HttpContext.GetCompleteConfigRecord(String reqpath,
IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig(String path) +88
System.Web.HttpContext.GetAppLKGConfig(String name) +92
 
G

Guest

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 said:
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\aspnet.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\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.ComposeConfig(String
reqPath, IHttpMapPath configmap) +691
System.Web.HttpContext.GetCompleteConfigRecord(String reqpath,
IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig(String path) +88
System.Web.HttpContext.GetAppLKGConfig(String name) +92
 

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

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top