License fails to load

Vote:
 

Hi,

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.

Thanks,

Tobias

#206368
Aug 16, 2019 15:26
Vote:
 

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) 
#206369
Aug 16, 2019 15:53
Vote:
 

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

#206370
Aug 16, 2019 16:01
Vote:
 

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.

#206372
Edited, Aug 16, 2019 16:34
Vote:
 

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

#206565
Aug 24, 2019 1:02
Vote:
 

hi, I seem to be experiencing simmilar issues, I keep getting A error occured while loading the license file

It is not related to permissions as I have them all the same as other files and the old license file. When old one is used I get correct message that MAC address is wrong.

However, when switching to newly generated Partner Developer license file (with proper permissions set) I keep getting  A error occured while loading the license file.

Any help appreciated.

#208305
Oct 21, 2019 10:45
Vote:
 

It might be because of  your Mail server security that changes the schema Urls. update your licence to start with this line

<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI="#Licensing"><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>

#223984
Jun 09, 2020 0:32
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.