Red Gate forums :: View topic - Thread aborted when profiling ASPNET app
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Profiler Previous Versions
ANTS Profiler Previous Versions forum

Thread aborted when profiling ASPNET app

Search in ANTS Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
nfallon



Joined: 20 Jan 2009
Posts: 1

PostPosted: Tue Jan 20, 2009 5:25 pm    Post subject: Thread aborted when profiling ASPNET app Reply with quote

I'm trying to profile my ASP.NET app and am getting a "Thead aborted" error in the browser only when I'm using the Profiler.


Can I see a log from the Profiler or something to show where it's failed?

Interestingly a different version of my app does profile successfully. The difference between the 2 is that one makes calls to an Assembly
generated by ourselves, could it be possible the Profiler cannot work with our custom Assembly. The Assembly itself was written directly from our own custom compiler.

My Event Log shows the following:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 20/01/2009
Time: 16:03:07
User: N/A
Computer: MYPC
Description:
Event code: 3001
Event message: The request has been aborted.
Event time: 1/20/2009 4:03:07 PM
Event time (UTC): 1/20/2009 4:03:07 PM
Event ID: 60a9ae1462de4799b787962ee83ebba7
Event sequence: 28
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/ROOT/server-2-128769407589635458
Trust level: Full
Application Virtual Path: /server
Application Path: c:\inetpub\wwwroot\server\
Machine name: MYPC

Process information:
Process ID: 1392
Process name: aspnet_wp.exe
Account name: MYPC\ASPNET

Exception information:
Exception type: HttpException
Exception message: Request timed out.

Request information:
Request URL: http://localhost/server/aspx/app.aspx?EncCode=E
Request path: /server/aspx/app.aspx
User host address: 127.0.0.1
User: logonTicket
Is authenticated: True
Authentication Type: Forms
Thread account name: MYPC\ASPNET

Thread information:
Thread ID: 1
Thread account name: MYPC\ASPNET
Is impersonating: False
Stack trace:


Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6580

PostPosted: Thu Jan 22, 2009 6:08 pm    Post subject: Reply with quote

I can't say for sure what's happening based on the evidence, but I would look into security -- maybe when you are profiling the security environment makes it impossible to load your assembly into the application.

ANTS Profiler launches ASP .NET applications in IIS under the SYSTEM account, so this account would need read access to the folder containing your assembly.

Alternatively you can use the Development Web Server option, which runs as your desktop login, or change the identity of the "ANTS Performance Profiler Service" or "ANTS Memory Profiler Service" in the services control panel. That will make the web application start as the user you specify instead of SYSTEM.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group