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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Moving site from local Starter Kit to Source Package on host - how?Moving site from local Starter Kit to Source Package on host - how?
Previous
 
Next
New Post
6/7/2007 11:55 AM
 

I'd like to know what's the best way to upload my local DNN 4.5.3 (Starter Kit Package with VS.NET 2005) website to my hosting DNN 4.5.1 (Source Package)?I've done it sofar by hand but I have experienced some problems, especially with paths and the database configuration. I'd like to be able to develop local websites using VS.NET 2005, and when it's ready to go live, run some script that uploads the files, database information, and a transparent way for paths so that they don't need to be modified (VS.NET handles paths in a different way than DNN does, and then there's the different file structure between DNN versions of the same build). TIA, Pieter

 
New Post
6/7/2007 2:25 PM
 

First of all if you want to have ANY luck migrationg data in this fashion you must be on the same version of DNN 4.5.3 to 4.5.3 or 4.5.1 to 4.5.1.  Anything else will just create more issues.

As for keeping links and everything working.  You will want to avoid hard coding any links if you are planning on migrating data, and you will also want to ensure that you do not overwrite the portal alias table when migrating data.

Personally this is a very risky thing to do unless you overlay your dev environment over the production environment as you could have unsynchronized information.  Especially information where modified user and other types of information like that are tracked.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
6/8/2007 2:25 PM
 

Hi Mitchel, thanx for your reply. I also think it's a risky job, but worth to try. Uploading content like images is easy, but if you also have javascript that injects script in pages and uses certain controls on the page, then things quickly get very tedious when talking host site actualizations.

The one thing to note for new users like me is that you appearently cannot expect the Starter Kit to install the same way as the Source Package does. But then again... from a developer's point of view I would expect a way since the Starter Kit is so easy to set up using VS.NET 2005, and should be transferred easily to the host.

Then my next Q would be: so why on earth are they so different? There's no reason why they should be so different, and I'd kindly suggest to the different teams looking at how to make the versions more interoperable. It should be possible to transfer a DB (and templates, images, script files, etc.) to a Source Package that our host installed for us (I have no way of running a VS.NET 2005 generated website on my host, I did try it but there's no way it connects to the DB in App_Data), and just changing the connection string and site alias would suffice. Or if it's more complicated then a Wizard would do the various things to check before transfer occurs.

Now I'm thinking: I have to install the Source Package of 4.5.3 locally first, then I may be lucky just by copying the database into App_Data, and then modifying the connection string and site alias? Would that work? If so, then I have local and host site sincronized, and can freely update the database etc. on the host. Would that work? Anyone who has experience doing this?

 
New Post
6/8/2007 3:22 PM
 

The big difference is that your database was dynamically attached, you will need to get it so you can manipulate it via SQL Server Management Studio then you can back it up, then you can have your hosting provider restore it for you.

To move it out to them after it has been attached you will simply need to modify the connection strings in the web.config and ensure that you have a portal alias set correctly.

You can have a look at my backup and restore/move documents to show you the general process for it.

As for merging data into an existing installation, that isn't a easy item and personally cannot be done easily or without a major amount of risk.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Moving site from local Starter Kit to Source Package on host - how?Moving site from local Starter Kit to Source Package on host - how?


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