License fails to load



I am having issues with my licenses on my machine. My old one expired but the new one gives me a generic: "A error occured while loading the license file.".

Doing a Google search reveals that it might be an access rights issue, but the new file has the same rights as the previous. I even copied the content of the new into the old, and still I get this error, so I don't think it's a rights issue. I have tried multiple licenses but each valid one gives me the above error message. Only my old one generates another error message, saying it's expired. I'm stuck at what I can do and would be glad to have some assistance.



Aug 16, 2019 15:26

Same problem. Seems to be a problem with the signature/checksum of the license file.

Debug log:

EPiServer.Licensing.LicenseException: A error occured while loading the license file. ---> EPiServer.Licensing.LicenseException: License signature is corrupt [Malformed element SignedInfo.]
││   at EPiServer.Licensing.IO.LicenseReader.GetSignedXml(XmlDocument document, RSA key)
││   at EPiServer.Licensing.IO.LicenseReader.Read(XmlDocument document, RSA key)
││   at EPiServer.Licensing.LicenseData.Load(Stream stream, String licenseName, RSA key)
││   at EPiServer.Licensing.LicenseData.Load(String fileName, String licenseName, RSA key) 
Aug 16, 2019 15:53

Thanks for replying Robert. It's good to know that I'm not alone.

Aug 16, 2019 16:01

Seems like the XML namespace and Algorithms have been changed from HTTP to HTTPS, but without regenerating the signature/checksum. A temporary workaround is to edit the license file and change xmlns and the three Algorithm keys from https to http and save the file.

Edited, Aug 16, 2019 16:35

seems like this is an issue with licenses generation itself... known issue. have you reported back to Episerver?

Aug 24, 2019 1:02