在Windows Vista上安装DNN后,清空Portals和PortalAlias表 [英] Empty Portals and PortalAlias table after installing DNN on Windows Vista

查看:103
本文介绍了在Windows Vista上安装DNN后,清空Portals和PortalAlias表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

localhost:81 上安装版本5.02.02作为新安装(运行不顺利,但最后确定可以)之后,出现以下错误打开网站时出现以下情况:

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:


数据库中不存在Windows Vista的域名

我的猜测是安装程序不喜欢 http:// localhost:81 或任何其他端口。检查 Portals PortalAlias 表后,两个表都为空。

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.


  • 是否可以交互地填充这些设置?

  • 如果没有,我应该如何填充手工处理它们,我应该注意哪些依赖性?简而言之:什么值去哪里?

  • 如果没有,在正常端口上重新安装到映射的域名(通过Windows主机文件)是否有帮助?编辑:不,它没有帮助

  • 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? no, it didn't help

我不确定由于端口不同而导致的错误。似乎DNN试图映射本地计算机域名,并希望将其填写在Portals表中,但这不是因为 localhost 与<$ c不匹配$ c> mymachine.example.host 。

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.

推荐答案

用户Brent 确实回答了这个问题,但后来删除了他自己的答案。由于它是正确的答案,因此我在这里重复:

The user Brent actually answered this question, but later deleted his own answer. Since it is the correct answer, I repeat it here:


我遇到了同样的问题,
找到了解决方案。

I was having the same problem and found a solution.


  1. 以主机身份登录,然后在管理员>网站设置下添加门户别名

  2. web.config取消注释:<添加密钥= UsePortNumber value = true />

  3. 在IIS中重新启动应用程序经理。

解决方案的详细信息在此有博客的极客博客

Details of the solution are in this Geeks with Blogs blog.

注意:除此之外,仍然需要手动添加门户和门户别名。手动添加它们后,重新启动Web应用程序(例如,触摸web.config)。

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).

这篇关于在Windows Vista上安装DNN后,清空Portals和PortalAlias表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆