| Author |
Message |
jbeteta
Joined: 14 Apr 2011 Posts: 1
|
Posted: Thu Apr 14, 2011 6:23 pm Post subject: How to profile a .NET web app? |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Mon Apr 18, 2011 9:22 am Post subject: |
|
|
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. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
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