Technical support This forum is closed.
Version 1.x > Technical support > License Key Error and Database Error View modes: 
User avatar
Member
Member
astajl - 2/20/2006 8:58:55 AM
   
License Key Error and Database Error
Hello,

I use Kentico CMS 1.7b(.Net 2003) upgrade from 1.7a. I found 2 problems.

<u>Problem 1</u>
Kentico CMS usually returns License Key Error Page although my License key is correct (it's a permenant key, not trial version key). If I restart the server machine, the problem disappears. Otherwise, this problem lasts for about 30 mins, even I close all IE and open new IE again.

<u>Problem 2</u>
If I new a record of book, the BookID (pri key) should auto increase 1. However, the pri key fail to do so, and the Identity attribute of BookID is reset.
I use MS SQL 2000

User avatar
Guest
admin - 2/20/2006 9:05:38 AM
   
Re: License Key Error and Database Error
Hello,

Problem 1:

This usually happens if you use some domain name or IP address to access the web site, but you do not have an appropriate license key in your web.config. Please generate license keys for all possible domains that can be used with this web site and place them to your web.cofing, into the CMSLicenseKey value.

Since version 1.8, the license key is checked for every request, so it doesn't block the web site if you do not have a license key for some special domain/IP.

Problem 2:
I'm not sure about this, but you may want to set the identity for this attribute manually in MS SQL 2000 Enterprise Manager.

Best Regards,

User avatar
Member
Member
astajl - 2/20/2006 10:50:57 AM
   
Re: License Key Error and Database Error
Hello,

Problem 1:
http://www.mydomain.com/
http://www.mymirror.com/
http://111.222.111.222/
if i want to access the system by the above 3 urls, then I have to generate 3 keys, and put all those keys inside web.config like the following, right?
<add key="CMSLicenseKey" value="XXX" />
<add key="CMSLicenseKey" value="YYY" />
<add key="CMSLicenseKey" value="ZZZ" />

Problem 2:
Let me clarify my problem.
I create a document template, e.g.Comics, then I want to create 2 new comics instances e.g. Batman Vol. 100 and Spiderman Vol. 88 by the previous 'Comics' template.
You may assume that after creating Batman instance, the ComicsID will auto increase by 1, but I don't know why it fail to do so, so when I create Spiderman, cms returns error.
Then, I check the table 'CONTENT_Comics', I found that the Identity attribute of pri key was reset, why this happen?

User avatar
Guest
admin - 2/21/2006 4:34:53 PM
   
Re: License Key Error and Database Error
Hello,

Problem 1:
you need to place all license keys in to one value, separated with a semicolon, like this:

<add key="CMSLicenseKey" value="XXX;YYY;ZZZ" />

Problem 2:
Unfortunately, I'm not sure why this happend since we cannot reproduce it.

Best Regards,