在 Windows Vista 上安装 DNN 后清空 Portals 和 PortalAlias 表
在 localhost:81 上安装 5.02.02 版本作为新安装后(运行不顺利,但最终OK),打开网站时出现以下错误:
数据库中不存在 Windows Vista 域名
我的猜测是安装程序不喜欢 http://localhost:81
或任何其他端口。检查Portals和PortalAlias表后,两个表都是空的。
- 有没有办法以交互方式填写这些设置?
- 如果没有,我应该如何手动填写它们以及我应该注意哪些依赖关系?简而言之:什么价值去哪里?
如果没有,在正常端口上重新安装到映射的域名(通过 Windows 主机文件)是否有帮助?编辑:不,它没有帮助
我不确定错误是由于不同的端口。似乎 DNN 尝试映射本地计算机域名并希望将其填充到 Portals 表中,但没有这样做,因为 localhost
与 mymachine.example.host< /代码>。
After installing version 5.02.02 on localhost:81
as a new installation (which didn't run smooth but OK'ed in the end), the following error came up when opening the site:
Domain Name Windows Vista Does Not Exist In The Database
My guess is that the installer doesn't like http://localhost:81
or any other port. After checking the Portals and PortalAlias tables, both came up empty.
- Is there a way to fill these settings interactively?
- If not, how should I fill them by hand and what dependencies should I watch out for? In short: what values go where?
If not, would it help to reinstall to a mapped domain name (via windows hosts file) on a normal port?EDIT: no, it didn't help
I'm not certain the error's due to the different port. It seems as though DNN tries to map the local machines domain name and wants to fill it in in the Portals table, but doesn't because localhost
doesn't match mymachine.example.host
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
大多数此类错误都是权限/配置问题造成的,我建议尝试按照 这篇文章。希望这会对您有很大帮助。
Most of the errors like this are result of permission/configuration problems, I would recommend to try creating a new website by following this article. Hopefully that will help you a lot.
用户Brent实际上回答了这个问题,但后来删除了自己的答案。既然这是正确的答案,我在这里重复一遍:
Brent 的回答:
注意:除此之外,仍然需要手动添加门户和门户别名。手动添加它们后,重新启动 Web 应用程序(例如,触摸 web.config)。
The user Brent actually answered this question, but later deleted his own answer. Since it is the correct answer, I repeat it here:
Answer by Brent:
NOTE: In addition to this, it is still necessary to add the portal and the portalalias by hand. After adding them by hand, restart the web application (touch web.config, for instance).