Ask a Question related to ASP.NET Security, Design and Development.
-
CSharpner #1
Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Confi g\machine.config
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\Confi g\machine.config
Request for the permission of type
System.Security.Permissions.StrongNameIdentityPerm ission, mscorlib,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=* failed.
(c:\windows\microsoft.net\framework\v1.0.3705\Conf ig\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\Confi g\machine.config
Request for the permission of type
System.Security.Permissions.StrongNameIdentityPerm ission, mscorlib,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=* failed.
(c:\windows\microsoft.net\framework\v1.0.3705\Conf ig\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\Confi g\machine.config
Request for the permission of type
System.Security.Permissions.StrongNameIdentityPerm ission, mscorlib,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=* failed.
(c:\windows\microsoft.net\framework\v1.0.3705\Conf ig\machine.config)]
System.Configuration.ConfigurationSettings.GetConf ig(String
sectionName) +210
System.Configuration.ConfigurationSettings.get_App Settings() +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 Guest
-
Machine.config Configuration Error
I've recently moved web hosts to Network Solutions (Sorry to drop names), and I'm now getting the following error... Configuration Error... -
web.config vs machine.config ?
1. I got this following error: ******************** Configuration Error Description: An error occurred during the processing of a... -
config file: a) what Module ? b) conditionals in config (for multiple hosts)
Hi, a) I am looking for a module to handle config files. There are a number of these modules, like AppCconig. Any consensus about The Right... -
Web config file in another app being accessed in error!!??
Hi I am noticing some strange behaviour in some asp.net pages that I have put together and am hoping someone can explain to me what is... -
.NET Framework 1.1 and cookieless=true in web.config file
With the .NET Framework version 1.1, the following web.config code causes all of the html/aspx relative path references to fail: <sessionState... -
DotNetJunkies User #2
Re: Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Confi g\machine.config
I have this same problem.
It looks like it turned on SSL security for the whole web site... wild!
I Tried downloading Microsofts IIS 6.0 resource kit..
[url]http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en[/url]
and then running the selfssl tool.... still no luck!
---
Posted using Wimdows.net NntpNews Component -
Post Made from [url]http://www.DotNetJunkies.com/newsgroups[/url] Our newsgroup engine supports Post Alerts, Ratings, and Searching.
DotNetJunkies User Guest
-
DotNetJunkies User #3
Re: Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Confi g\machine.config
If you install IIS after you install .NET Framework, that's most of your problem... Run the following command from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
aspnet_regiis -i
It will install 1.1 version of ASP .NET and update scriptmaps for you.
Hope it helps.
---
Posted using Wimdows.net NntpNews Component -
Post Made from [url]http://www.DotNetJunkies.com/newsgroups[/url] Our newsgroup engine supports Post Alerts, Ratings, and Searching.
DotNetJunkies User Guest
-
DotNetJunkies User #4
Re: Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Confi g\machine.config
aspnet_regiis -i
---
Posted using Wimdows.net NntpNews Component -
Post Made from [url]http://www.DotNetJunkies.com/newsgroups[/url] Our newsgroup engine supports Post Alerts, Ratings, and Searching.
DotNetJunkies User Guest



Reply With Quote

