error reporting - Store reports locally

.NET obfuscator and automated error reporting

error reporting - Store reports locally

Postby xavier » Fri Sep 30, 2011 12:51 pm


I am wondering if reports have to be send as soon as an error is raised or is it possible to store the error on the client machine (db/file) for later use so the errors can be listed and send at a later time if required?

Thank you for your help

Posts: 4
Joined: Thu Sep 29, 2011 10:07 am

Postby james.davies » Mon Oct 03, 2011 12:03 pm

Yes, storing reports locally is possible. However the stored reports will be encrypted, so listing them may not be useful. The de-obfuscation information is stored on your SmartAssembly client (in the map file and database) and so the error reports need to be moved to the client to be viewed.

There is an example project provided with Smartassembly. It should be located C:\\Program Files\\Red Gate\\SmartAssembly 6\\SDK\\Exception Reporting\\4 Via Email

You need to
1) Save the reports using the SDK (using reportExceptionEventArgs.SaveEncryptedReport(fileName))
2) You can then send the reports by a means of your choice.
3) You then add the report to the SmartAssembly databse using the addreport command ( ... rtAssembly)
4) View reports as normal using the Smartassembly GUI
James Davies
Technical Support Engineer
Red Gate Software
Posts: 46
Joined: Tue Apr 19, 2011 1:39 pm

Store reports locally and send them with webservice later

Postby jedrzejm » Fri May 25, 2012 8:52 am


Computer with my software usually works off-line, but from time to time it is connected to network.
Is there any solution that I can achive something like this:
1. Save the reports using the SDK (using reportExceptionEventArgs.SaveEncryptedReport(fileName))
2. When computer goes on-line - application sends all the reports using webservice, so I don't need e-mails and this command line tool.

Can I use webservice directly? Is there any documentation for its methods?
Posts: 2
Joined: Fri May 25, 2012 8:08 am

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests