Search code examples
asp.netiiswindows-server-2008dotnetnukeiis-express

Different result in IIS express and IIS


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!


Solution

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