473,395 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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

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
1 5025
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: karunakar | last post by:
Hi All I am not able to read the class name I want read the particular class name string path = System.Configuration.ConfigurationSettings.AppSettings; string className = path + ".User";...
3
by: Michael Bøcker-Larsen | last post by:
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...
2
by: aallee83 | last post by:
i'm new in asp.net after develop my solution i copied it on the server where I want it to run but something cares... WHAT?!?! thank you in advance File or assembly name System, or one of its...
0
by: Martinh | last post by:
Hi After invoking RetrieveData in a WebService I recieve the following response in a new window... I am running Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 ...
4
by: Tiraman | last post by:
Hi, i have some problem to run my dll's (assemblies) on the production server. I have 3 dll's which use each other. Every thing is ok on my local machine where i developed them but when i...
1
by: lgbjr | last post by:
Hi All, I am moving some of my MDI Child forms to DLLs. The first 3 forms worked fine. But the 4th one is causing me some grief! I use the following code to load a form from a DLL: Dim...
2
by: Andrew Jocelyn | last post by:
Hi I get this error when I change something in the web.config file. When I build the VS projects and load the first web page the application runs fine. If I then make a save the web.config file...
2
by: Eric Falsken | last post by:
Eric Falsken <eric@db4o.com> wrote on 04 Dec 2005: > craigkenisston@hotmail.com wrote on 19 Nov 2005: > >> I'm working in the migration of an asp.net application in 1.1 to 2.0. >> I'm new to...
3
by: James | last post by:
Hi guys Do you ever get the exception in Managed C++? How can I know which file or dll is missed?
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.