zl程序教程

您现在的位置是:首页 >  工具

当前栏目

kentico在使用局域网ip访问的时候提示Missing license或者Invalid website

invalidIP 访问 提示 时候 或者 missing 局域网
2023-09-11 14:14:21 时间

Missing license

Requested URL: http://172.31.212.20/kentico10/ 

License status: Missing license 

If you're an administrator of this site, please go to Licenses and use the following domain name to add a valid license: 172.31.212.20 


How to get the license key

    • If you own a license and want to generate a license key, please log in to the Client Portal to generate the license key.
    • If you want to use the trial version of Kentico for evaluation purposes and wish to use a domain name other than “localhost” please contact support@kentico.com.
    • If you’d like to use the free edition of Kentico, please log in to the Client Portal to generate the license key for your domain.

kentico的cms数据库中,有一张表是dbo.CMS_LicenseKey

SELECT LicenseKeyID ,
LicenseDomain ,
LicenseKey ,
LicenseEdition ,
LicenseExpiration ,
LicenseServers FROM dbo.CMS_LicenseKey

比如如果使用本地的局域网地址172.31.212.20,就会遇到问题。因为数据表中没有为这个ip生成license。

这个问题,还可以通过设置站点的domain aliases来解决

 

对应的前端界面是下图,需要先去官网生成一个license key,然后加入网站

 

Invalid website

Either the website is stopped or the requested domain name is not configured for any website: http://127.0.0.1/Kentico10/CMSMessages/invalidwebsite.aspx

If you're an administrator of this site, you need to go to Sites and make sure the following domain name is configured either in the site properties or a domain alias of a running web site: 127.0.0.1

 找到对应的site,设置domain aliases