Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Moving Site to LocalhostMoving Site to Localhost
Previous
 
Next
New Post
6/6/2016 5:47 PM
 

I have taken a backup of my site and would like to setup a development site on my local computer running windows 7 / IIS.

I have restored the database to SQL Server and copied all of the files into the following folder on my computer:
C:\inetpub\wwwroot\dotnetnuke

 When I try to pull up the site I get the following error message. Can anyone tell me what I am missing?

Internet Information Services 7.5

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 0x8007000d
Config Error
Config File \\?\C:\inetpub\wwwroot\dotnetnuke\web.config
Requested URL http://localhost:85/dotnetnuke
Physical Path C:\inetpub\wwwroot\dotnetnuke
Logon Method Not yet determined
Logon User Not yet determined
Config Source
   -1: 
    0: 
Links and More Information This 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/7/2016 9:30 AM
 

A. Change the web.config to connect to your local database.

B. Change the url in the PortalAlias table in SQL Server

Make sure the url is also in the Bindings on your website in IIS

 
New Post
6/7/2016 10:01 AM
 

Thanks for the reply.I am still unable to view the site however.

 This is what I have in web.config

  <connectionStrings>
    <!-- Connection String for SQL Server 2005/2008 Express -->
    <add name="SiteSqlServer" connectionString="server=localhost;database=mydb;uid=myusername;pwd=mypassword;" providerName="System.Data.SqlClient" />
  </connectionStrings>

I changed the url in the PortalAlias table in SQL Server to the following:
localhost/dotnetnuke

I am unable to add the same url to the bindings in IIS because it contains illegal characters.
Am I supposed to add something else there?

 

 
New Post
6/7/2016 11:33 AM
 
Your original post has port 85 in the request. Is that correct? If so why?

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
6/7/2016 12:01 PM
 
Yes, that is correct I am using port 85. I already have another site running on port 80.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Moving Site to LocalhostMoving 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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out