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

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

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值