HomeHomeGetting StartedGetting StartedInstalling DotN...Installing DotN...FAQ: Moving a DNN installationFAQ: Moving a DNN installation
Previous
 
Next
New Post
2/7/2007 4:53 PM
 

As a follow up on this blog post, i will use this postto answer frequently asked questions about "how to move a dnn installation from one pc/server to another". If you have any questions that you feel are not answered here or in the original post, please just start a new thread in this forum and i will pick them up. If you feel i am not prompt enough.. you can always remind me on my support mail: support@apollo-software.nl. Please point to this thread in your mail, so i know where you come from....

Q. What if one is developing on an XP box and deploying to an IIS shared hosting situation?
A. It doesn't matter what version of IIS you are using, just copy over all files from the root of your dnn instance down. ie. if your local site is located in c:\inetpub\wwwroot\dotnetnuke, just copy all files under the dotnetnuke folder to the root of your hosting environment

Q. What if one is using SQL Server Express rather than SQL 2005?
A. The only difference would be if you are using a SQL Server Express user instance. From the top of my head, you could convert such a db to a real sql server database, after which the procedure is the same as i described. If you want to know how to convert a user instance, have a look at this article: http://msdn2.microsoft.com/en-us/library/bb264564.aspx

Q. How does one move a single portal from a DNN database to another, especially when the portal ID has to change, and you don't want to lose any portal content in the database?
A. The simple answer is: you can't. You will run into numerous problems. It is not possible to insert an existing dnn portal into another dnn install. The only option would be to use the portal export feature, however, that is far from optimal. Even then: links to files in your portal (for instance images in text/html module will use the following path: /portals/[portalid]/[filename]. If the portal id changes, you would need to fix all references manually)

Q. What if i am restoring a site on a different server, the URL of the restored site is different, and i did not add the new http alias in the old site?
A You can manualy add a new portal alias by entering  new record in the table PortalAlias. Enter the proper PortalID (0 for your first portal), and a proper alias (whithout "http://" ). You need to do this before you browse to the new site for the first time. DNN caches the entries in the PortalAlias table, so if the record is added after the first request to the site it will not be seen. Should this happen (ie, you are redirected back to the URL of the old site), just recycle the app pool, or reset IIS to clear the cache completely.


Erik van Ballegoij, Technology Lead and Evangelist for DotNetNuke corporation, based in Amsterdam, The Netherlands.

Everything I say on these forums is my own opinion and does not necessarily reflect that of DotNetNuke Corp.
Check out the training sessions at DotNetNuke world. Learn from the Experts!
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DotN...Installing DotN...FAQ: Moving a DNN installationFAQ: Moving a DNN installation


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.