1

我最近在 Windows 2008 机器上安装了 webmatrix。我使用 webmatrix 安装了 dotnetnuke,我使用服务器上的浏览器访问了该站点,完成了该站点的安装,一切正常。

然后我在 IIS 中创建了一个站点,并将其指向我安装 dotnetnuke 的文件夹。

当我使用我的域名和服务器上的浏览器在端口 80 上访问该站点时,它会将我带到安装页面。当我使用远程计算机访问该站点时,它显示“此站点当前不可用,请稍后再回来查看”。然而,当我在 iis express 上访问它时,它运行良好!

怎么了?

谢谢!

4

1 回答 1

2

There are a number of things that could be going on at this point.

  1. Incorrect permissions - Ensure that the ASP.NET Worker Process has full permissions to the DotNetNuke directory. (With IIS Express, you are using your user account IIRC)
  2. Incorrect database access - Ensure that the connection information is correct for the database. As with the above, if the connection for example has a "Integrated Security=true" option defined, you will need to either change this to a SQL account or add the ASP.NET worker Process user to have permissions
  3. It could be a missing Portal Alias, but the current versions of DNN don't have the same issue as you use to.
  4. ALso make sure that the UsePortNumber option in the web.config is set to false.
于 2012-05-27T21:10:39.610 回答