Red Gate forums :: View topic - error reporting - Store reports locally
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

error reporting - Store reports locally

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
xavier



Joined: 29 Sep 2011
Posts: 4

PostPosted: Fri Sep 30, 2011 1:51 pm    Post subject: error reporting - Store reports locally Reply with quote

Hi,

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
_________________
Regards,

Xavier
Back to top
View user's profile Send private message
james.davies



Joined: 19 Apr 2011
Posts: 46

PostPosted: Mon Oct 03, 2011 1:03 pm    Post subject: Reply with quote

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 (http://www.red-gate.com/supportcenter/Content?c=SmartAssembly%5chelp%5c6.2%5cSA_UsingTheCommandLine.htm&p=SmartAssembly)
4) View reports as normal using the Smartassembly GUI
_________________
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
Back to top
View user's profile Send private message
jedrzejm



Joined: 25 May 2012
Posts: 2

PostPosted: Fri May 25, 2012 9:52 am    Post subject: Store reports locally and send them with webservice later Reply with quote

Hi,

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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