Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting e.stacktrace into database? (Problem)

Status
Not open for further replies.

Rogoflap

Programmer
Dec 15, 2003
6
US
I would like to instert that exception.stacktrace into the datbase.

I have written a routine to do this, but there seems to be a problem during the insert. the stacktrace ends up blank?

I have tried ntext for stacktrace string?
I have tried nvarchar(8000) for stacktrace string?

Any suggestions.....

Thanks,

Rog
 
You used the .ToString() method on it prior to putting it into your SqlParameter object, right?

Also -- In Query Analyzer, sometimes you need to adjust the row height in grid mode due to embedded carriage-return line-feeds.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top