kentico在使用局域网ip访问的时候提示Missing license或者Invalid website
Posted Chuck Lu
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了kentico在使用局域网ip访问的时候提示Missing license或者Invalid website相关的知识,希望对你有一定的参考价值。
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
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
以上是关于kentico在使用局域网ip访问的时候提示Missing license或者Invalid website的主要内容,如果未能解决你的问题,请参考以下文章
我用的WampServer2.0i的环境搭建了一个mediawiki的百科,局域网通过ip访问遇到奇怪的问题了。