.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 2nd, 2003, 02:07 AM
fig000 fig000 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 2 fig000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Priting call stack on error in asp.net

Hi,<br><br> I would like to print the call stack on an error in my applications to an error file. This is the same call stack that appears on the screen in an asp.net application when there is no try/catch logic implemented(including calling modules and the offending line in the erroring module). Does anyone have any advice on how to do this. Thanks,<br>Neil

Reply With Quote
  #2  
Old April 15th, 2003, 08:21 AM
bkalicharan bkalicharan is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 51 bkalicharan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 42 m 59 sec
Reputation Power: 6
Neil,<br><br>I can give a suggestion at this time, but not what do u want actually.<br>Page contains a property Page.errorPage, which redirects the user to that page, whenever an error occurs in that page.<br>U try to get the stacktrace in that page using Err Object.<br><br>Kalicharan.

Reply With Quote
  #3  
Old April 15th, 2003, 11:54 PM
fig000 fig000 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 2 fig000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Kalicharan,<br><br> Thanks for answerin. I will look into this since I am actually trying to create a generic error routine that calls an error page and writes to a log. I did eventually find that environment.stacktrace gives you every call that has occurred. It seems that exception.stacktrace only gives you the last call.<br><br>Thanks again,<br>Neil

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Priting call stack on error in asp.net


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT