Different result in IIS express and IIS

大城市里の小女人 提交于 2019-12-11 08:27:34

问题


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.

I than created a site in IIS, and pointed it at the folder where I installed dotnetnuke.

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

What is wrong?

thanks!


回答1:


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.


来源:https://stackoverflow.com/questions/10766228/different-result-in-iis-express-and-iis

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