简体   繁体   English

在 IIS 中制作网站时出错

[英]error While making Website in IIS

I am New to dnn.我是 dnn 的新手。 I am trying to make a Website in IIS7.我正在尝试在 IIS7 中创建网站。 But this Shows a Followinf error.但这显示了一个 Followinf 错误。 HOw this error will be removed error:如何删除此错误错误:

omain Name experiment Does Not Exist In The Database数据库中不存在域名实验

DotNetNuke supports multiple portals from a single database/codebase. DotNetNuke 支持来自单个数据库/代码库的多个门户。 It accomplishes this by converting the URL of the client browser Request to a valid PortalID in the Portals database table.它通过将客户端浏览器请求的 URL 转换为 Portals 数据库表中的有效 PortalID 来实现此目的。 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.

I think your are trying to host website in server where you don't have a domain called "Experiment".我认为您正在尝试在没有名为“Experiment”的域的服务器中托管网站。 Check the last line given in your question: "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."检查问题中给出的最后一行:“注意:如果要将应用程序安装到远程服务器,则必须根据上面定义的规则修改 Portals 表中默认记录的 PortalAlias 字段值。” So check the values in PortalAlias table and specify the domain name (localhost may work).因此检查 PortalAlias 表中的值并指定域名(localhost 可能有效)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM