问题
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.
- 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)
- 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
- It could be a missing Portal Alias, but the current versions of DNN don't have the same issue as you use to.
- 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