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

Discussion in 'ASP .Net Security' started by CSharpner, Apr 19, 2004.

  1. CSharpner

    CSharpner Guest

    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
     
    CSharpner, Apr 19, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Charles A. Lackman
    Replies:
    1
    Views:
    1,371
    smith
    Dec 8, 2004
  2. Ivan
    Replies:
    1
    Views:
    3,062
    Natty Gur
    May 21, 2004
  3. Replies:
    1
    Views:
    1,619
    Ken Cox - Microsoft MVP
    Mar 17, 2006
  4. Alfred Sehmueller
    Replies:
    0
    Views:
    266
    Alfred Sehmueller
    Feb 20, 2004
  5. uridium

    FYI--Hanging .NET v1.0.3705.288 Web Service

    uridium, Sep 6, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    129
    uridium
    Sep 6, 2003
Loading...

Share This Page