不同的结果在IIS前preSS和IIS [英] Different result in IIS express and IIS
问题描述
我最近安装在Windows 2008机器上WebMatrix中。
我安装了DotNetNuke的使用WebMatrix中,我使用服务器上的浏览器访问该网站,安装完现场,一切都工作得很好。
I recently installed webmatrix on a windows 2008 machine. I installed dotnetnuke using webmatrix, I visited the site using a browser on the server, finished installing the site, and everything works just fine.
我比创建在IIS网站,并指出它在那里我安装的DotNetNuke的文件夹。
I than created a site in IIS, and pointed it at the folder where I installed dotnetnuke.
当我访问使用我的域名和端口80上与我的服务器上的浏览器的网站,它带我到安装页面。当我使用远程计算机访问该网站,它说:这个网站是当前不可用,请稍后再试。然而,当我访问它在IIS的前preSS,它完美的作品!
When I visit the site using my domain name and on port 80 with a browser on my server, it takes me to the install page. When I visit the site using a remote computer, it says "This site is currently Unavailable Please check back later". Yet, when I visit it on iis express, it works perfectly!.
什么是错的?
谢谢!
推荐答案
有一些事情,可能在这一点上怎么回事。
There are a number of things that could be going on at this point.
- 不正确的权限 - 确保ASP.NET辅助进程具有完全权限DotNetNuke的目录。 (在IIS前preSS,您使用的用户帐户IIRC)
- 不正确的数据库访问 - 确保连接信息数据库是正确的。正如上述,例如,如果连接有一个集成安全性=真正的定义选项,您将需要更改该到SQL帐户或添加ASP.NET工作进程的用户有权限
- 这可能是一个缺少门户别名,但是当你使用DNN的当前版本不会有同样的问题。
- 另外,还要确保在web.config中UsePortNumber选项设置为false。
这篇关于不同的结果在IIS前preSS和IIS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!