?
Solved

problem writing exceptions to Access

Posted on 2004-09-10
3
Medium Priority
?
198 Views
Last Modified: 2010-04-15
Hi,

I'm trying to nail down a bug which has been nagging me, so I decided to log any and all exceptions to Access.  Trouble is that I can't seem to get a Memo field to accept the exception, which is chocked filled of special characters.

Any ideas about how to get such a chunk of text into Access?  Or if you know any other way to accomplish my goal of logging an exception, I'd really appreciate it.


Thanks,
Bob
0
Comment
Question by:ba272
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 20

Expert Comment

by:TheAvenger
ID: 12025666
Do you want to log only the message? If so, you can use a simple Text field. It takes less memory and is much easier to handle. Just make its size 255 (I think this is the maximum) and you will be able to save at least 99.99% of the messages (the other 0.01% will be too long and will be cut)
0
 
LVL 8

Accepted Solution

by:
Razzie_ earned 2000 total points
ID: 12026597
'which is chocked filled of special characters.'. Are you saving the Exception.Message and not trying to save the Exception object itself?
0
 

Author Comment

by:ba272
ID: 12027734
Thanks.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question