Learn More





Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Coping Live Site to LocalhostCoping Live Site to Localhost
New Post
6/17/2015 4:41 PM

I want to make a copy of my live site and install it on my local machine.
I have copied all of the files in the portals/0/ directory and made a backup of the database.
DNN is already installed locally. I am getting the following error when I try to view the site but am not sure what this means.


Error Summary

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x80070021
Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Config File \\?\C:\inetpub\wwwroot\dotnetnuke\web.config
Requested URL http://localhost:80/dotnetnuke
Physical Path C:\inetpub\wwwroot\dotnetnuke
Logon Method Not yet determined
Logon User Not yet determined
Config Source
   99:     </modules>
  100:     <handlers>
  101:       <remove name="WebServiceHandlerFactory-Integrated" />
Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

View more information »



New Post
6/18/2015 1:54 AM
Hi elvis

Instead of coping files to your local machine, take the whole database and project backup from live. Point the project from IIS with binding some IP.
Create new database from the backup. Specify that in the web.config. Now you can able to run the website from that IP.

Sunil Kumar [ DNN Developer, Mindfire Solutions,India ]
New Post
6/18/2015 9:28 AM
Ok. How would I take the whole database and project backup from live?
New Post
6/27/2015 7:46 AM

Hi elvis

My hosting provider have a web application, which can help to produce site backup and database backup and to download it. It would be better to address one's request to you hosting provider.
To restore your site locally you must have some experience in system, database and web administration, however.
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Coping Live Site to LocalhostCoping Live Site to Localhost

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?