Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config

From: CSharpner (google_at_easiesttoremember.com)
Date: 04/19/04


Date: 18 Apr 2004 19:04:23 -0700

I had many ASP.NET web applications that I created before I had to
rebuild my machine. After a fresh install of XP Pro, VS.NET 2003,
etc, I now get the following when running them. Note that I've
already added the following to the web.config file just before the
<appsettings> section:

        <startup>
                <supportedRuntime version="v1.1.4322"/>
                <requiredRuntime version="v1.1.4322"/>
        </startup>

Here's the error (I've replaced the references to publickeytoken with
"*"):

Server Error in '/TestApp' Application.
--------------------------------------------------------------------------------

Error loading XML file
c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
Request for the permission of type
System.Security.Permissions.StrongNameIdentityPermission, mscorlib,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=* failed.
(c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config)
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.Configuration.ConfigurationException: Error
loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
Request for the permission of type
System.Security.Permissions.StrongNameIdentityPermission, mscorlib,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=* failed.
(c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config)

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.

Stack Trace:

[ConfigurationException: Error loading XML file
c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
Request for the permission of type
System.Security.Permissions.StrongNameIdentityPermission, mscorlib,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=* failed.
(c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config)]
   System.Configuration.ConfigurationSettings.GetConfig(String
sectionName) +210
   System.Configuration.ConfigurationSettings.get_AppSettings() +16
   System.Configuration.AppSettingsReader..ctor() +8
   assessments.LoginForm.InitializeComponent()
   assessments.LoginForm.OnInit(EventArgs e)
   System.Web.UI.Control.InitRecursive(Control namingContainer) +235
   System.Web.UI.Page.ProcessRequestMain() +171

 

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.288;
ASP.NET Version:1.0.3705.288



Relevant Pages

  • Re: Exchange OWA 2003 "Server Error in /OWAAdmin Application"
    ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... exception can be identified using the exception stack trace below. ... context) +85 ...
    (microsoft.public.exchange.admin)
  • Server Error in /Backup Application
    ... Please review the stack trace for more information about ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... System.Web.HttpRuntime.PreloadAssembliesFromBin(HttpContext context) +176 ...
    (microsoft.public.windows.server.sbs)
  • Re: How to solve it ?
    ... :>> current web request. ... :>> Exception Details: System.UnauthorizedAccessException: Access is ... :>> exception can be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: ASP.NET Development Server Not Loading Locally Referenced Assembly
    ... > TCWebFile (File-system web site) ... > current web request. ... Please review the stack trace for more information about ... > Exception Details: System.Runtime.Serialization.SerializationException: Type ...
    (microsoft.public.dotnet.framework.aspnet)
  • How to solve it ?
    ... current web request. ... Exception Details: System.UnauthorizedAccessException: Access is denied. ... granting access rights to the resource to the ASP.NET request identity. ... exception can be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.framework.aspnet.security)

Quantcast