The website runs on a cluster of 2 windows servers running Windows 2012 R2 and receives requests via a load balancer. The servers are located in one geographic location, and the website is not publicly accessible.
The license file is loaded in global.asax as follows:
- Code: Select all
public class Global : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
...
FileInfo licenseFile = new FileInfo( HttpContext.Current.Server.MapPath( "~/License/Spire.License.xml" ) );
Spire.Doc.License.LicenseProvider.SetLicenseFileName( licenseFile.FullName );
}
The website provides functionality to convert Word documents to PDF's and concatenate them prior to printing.
Most of the time this works fine, but occasionally a warning message is printed on the document:
"Evaluation Warning: This document was created with Spire.Doc for .NET."
How do we get rid of this warning?