KBA-01108: Corrupt license file can cause message: Failed to create page

Problem:

If the .LIC file that should contain a Spitfire license is corrupt or empty, various errors can result.  The errors include information such as the following.  Italic sections may vary.  Extraneous section of the message and stack track have been removed for clarity.

System.Web.HttpException: Failed to create page of type ‘_ASP.default_aspx‘.
System.Xml.XmlException: The root element is missing.
at …
at System.Data.DataSet.ReadXml(Stream stream)
at Spitfire.Licensing.ServerAssemblyLicenseProvider.GetLicenseData(Type type)
at Spitfire.sfPMS.PageClass

Solution:

Replace the license file with a valid one from Spitfire or delete the corrupt file.

Additional Comments:

If you delete the corrupt file, you should be able to run in evaluation mode until you obtain an updated production license. The type of errors covered in this document deal with a license file that no longer contains a well formed XML document.  Other errors, generally with clearer messages, can result if a license file is modified or loaded on a system for which it was not designed by Spitfire.


KBA-01108; Last updated: October 12, 2016 at 13:48 pm;
Keywords:  XmlException;LicenseManager