upload error reports from application

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

upload error reports from application

Postby sreindl » Mon Jul 04, 2011 11:07 am

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
sreindl
 
Posts: 3
Joined: Mon Jul 04, 2011 11:02 am

Postby james.davies » Tue Jul 05, 2011 5:18 pm

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/C ... SA_SDK.htm
http://sdk.red-gate.com/index.php/SmartAssembly_SDK
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
james.davies
 
Posts: 46
Joined: Tue Apr 19, 2011 2:39 pm

Postby james.davies » Thu Sep 08, 2011 8:02 pm

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/C ... rtAssembly)

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/C ... 479859.htm)
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
james.davies
 
Posts: 46
Joined: Tue Apr 19, 2011 2:39 pm


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests