"Site is currently unavailable" when Viewing DotNetNuke Site

DNN > Troubleshooting
Error "Site is currently unavailable" for Your DNN Website

Issue
When you attempt to access your site, you receive a "This site is currently unavailable" error, or a database error. Typing in the website address again may reveal additional information.

Cause
When this happens, it occurs because the DNN website is having problems communicating with its database. This may occur for one of a few reasons:
  • The site has a buggy module that has consumed all of the site's available SQL connections.
  • DNN inadvertently cached bad data and is not refreshing its cache.
  • The SQL user account is either disabled or not configured correctly.
Resolution 1 - Recycle the Application Pool
 
Recycling the Application Pool for Websites Using Plesk 12x
  1. Log into your Control Panel.
  2. Choose the correct subscription from the drop down menu in the upper right.
  3. Click on Subscriptions Tab. Then select your domain.
  4. Under Websites & Domains expand Show More
  5. Click on Dedicated IIS Application Pool for Your Websites.
  6. Click on the Recycle button.
Recycling the Application Pool for Websites Using Plesk 11x
  1. Log into your Control Panel.
  2. Choose the correct subscription from the drop down menu in the upper right.
  3. Click on Domains. Then select your domain.
  4. Under Websites & Domains expand Show Advanced Operations
  5. Click on Dedicated IIS Application Pool for Your Websites.
  6. Click on the Recycle button.
Recycle the Application Pool for Websites Using Plesk 9x
  1. Log into your Control Panel.
  2. Click on Domains. Then select your domain. (If the correct domain isn't listed, choose the correct subscription from the drop down menu in the upper right.)
  3. Under Additional Tools select IIS Application Pool.
  4. Select the Recycle button to recycle the application pool.
Resolution 2 - Delete and Recreate the Existing Database User
  1. Log into your Control Panel.
  2. Navigate to your domain's settings (refer to above steps depending on your Plesk version).
  3. Select Databases.
  4. Click on the database for your DNN installation.
  5. Check and remove any existing users.
  6. Click on Add Database User and enter a username and password for your new database user.
  7. Open your web.config file and locate the connectionStrings section. Find 2 lines that look like the following:
    1. <add name=SiteSqlServer connectionString=Server=(local);Database=<database_name>;uid=<database_username>;pwd=<database_password>; providerName=System.Data.SqlClient />
    2. <add key=SiteSqlServer value=Server=(local);Database=<database_name>;uid=<database_username>;pwd=<database_password>; />
  8. Change the values after uid=, and pwd= to equal the database username, and password you configured earlier.
Note: Deleting and recreating an existing user can often fix this problem.















 

Add Feedback