Empty Portals and PortalAlias table after installing DNN on Windows Vista

泄露秘密 提交于 2019-12-12 04:06:55

问题


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.


回答1:


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.




回答2:


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:

I was having the same problem and found a solution.

  1. Login as Host, and add a Portal Alias under "Admin > Site Setting"
  2. In web.config uncomment: <add key="UsePortNumber" value="true" />
  3. Restart the app in IIS Manager.

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

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



来源:https://stackoverflow.com/questions/2207801/empty-portals-and-portalalias-table-after-installing-dnn-on-windows-vista

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!