Knowledgebase : Flash Tutorials > DotNetNuke (DNN)

This is a 2-minute procedure to reset the DNN host password.

Follow the below steps accordingly.

1. Open the below link in the browser

https://www.evotiva.com/Downloads

2. Click on the folder “Free Utilities” and download the zip file LetMeIn
3. Unblock and extract the file
4. Copy the file LetMeIn.aspx and paste it inside the httpdocs of the domain
5. Call domain.com/LetMeIn.aspx
6. You will now view a page where you need to enter the new Superuser details.
7. Finally hit Create.
8. Remove the letmein.aspx file from your site(VERY IMPORTANT)

NOTE: Old username can’t be used (host). So, better put username as “host123” or something similar and also a strong password and enter the email id host@change.me

Here are the steps to update the Max File size that may be uploaded to a DNN Site.

1. Open the web.config file with your favorite text editor.
2. Update the httpRuntime tag with the maximum file size you want.  Look for the httpRuntime tag.

The default httpRuntime tag might look as follows:

<httpRuntime targetFramework="4.5" shutdownTimeout="120" executionTimeout="1200" useFullyQualifiedRedirectUrl="true" maxRequestLength="29296" requestLengthDiskThreshold="81920" maxUrlLength="2048" requestPathInvalidCharacters="&lt;,&gt;,*,%,:,\,?" enableVersionHeader="false" requestValidationMode="2.0" fcnMode="Single" />

Replace the value of maxRequestLength with the maximum file size you want.

maxRequestLength is stored as kilobytes. Example: You can use 2097152 KB (equivalent to 2 GB).

4. Save.

5. Recycle the application pool to allow the changes to take effect.

Setting “Under Construction” page to a DNN site

1.Take a backup of webfiles and database.

2. Paste the following code in a new text file.

<!doctype html>
<title>Under Construction</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>

<article>
<h1>Under Construction!</h1>
<div>
<p>Sorry for the inconvenience. We will be back online shortly!</p>
</div>
</article>

3. Save the file as “App_offline.htm”.
4. Copy the file to httpdocs folder of the domain.
5. As soon as the file is created, the web application will be shut down and the user only sees the content of the app_offline.htm file.
6. Call the site in browser and you will be viewing the under construction page.
7. After the work/update has been concluded, just delete or rename the file. You don’t need to create a new file every time for having the maintenance page.
Just rename it to App__offline.htm (e.g. with double underscore) and switch it back to App_offline.htm when needed it for the next update.

Note: You can edit the script given above according to the requirement.