473,795 Members | 2,967 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

failure to initialize AppDomain: ConfigurationEr rorsException

Hi, folks,

I've just installed Visual Studio 2005 on my XP Pro (SP2) environment and
the new ASP.NET 2.0 doesn't seem to be running well in my IIS. Every time I
try to load up a .aspx page (even if it's just flat HTML), I get the "server
application unavailable" error, accompanied by two bits in the event log.
One is an error:

Failed to execute request because the App-Domain could not be created.
Error: 0x80131902

The other is a warning about a ConfigurationEr rorsException (full text
below). I've tried lots of permissions fiddling, and I've followed the
suggestion to configure machine.config for the "System" process -- all to no
avail. One hint on the web suggests this is an "environmen tal" problem, but
for the life of me I can't figure out what to do. One guy out there seemed
to have this problem and solved it by reinstalling everything from XP on up.
I'd kind of like to avoid that. Any ideas?

Thanks!

....Chris

Failed to initialize the AppDomain:/LM/W3SVC/1/ROOT

Exception: System.Configur ation.Configura tionErrorsExcep tion

Message: Exception of type
'System.Configu ration.Configur ationErrorsExce ption' was thrown.

StackTrace: at
System.Web.Conf iguration.Error RuntimeConfig.E rrorConfigRecor d.System.Config uration.Interna l.IInternalConf igRecord.GetLkg Section(String
configKey)

at System.Web.Conf iguration.Runti meConfigLKG.Get SectionObject(S tring
sectionName)

at System.Web.Conf iguration.Runti meConfig.GetSec tion(String sectionName,
Type type, ResultsIndex index)

at System.Web.Conf iguration.Runti meConfig.get_Ho stingEnvironmen t()

at System.Web.Host ing.HostingEnvi ronment.StartMo nitoringForIdle Timeout()

at System.Web.Host ing.HostingEnvi ronment.Initial ize(Application Manager
appManager, IApplicationHos t appHost, IConfigMapPathF actory
configMapPathFa ctory, HostingEnvironm entParameters hostingParamete rs)

at System.Web.Host ing.HostingEnvi ronment.Initial ize(Application Manager
appManager, IApplicationHos t appHost, IConfigMapPathF actory
configMapPathFa ctory, HostingEnvironm entParameters hostingParamete rs)

at
System.Web.Host ing.Application Manager.CreateA ppDomainWithHos tingEnvironment (String
appId, IApplicationHos t appHost, HostingEnvironm entParameters
hostingParamete rs)

at
System.Web.Host ing.Application Manager.CreateA ppDomainWithHos tingEnvironment AndReportErrors (String
appId, IApplicationHos t appHost, HostingEnvironm entParameters
hostingParamete rs)
Dec 8 '05 #1
3 6758
I had the same problem and used the following steps to resolve it:

With a command window, get to the latest version of .net under
C:\Windows\Micr osoft.Net\Frame work\
Now run the following command: "net stop w3svc" to stop web services.
Then use "aspnet_regiis. exe -ua" to uninstall all instances of ASP.NET
from IIS.
Follow with "aspnet_regiis. exe -i" to install ASP.NET into IIS.
Now restart web services with "net start w3svc".

After this I was able to reload my browser and properly view my page.

Hope this helps.

Dec 30 '05 #2
Thank you very much! This seems to have fixed me up as well.

Happy holidays, and thanks again,

....Chris

<st******@gmail .com> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.com.. .
I had the same problem and used the following steps to resolve it:

With a command window, get to the latest version of .net under
C:\Windows\Micr osoft.Net\Frame work\
Now run the following command: "net stop w3svc" to stop web services.
Then use "aspnet_regiis. exe -ua" to uninstall all instances of ASP.NET
from IIS.
Follow with "aspnet_regiis. exe -i" to install ASP.NET into IIS.
Now restart web services with "net start w3svc".

After this I was able to reload my browser and properly view my page.

Hope this helps.

Dec 30 '05 #3


"st******@gmail .com" wrote:
I had the same problem and used the following steps to resolve it:

With a command window, get to the latest version of .net under
C:\Windows\Micr osoft.Net\Frame work\
Now run the following command: "net stop w3svc" to stop web services.
Then use "aspnet_regiis. exe -ua" to uninstall all instances of ASP.NET
from IIS.
Follow with "aspnet_regiis. exe -i" to install ASP.NET into IIS.
Now restart web services with "net start w3svc".

After this I was able to reload my browser and properly view my page.

Hope this helps.

Feb 2 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2423
by: Graham | last post by:
I have developed a Simple MFC GUI to allow a user to display and control an activity The program works fine on a PC with Visual Studio installed, but when I transfer the progra to a Laptop computer I get an Assertion Failure line 410 of file occmgr.cpp I built a Deployment & Install project to formally install the program, but still keep getting the same error. It works fine on a desktop PC without Visual Studio installed Someone...
4
2189
by: akhare1 | last post by:
OK, before I start, let me clarify a few things here. This is not the run of the mill failure to read a registry key while trying to write to the Event Log. Here's our setup: a) IIS 6.0 server w/ SharePoint installed b) ASP.NET application w/ NTLM authentication running under an account (application pool) with ADMIN privileges on the local box. c) We are NOT using impersonation
0
1239
by: Brad Wood | last post by:
<environment> Consuming a web service from a VS2005 beta 2 test harness on WinXP. Web service built with VS2003 running on my machine with IIS 5X set to use ASP.NET 1.1 </environment> I have a web service that creates a thread for each request in an input document. Each thread then makes an HttpWebRequest.GetResponse call. When only one request is submitted in the input doc all is fine.
2
1714
by: Doug | last post by:
I've installed ASP.NET onto our web server (Win2k/unsure of IIS version) this morning. I created a simple ASPX page in Notepad that writes out an asp:Label control to the page and dynamically populates it with the current date/time. I ran the page and received an error in my browser, "Server Application Unavailable " and to check the application event log on the server. On the server, I see a Warning event, an information event and an...
3
22042
by: Michael Schwarz | last post by:
Hi, from time to time I get following error message with my ASP.NET 2.0 web application in the event log: An error occurred executing the configuration section handler for system.web/identity. My web.config looks like this: <authentication mode="Forms">
1
6436
by: Jess Chadwick | last post by:
I am attempting to use the Enterprise Library (Jan 2006) Cryptography block to encrypt a credit card number in my ASP.NET 2.0 Commerce Server application. Everything is configured correctly, as evidenced by the fact that it is running on a production box using the same web.config (but not the same parent web.config). When I call the EncryptSymmetric() method, I get this error: Server Error in '/Store' Application....
4
3713
by: =?Utf-8?B?QkogU2FmZGll?= | last post by:
I am reposting this for a colleague because he has had some problems setting up his subscriber Nospam alias: I am having problems unit testing a method which is decorated with the attribute. I always get a security exception. I have set the Thread.CurrentPrincipal to my custom IPrincipal.IsInRole method never gets called I have even tried AppDomain.CurrentDomain.SetThreadPrincipal(myIPrincipal)...with no luck.
5
4517
by: giddy | last post by:
Hi , I'm probably just doing something a little silly. I get a System.Configuration.ConfigurationErrorsException! This is my config file: <configSections> <section name="qConfig" type="QuickBuild.QConfig , QuickBuild" /> </configSections> <qConfig PathToDevEnv="D:\Microsoft Visual Studio 8\Common7\IDE\devenv.exe"
3
12062
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config) ---> System.Security.SecurityException: Request for the permission of type
0
9672
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10436
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10163
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9040
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3722
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.