473,473 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Application_Error not firing when identity impersonate="true"

Greetings group! I've got a weird one.

I have an ASP.NET 1.1 application that has been running on a
dual-processor Windows 2000/IIS 5 server for a couple of years.
Global.asax has an Application_Error() function that writes an entry to
the event log. Everything works great.

We're migrating to Windows 2003 on a new server, so I built up a
virtual PC (MS Virtual Server) Win2k3/IIS6 (single processor) box for
testing and everything works great there too.

So now I'm deploying to the real server - a dual-processor Windows
2003/IIS6 box and my Application_Error method is not getting called. So
I stripped everything out and here's what I have:

global.asax:
Application_Start() announces the app is starting with an event log
entry.
Application_End() does the same for the app stopping.
Application_Error() writes a simple "hello"

I have an index.aspx that simply generates an divide-by-0 error.

I also have web.config With NOTHING else but identity impersonate =
"false"

Nothing else - no other pages, folders, etc.

This works great - I see all 3 log entries. As soon as I turn
impersonation on (true), Application_Error stops getting called. I see
the 'starting' and 'stopping' log entries, so I know _Start() and
_End() are getting called and that I have the right permissions to
write to the event log, but no error entry. I do see the 'you got an
error' web page from ASP.NET.

I do have a user configured for this site for SQL Server access, that's
why I'm impersonating. But I haven't even set that up for this test
site. Out-of-the-box identity impersonation with anonymous access and
windows authentication should impersonate as IUSER_machine.

What might be happening here? Something to do with multiple processors?

Thanks for reading!

-Brian

Jul 21 '06 #1
0 1472

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

Similar topics

9
by: Susan Bricker | last post by:
I am currently using the OnDirty event of a Form to detect whether any fields have been modified. I set a boolean variable. Then, if the Close button is clicked before the Save button, I can put...
3
by: Kathy Burke | last post by:
Hi. Totally lost on this one (ok, I admit I'm USUALLY lost!). All works fine in dev environment (P4, localhost server IIS, XP Pro) Asp.net and .Net 1.1 In order to access doc files needed for...
1
by: Edward Yang | last post by:
I setup web.config with impersonation="true". On our local server the project works great. I did the same procedures on our staging server, but it failed with an impossible error: Server Error in...
2
by: joeted | last post by:
Hello, I am trying to run a batch file on a (remote) .NET server (i'm not the admin) using system.diagnostics.process I find that the batch file is successfully executed. However, when i...
2
by: franzhe | last post by:
Hi all, in a simple ASP.Net application with resources in satellite assemblies I have the following problem: If I set <identity impersonate="true"/>, accessing a culture specific resource...
0
by: steven | last post by:
I have an asp.net webapp running on W2K server with .net framework 1.1 The intranet-app supports 2 languages: dutch (fallback language) and french. The choice is made with 'Request.UserLanguages'...
6
by: Meena Desai | last post by:
Hi, What are the effects of using <identity impersonate="true"/> in web.config on windows auhtentication? Does it affect windows security? Thanx in advance, Meena.
3
by: Raghuram | last post by:
Hi, What is the use of <Identity Impersonate="true" /> How can we implement this in an ASP.NET application When are we supposed to use this. please provide me the details with an Example....
2
by: G Dean Blake | last post by:
I have a textbox in an ItemTemplate of a grid I'm using to allow users to change a value. I've done it a hundred times. In this project I have it returns the original amount even though the user...
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
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...
1
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
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...
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,...
1
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...
0
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...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.