This feature is available in SmartAssembly Professional only.
You can set up a custom web server for error reporting and feature usage reports. This changes SmartAssembly, so that reports are sent to a web service running on your own server, rather than the default one operated by Redgate.
Most users of SmartAssembly do not need a custom web server. However, if you build applications for internal use in your company, and your company has a firewall that would prevent communication with the Redgate-hosted web service, you will need to use a custom web server.
The custom web server is distinct from the SQL server. The custom web server hosts the web service to which reports are sent before they are downloaded to your SQL server or .mdb file:
The role of the web service for error reports:
The role of the web service for feature usage reports:
To set up a custom web server:
Create a folder on the web server, which is not publicly accessible.
This folder is where reports are stored when they are uploaded. The web service must have write access to the folder and its sub-folders.
In the example below, the physical path for the reports folder is c:\MyCustomWebServer\. Edit the server's web.config file to add this location:
<configuration> ... <appSettings> <add key="ReportsFolder" value="c:\MyCustomWebServer\" /> </appSettings> ... </configuration>
The custom web service logs any errors that occur by default. The error logs are stored on your web server in the directory where the SmartAssembly web service was installed.
The logs are created using log4net. For information about how to configure logging, see Configuration in the log4net manual.
If required, you can disable error logging in the custom web service. To do this: