473,396 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

100% CPU usage becoz of System.Configuration.ConfigurationExceptio

When I'm running my ASP.NET application, system throws the following
exception. Although page is displayed properly but this exception is thrown
internally.
And also when I'm doing load testing for this page by using ACT with the
scenario of 50 users, I find that CPU usage is 100%. (w3wp.exe takes 100% CPU
usage.)
Please help me.

Error Exception ::

"System.Configuration.ConfigurationException: It is an error to use a
section registered as allowDefinition='MachineToApplication' beyond
application level.
This error can be caused by a virtual directory not being configured as an
application in IIS. (D:\Project_Work\Project_Name\web.config line 266)
at System.Web.Configuration.HttpConfigurationSystem.C acheLookup(String
vpath)
at System.Web.Configuration.HttpConfigurationSystem.C omposeConfig(String
reqPath, IHttpMapPath configmap)
at System.Web.HttpContext.GetCompleteConfigRecord(Str ing reqpath,
IHttpMapPath configmap)
at System.Web.HttpContext.GetCompleteConfig()
at System.Web.HttpContext.GetConfig(String name)
at System.Web.ImpersonationData.Init(Boolean appLevel, Boolean
throwOnError)
at System.Web.ImpersonationData.GetImpersonationToken (Boolean
forGlobalCode, Boolean throwOnError)
at System.Web.ImpersonationData.Start(Boolean forGlobalCode, Boolean
throwOnError, Boolean fromAnotherThread)
at System.Web.HttpApplication.OnThreadEnter()
at System.Web.HttpApplication.ResumeSteps(Exception error)"

Thanks.

Apr 13 '06 #1
0 1060

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

Similar topics

22
by: Bryan Rickard | last post by:
I wrote a simple program in VB6 to copy all the files from a directory on a CD-ROM to my hard disk. There are about 10 files, each about 30MB. The program uses Get and Put to get data from the...
4
by: Jo Becaus | last post by:
Hi, I have ASP site running, which has several include files. This is include file, most used in the HTML files. <% Public objDict Dim ObjFSO, objFolder Const Folder =...
1
by: Kevin | last post by:
I'm really hoping someone out there can help me with an unusual, frustrating XP problem that I just can't seem to fix. When certain web pages are opened with my Internet Explorer 6, it causes...
12
by: Fabian Knopf | last post by:
Hi @ll, my IBM DB2 server runs with 60% Cpu Usage but no task has to be done. Why this ??? Cu, Fabian
2
by: wushupork | last post by:
I have written a screensaver application in C# .NET and have noticed that whenever the animation loop is running - CPU usage always spikes up close to 100%. My application uses a paint thread which...
5
by: fniles | last post by:
I am having problem with thread. I have a Session class with public string variable (called Message) that I set from my Main program. In the session class it checks for the value of Message...
2
by: Jenniflower | last post by:
Hi Gurus, Our system is using SqlServer 2005 on XP.( On my machine,only this application access SQLServer.) The sqlserver memory is configured to 128MB (Min)~512 MB(Max) After our system get...
0
by: Aryan | last post by:
Hi, I am getting weired problem all of sudden for CPU usage going to 100% for aspnet_wp.exe. This problem started after installing (CLRProfiler - 86x). I am using Framework 2.0. Before installing...
1
by: Aryan | last post by:
Hi, I am getting weired problem all of sudden for CPU usage going to 100% for aspnet_wp.exe. This problem started after installing (CLRProfiler - 86x). I am using Framework 2.0. Before installing...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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,...

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.