Red Gate forums :: View topic - How to profile a .NET web app?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 7
ANTS Memory Profiler 7 forum

How to profile a .NET web app?

Search in ANTS Memory Profiler 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
jbeteta



Joined: 14 Apr 2011
Posts: 1

PostPosted: Thu Apr 14, 2011 6:23 pm    Post subject: How to profile a .NET web app? Reply with quote

Hello,

I try to profile a .NET web app that starts with a login page and connects to Oracle database.

On ANTS Memory Profiler 7 (AMP7), I set up the web page:

http://localhost/MySite/wf_login.aspx

And click start button.

This page has two boxes: UserId and Password

Then I fill UserId and Password. But software seems to hang because it does not go to next page. Supposedly wf_login.aspx should call wf_Page1.aspx, but it doesn't.

I thought that I could interact with my web app and navigate between different pages, while AMP7 does profile.

Or is it supposed that I have to call each page individually?

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



Joined: 23 Aug 2004
Posts: 6670

PostPosted: Mon Apr 18, 2011 9:22 am    Post subject: Reply with quote

Hello,

ANTS Profiler simply starts a new web worker process and you should be able to interact with it as normal. The problems it causes are
* permissions related: the app now runs as you
- it introduces unmanaged code, and that sometimes violates CASPOL and makes applications blow up
* sometimes it configures the website incorrectly
* crashes can happen in the core and take out the website
* if something closes the browser window (javascript), profiling will stop

Because IIS is designed to thwart hackers, it hides all of the information you need to fix the problem. You can try specifying the URL as localhost, that will sometimes get IIS to print a stack trace to the browser window.

If it were me, I'd assume it's permissions. Maybe your account needs access to the Oracle database.

Other than this, we have to go through the process of debugging the web application.

Sorry this is so difficult.
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