The RAD PDF Admin Tool can be used to configure the RAD PDF System Service.
Maintenance Settings
Maintenance can be run at a set interval specified by "Maintenance Interval". It is recommended to keep this value 1 hour or less (and significantly less than "Remove Not In Use Document Records" / "Remove Unused / Error PDF Records").
Maintenance can timeout after a period of time specified by "Maintenance Timeout". It is recommended to keep this value 10 minutes or larger (scaling for the size of your database and expected system performance).
Maintenance, when run, uses a seperate "Maintenance Connection String" to connect to the RAD PDF database.
|
Typically this is something similar to what is used in your ASP.NET setup, for example: Server=.\SQLExpress;Database=RadPdf;Trusted_Connection=Yes; If left blank or invalid, the RAD PDF System Service will add a warning to the Windows "Application" event log. |
Maintenance, when run, can add a log to the Windows Application Event Log (allowing the server to keep an informational record of all maintenance run).
Removal of "Expired Keys" is highly recommended. Expired document keys can no longer be used to access documents and therefore should be removed to speed up the lookup of active document keys.
Removal of "Old Print Renderings" is highly recommended. Old print renderings will not be used for printing (as pages will be re-rendered for documents printed again) and therefore should be removed to save space.
Removal of "Not In Use Document Records" is optional. Only documents without active document keys will be removed. This setting is useful if a document is not expected to be loaded again using the LoadDocument method.
Removal of "Unused / Error PDF Records" is optional. Only PDFs without document references will be removed. This setting is useful if a given PDF is not expected to be opened again using the CreateDocument method.
All maintenance settings will not take effect until the RAD PDF System Service is restarted.
WCF Settings
"Impersonation" can be used when the RAD PDF System Service receives messages from a web application using RAD PDF. This can ease database setup if Windows authentication is used by the connection string in the web.config. If a username and password is specified in the command string, this setting can still be used to reject messages from users without execute permissions on the local server or in the server's domain. Ideally, these unwanted external messages are blocked at the firewall level.
The "Default Port" used by the RAD PDF System Service is TCP 18104. If an alternate port is specified here, appropriate changes to the web.config file used by RAD PDF should be made.
System Service
The RAD PDF System Service can be restarted by clicking "Restart Service".