100% CPU usage becoz of System.Configuration.ConfigurationExceptio

G

Guest

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.CacheLookup(String
vpath)
at System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String
reqPath, IHttpMapPath configmap)
at System.Web.HttpContext.GetCompleteConfigRecord(String 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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top