RE: File or assembly name System.Xml, or one of its dependencies, was

From: Tampa .NET Koder (TampaNETKoder_at_discussions.microsoft.com)
Date: 02/19/05


Date: Sat, 19 Feb 2005 04:35:04 -0800

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\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
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
> Version:1.1.4322.2032
>
>
>



Relevant Pages

  • File or assembly name System.Xml, or one of its dependencies, was not found?
    ... Exception Details: System.IO.FileNotFoundException: File or assembly name ... be identified using the exception stack trace below. ... No redirect found in host configuration file ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: assembly cant access System.Xml
    ... System.Xml.dll in the directory which contains the CLR which the compiler ... An unhandled exception occurred during the execution of the ... > exception can be identified using the exception stack trace below. ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework.aspnet)
  • FileNotFound-Exception with ADO
    ... Unhandled Exception: System.IO.FileNotFoundException: File or assembly name ... File name: "ADODB" ... Host configuration file not found. ... Attempting download of new URL ...
    (microsoft.public.data.ado)
  • Re: GAC entries dont show up in References/.NET
    ... cannot be called by another dll. ... Download the files from here http://www.geocities.com/abubakar021/help.zip. ... ClassLibrary1, ... Application configuration file does not exist. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: GAC entries dont show up in References/.NET
    ... cannot be called by another dll. ... Download the files from here http://www.geocities.com/abubakar021/help.zip. ... ClassLibrary1, ... Application configuration file does not exist. ...
    (microsoft.public.dotnet.general)

Loading