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 ...copy DNN website to another machinecopy DNN website to another machine
Previous
 
Next
New Post
9/16/2010 8:17 AM
 
Hey all,

I am trying to have a copy of the website I currntly building in order to put it on my laptop to work back at home,

so I've walked through like I do usual with ordinary other .NET projects I develop at my work (other than DNN technolgy open CMS), as follows:

 - I took a copy of the website and paste it in the C:\Inetpub\wwwroot   under IIS folder, and changed the initials in the webconfig file to connect to the SQL client of my laptop.

- regarding the DB, I took a back up from my PC and restore it into my laptop.

then I run the website, and things I think should goes smoothly, but the browser couldn't open the website and should a msg: IE can't display the webpage.

I searched about suc a thread but could't find a similar case, so how could I resolve this issue??

on the other hand as a try and error scenario, I kept the initilas at the webconfig at my laptop copy to point to the first original DB on other first PC, and I run the project, and it opened me the installation wizared with an error exception log thing... so what is the best practices here regarding making a copy of our DNN projects!?!

Thanks in Advance
 
New Post
9/16/2010 11:41 AM
 
You followed the steps correctly, even updating the web.config after you copied the files over.  I can think of two problems:

1) IIS is not configured properly on your laptop.  To test this forget about DNN and put a simple hello world html page in the DNN folder.  If your URL for DNN is http://localhost/dnn then your hello world test would be http://localhost/dnn/helloworld.html  Get that working, then you'll know IIS is correct.

2) Your portal aliases may not be configured properly.  e.g. you may be connecting to localhost on your laptop but at work you connect to http://computername.  Check the portal aliases table and make sure the alias you use on your laptop is in the table.  A good indication that it's wrong is if the url in your browser changes when you try to connect.

3) I know I said two, but thought of one more.  The error will be different, but there might be a permissions error too.  Make sure you give the proper permissions on the files in the DNN folder after the copy.  When I copy from one machine to another I usually have to update the permissions.
 
New Post
9/19/2010 8:43 AM
 
Thanks Bro fo rthe hints,

but I did add a helloworld.html file and the IIS saw it,

secondly, in my DNN project, logging in as a host>> site sittings>> portal settings>> add new portal, I added the portal that I saw in my laptop, lets say that the first portal to run at the PC is : localhost:1340/dnn
and I added the one I saw when I run it at my laptop which is : localhost:1144/dnn

then I copied the project and paste it again at the C:\\intpub\wwwroot folder
and restored the DB again

and run it agian but it gave me the following err:

{{{ string sql = String.Concat("Update {databaseOwner}{objectQualifier}PortalLocalization Set LoginTabId=NULL Where PortalId=", portalSettings.PortalId); }}}

okay, lets say on the other hand at the IIS I set the portal when I've added the website to 1340 and run the project

but still the same above err ?!!
 
New Post
9/21/2010 5:13 PM
 
Just curious, are the port numbers there because you're running in debug mode or is this how you set things up in IIS? I just use http://localhost or if I have two sites http://localhost/dnn an http://localhost/dnn_test.
 
New Post
9/21/2010 10:56 PM
 
Hi Khamios,

I run into the same problem too. I run DNN as localhost:81/dotnetnuke on my laptop. I deploy to production server as www.mysitename.com then got thhis error.

I'm curious to know whether you have found a solution for this. Please updade here if you have.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...copy DNN website to another machinecopy DNN website to another machine


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