Red Gate forums :: View topic - upload error reports from application
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

upload error reports from application

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



Joined: 04 Jul 2011
Posts: 3

PostPosted: Mon Jul 04, 2011 11:07 am    Post subject: upload error reports from application Reply with quote

Hi,

is it possible to upload error reports which have been saved to disk before?

The following scenario: We are selling a client/server software. The server is usually running on a machine in the internal network without direct internet access and without UI.
The idea is to provide a error reporting module which is saving the reports to disk and to provide a service which allows the user to download the data and to upload the reports from the client machine...
It is basically working by using your web services (i.e. Report.asmx) but the reports are not encrypted (i.e. they are XML files). Those files cannot be processed by the smartassembly executable (download fails).

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



Joined: 19 Apr 2011
Posts: 46

PostPosted: Tue Jul 05, 2011 5:18 pm    Post subject: Reply with quote

Can you please clarify the error reporting system you are attempting.

How can the user download the data from the server is there is no internet connection?

The SmartAssembly Error reporting system uses *.sareport files. These files are encrypted.

Custom error reporting requires the Professional edition. Descriptions and examples can be found in these articles
http://www.red-gate.com/supportcenter/Content?p=SmartAssembly&c=SmartAssembly%5chelp%5c6.0%5cSA_SDK.htm
http://sdk.red-gate.com/index.php/SmartAssembly_SDK
_________________
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
Back to top
View user's profile Send private message
james.davies



Joined: 19 Apr 2011
Posts: 46

PostPosted: Thu Sep 08, 2011 8:02 pm    Post subject: Reply with quote

This can be done by writing a custom error handling using the Smartassembly SDK:

The report can be saved to file using this OnReportException method. (see the “More information about the SDK samples” section of this page http://www.red-gate.com/supportcenter/Content?c=SmartAssembly%5chelp%5c6.2%5cSA_SDK.htm&p=SmartAssembly)

The file can be transferred. (e.g. USB stick to online machine then emailed)

The error report files can then be imported from the command line using the “addreport” command ( http://www.red-gate.com/supportcenter/Content?p=SmartAssembly&c=SmartAssembly/help/6.2/SA_UsingTheCommandLine.htm&toc=SmartAssembly/help/6.2/toc1479859.htm)
_________________
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
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