473,721 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ConfigurationEr rorsException, Event Code 3008, system.web/identity

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:

[...]
<authenticati on mode="Forms">
<forms name=".PcToppAu th" loginUrl="~/login.aspx" protection="All "
timeout="600"/>
</authentication>
<authorizatio n>
<deny users="?"/>
</authorization>
<identity impersonate="tr ue"/>
[...]

I'm running Windows 2003 Server with an anonymous account that will be
impersonated to access COM objects and network resources. By default the
same installation is running on a lot of Windows 2003 Servers but since some
days we are getting the error message above. In the event log I have
following message:

Event code: 3008
Event message: A configuration error has occurred.
Event time: 31-03-2006 08:19:27
Event time (UTC): 31-03-2006 06:19:27
Event ID: 16d39609ac64416 e9fc6bffd567f92 a2
Event sequence: 502
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/2/Root-15-127882594863339 116
Trust level: Full
Application Virtual Path: /
Application Path: c:\xxxx\WebServ er\
Machine name: XXXXXX

Process information:
Process ID: 3956
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWO RK SERVICE

Exception information:
Exception type: ConfigurationEr rorsException
Exception message: An error occurred executing the configuration section
handler for system.web/identity.

Request information:
Request URL: http://xxxxx/xxxx.aspx
Request path: /xxxx.aspx
User host address: 1.2.3.4
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWO RK SERVICE

Thread information:
Thread ID: 11
Thread account name: NT AUTHORITY\NETWO RK SERVICE
Is impersonating: False
Stack trace: at
System.Configur ation.RuntimeCo nfigurationReco rd.GetRuntimeOb ject(Object
result)
at System.Configur ation.BaseConfi gurationRecord. Evaluate(Factor yRecord
factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean
getLkg, Boolean getRuntimeObjec t, Object& result, Object&
resultRuntimeOb ject)
at
System.Configur ation.BaseConfi gurationRecord. GetSectionRecur sive(String
configKey, Boolean getLkg, Boolean checkPermission , Boolean
getRuntimeObjec t, Boolean requestIsHere, Object& result, Object&
resultRuntimeOb ject)
at System.Configur ation.BaseConfi gurationRecord. GetSection(Stri ng
configKey, Boolean getLkg, Boolean checkPermission )
at System.Configur ation.BaseConfi gurationRecord. GetSection(Stri ng
configKey)
at System.Web.Conf iguration.Runti meConfig.GetSec tionObject(Stri ng
sectionName)
at System.Web.Conf iguration.Runti meConfig.GetSec tion(String sectionName,
Type type, ResultsIndex index)
at System.Web.Conf iguration.Runti meConfig.get_Id entity()
at System.Web.Clie ntImpersonation Context.Start(H ttpContext context,
Boolean throwOnError)
at System.Web.Http Application.OnT hreadEnter()
at System.Web.Http Application.Res umeSteps(Except ion error)


Any idea what I can do to find a solution to fix this problem?

Regards,
Michael

Mar 31 '06 #1
3 22037
Hi Michael,

From your description, your certain ASP.NET application which configured to
use impersonate(imp ersonate the IIS's anonymous user) will randonly report
some "An error occurred executing the configuration section handler for
system.web/identity." error.

Based on my understanding, it is likely a environment specific problem.
Have you tried configure the ASP.NET worker process account to that
anonymous account instead of using impersoate to see whether the problem
occors? Also, since the error concerns with the configuration file, you can
try running filemon tool on the server to see whether there is any file
access permission issue.
Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Mar 31 '06 #2
Hi Steven,

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> schrieb im Newsbeitrag
news:cV******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi Michael,

[...]
Based on my understanding, it is likely a environment specific problem.
Have you tried configure the ASP.NET worker process account to that
anonymous account instead of using impersoate to see whether the problem
you mean in machine.config or enter the username in the <identity> tag?

Regards,
Michael

occors? Also, since the error concerns with the configuration file, you
can
try running filemon tool on the server to see whether there is any file
access permission issue.
Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 31 '06 #3
Thanks for your response Michael,

No, I didn't mean the <identity > element in configuration file. I mean
changing the worker process's identity instead of using impersonate to see
whether it result to the same behavior.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 4 '06 #4

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

Similar topics

1
4477
by: VM | last post by:
How can I manually run the code of an event? For example, I want to run a Mouse click event without actually clicking doing a Mouse click? Thanks.
4
3513
by: John Boy | last post by:
Hi, Can anyone help. This is really doing my nut in. 3 years ASP exp. and now doing .DOT which is a step in the wrong direction. Basically I am left with the code of a guy who has left. When I click a button on a pop-up window the javascript for that button click does a 'button.form.submit'. On the Server side there is a Button click event for this button, but for some reason it no longer fires. It worked fine before and everything...
0
3061
by: gunjanhshah | last post by:
Hello My system reports the following application event log. The log is due to my web application which is built upon asp.net and sql server 2000 and uses Active directory users to authenticate. Please help me in this concern what could be wrong?
2
3507
by: techsatish | last post by:
Hi, I want the double click event to call(here not able to get the MouseEventArgs) and execute the mouseup event code or any one tell me how to make my treecontrol double click nodes to behave like a singe click event(that is mouseup here)so that that will fire mouseup.How can i implement this?any ideas ? code snippets? Thanks in advance satish
4
1679
by: billcute | last post by:
I have a form (frmSewer) which bounded to tblSewer. The code at the On Load Event is designed to open frmSewer is appropriate date is updated into tblFilingdatesat the end of each quarter. In other words, when a quarter ends, the Administrator must file a quarterly report, once this report id filed, he MUST complete the process by updating tblFilingDates with the date the report was filed. Everything seems to work in year 2006 until we...
1
47836
by: =?Utf-8?B?Wmlub24=?= | last post by:
Hello I have an ASP.NET 2 intranet application written in C#. I use Active Directory authentication and parts of the application uses AJAX. From time to time (about once every 200-300 accesses at least) I get the following error on the server: Event code: 3005 Event message: An unhandled exception has occurred.
1
36677
by: SenthilPSL | last post by:
When I call a webservice on IIS on Windows 2000 Server with .NET runtime 2.0, I get the following Error. System.Net.WebException: The operation has timed out From ASPX Pages, I call the web service, which in turn calls dlls for executing the sotred procedure. SP runs for about 10 mins. (It has to; because the application demands running such big SP in synchronous mode). I have set the execution timeout to 1 hour both in website (for ASPX)...
1
7992
by: chandhrakv | last post by:
Hi experts, Can any one please respond with the resolution. Machine: WIN2K3, ASP.NET application, .NET 2.0 with June 2007 hotfix installed recently. Facing daily 1000 errors with the same type hopefully. Please assist. ----- Event code: 3005 Event message: An unhandled exception has occurred. Event time: 11/18/2009 10:48:23 AM Event time (UTC): 11/18/2009 5:18:23 AM Event ID: 6418c83513d4492bb14bc36994b95996
0
1348
by: beginerVB | last post by:
I am able to query/read the "Application" event log using System.Management classes in VB.net 2005 (win xp) But I have problem reading the "Message" / "description" of my custom event log. I am getting a System.NullReferenceException{"Object reference not set to an instance of an object."} while reading the "Message" / "Description of the event log while it is reading the others properties. Also when I use System.Diagnostics.EventLog and...
0
8730
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9131
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
9064
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8007
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...
1
6669
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4484
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3189
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
2576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.