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

Installation 数据库中不存在域名Windows Vista,installation,dotnetnuke,Installation,Dotnetnuke,我正试图在本地计算机(Windows Vista)上安装DOTNETNUKE模型,但似乎在安装数据库后立即遇到问题。不确定要去哪里解决问题,也不确定下一步需要做什么。有人知道我该怎么处理吗?提前谢谢 DotNetNuke Error -------------------------------------------------------------------------------- Domain Name Windows Vista Does Not Exist In The Dat

我正试图在本地计算机(Windows Vista)上安装DOTNETNUKE模型,但似乎在安装数据库后立即遇到问题。不确定要去哪里解决问题,也不确定下一步需要做什么。有人知道我该怎么处理吗?提前谢谢

DotNetNuke Error -------------------------------------------------------------------------------- Domain Name Windows Vista Does Not Exist In The Database DotNetNuke supports multiple portals from a single database/codebase. It accomplishes this by converting the URL of the client browser Request to a valid PortalID in the Portals database table. The following steps describe the process: Web Server Processing When a web server receives a Request from a client browser, it compares the file name extension on the target URL resource to its Application Extension Mappings defined in IIS. Based on the corresponding match, IIS then sends the Request to the defined Executable Path ( aspnet_asapi.dll in the case of ASP.NET Requests ). The aspnet_isapi.dll engine processes the Request in an ordered series of events beginning with Application_BeginRequest. HttpModule.URLRewrite OnBeginRequest ( UrlRewriteModule.vb ) The Request URL is parsed based on the "/" character A Domain Name is constructed using each of the relevant parsed URL segments. Examples: URL: http://www.domain.com/default.aspx = Domain Name: www.domain.com URL: http://209.75.24.131/default.aspx = Domain Name: 209.75.24.131 URL: http://localhost/DotNetNuke/default.aspx = Domain Name: localhost/DotNetNuke URL: http://www.domain.com/virtualdirectory/default.aspx = Domain Name: www.domain.com/virtualdirectory URL: http://www.domain.com/directory/default.aspx = Domain Name: www.domain.com/directory Using the Domain Name, the application queries the database ( Portals table - PortalAlias field ) to locate a matching record. Note: If there are multiple URLs which correspond to the same portal then the PortalAlias field must contain each valid Domain Name in a comma seperated list. Example: URL: http://localhost/DotNetNuke/default.aspx URL: http://MACHINENAME/DotNetNuke/default.aspx URL: http://209.32.134.65/DotNetNuke/default.aspx PortalAlias: localhost/DotNetNuke,MACHINENAME/DotNetNuke,209.32.134.65/DotNetNuke Note: If you are installing the application to a remote server you must modify the PortalAlias field value for the default record in the Portals table according to the rules defined above. DotNetNuke错误 -------------------------------------------------------------------------------- 数据库中不存在域名Windows Vista DotNetNuke支持来自单个数据库/代码库的多个门户。信息技术 通过将客户端浏览器请求的URL转换为 Portals数据库表中的有效PortalID。以下步骤 描述过程: Web服务器处理 当web服务器收到来自客户端浏览器的请求时,它会比较 目标URL资源上的文件扩展名指向其应用程序扩展名 IIS中定义的映射。 根据相应的匹配,IIS然后将请求发送到定义的 可执行路径(对于ASP.NET请求,为aspnet_asapi.dll)。这个 aspnet_isapi.dll引擎以有序的事件序列处理请求 从应用程序开始。 HttpModule.URLRewrite OnBeginRequest(UrlRewriteModule.vb) 请求URL基于“/”字符进行解析 域名是使用每个相关的解析URL段构造的。 示例: 网址:http://www.domain.com/default.aspx =域名:www.Domain.com 网址:http://209.75.24.131/default.aspx =域名:209.75.24.131 网址:http://localhost/DotNetNuke/default.aspx =域名:localhost/DotNetNuke 网址:http://www.domain.com/virtualdirectory/default.aspx =域名:www.Domain.com/virtualdirectory 网址:http://www.domain.com/directory/default.aspx =域名:www.Domain.com/directory 应用程序使用域名查询数据库(Portals表)- PortalAlias字段)来查找匹配的记录。 注意:如果有多个URL对应于同一门户,则 PortalAlias字段必须在逗号分隔的列表中包含每个有效域名。 例子: 网址:http://localhost/DotNetNuke/default.aspx 网址:http://MACHINENAME/DotNetNuke/default.aspx 网址:http://209.32.134.65/DotNetNuke/default.aspx PortalAlias:localhost/DotNetNuke,MACHINENAME/DotNetNuke,209.32.134.65/DotNetNuke 注意:如果要将应用程序安装到远程服务器,则必须 修改门户中默认记录的PortalAlias字段值 根据上述规则创建的表。
很难判断安装的状态。我假设数据库是在安装期间创建和填充的

首先,看看桌子

dbo.PortalAlias
如果您计划在本地IIS上运行/调试,那么您应该有一个HTTPAlias的条目

localhost/YOURVIRTUALDIR

安装时,可能没有执行最后一步,即门户的默认安装。在类似的情况下,当我选择“自定义”安装时,我发现缺少最后一步,但没有产生错误


解决方案:重新安装(删除所有内容或安装到新位置,在重新安装之前使用另一个数据库或删除此数据库),然后为联机向导选择“自动”安装。这将起作用,包括创建默认门户。任何自动配置的内容都可以在以后进行更改。

我知道这可能已经很晚了,但对于任何有此问题的人, 在我确保更新了db中的“门户别名”表,使其具有HTTP别名(对于我的本地主机,我将其设置为localhost:8089,这与我在针对DNN网站的IIS绑定中设置的相同),门户ID为0(因为我的门户ID为0), 我正在检查是否已使用数据库连接字符串更新了web.config文件,但后来我意识到web.config中有两个数据库连接点,我缺少其中一个。 因此,请确保将两个连接更新为:

1) <connectionStrings>
2) <appSettings>
1)
2) 

希望这能有所帮助。

我的PortalAlias表和我的Portal表都是空的。应该是这样吗?空的绝对是错误的。您使用的是SQLServer还是express单文件MDF?我使用的是SQLServer企业版。