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 from WS 2008 to WS 2012Moving from WS 2008 to WS 2012
Previous
 
Next
New Post
7/25/2013 2:44 PM
 

I am trying to move a DNN site (Community ie. platform) from a Windows Server 2008 server to a Windows Server 2012. I've always had a bit of a beef with how DNN documents this sort of move, which doesn't seem like it's fantastically uncommon. I've struggled to find any good information on this - indeed, the "sticky" on this forum for moving a site is, er, from 2007. I don't see the point :)

Anyway, gripe over - down to business! So, how would I go about this? I have a fully backup (database and files) from my WS 2008 server. I've restored the database, copied the files and created a new web site to point to the folder with the files. I'm expecting issues from this point forward, based on history.

The first one is not unexpected, I guess. I receive a 500 (internal server) error when I launch http://localhost. I am sure that's because there is something in the web.config that WS 2012 version of IIS doesn't like. But I can't see any clue as to what this might be. How would I go about investigating this?

By the way, because moving from WS 2008 to WS 2012 can't be terribly unusual, I'd love to know if there are any step-by-step guides to doing so. Something that is a bit more recent than 2007 :)

Thanks in advance.

Mark

 

 
New Post
7/25/2013 9:54 PM
 
I moved my dnn install several times but didn't do it 'manually'.

I used Evotiva Backup which has a restore pack and it makes it really easy to do it.

I know it's not the steps you asked for, but I figured I'll share just in case you get stuck it's good to have second option.
 
New Post
7/27/2013 11:58 PM
 
Thank you,. Robert. After all this time DNN still seems to fragile and flaky when it comes to installation, backup/restore, moving, etc. Indeed, it's got so frustrating for me that I have started researching other platforms.

That said, Evotiva looked interesting and so I bit the bullet and purchased it. I ran through the backup on the source database and then restored on my target machine. Then I launched the browser - and hit exactly the same issue I had before I purchased the product.

I must admit, I had hoped/assumed that Evotiva would have the smarts to know about web.config differences between the source and target servers but it seems to not have that. So, sadly, I'm back at square one and $70 worse off (just to be clear - that's my fault, not yours. I researched and made the decision to purchase and I appreciate the suggestion).

So, a few days in I still can't move to my new server. Drupal? :)

Thanks.

Mark
 
New Post
7/28/2013 4:00 AM
 
Mark,

I moved DNN installations several times, upgrading the OS from Windows 2000+ to 2012-, and also upgrading SQL Server from 2000+ to 2012- without any problems. I never experienced any "fragility" or frustration, so let's explain how I did it (I assume you have DNN and SQL Server on the same machine, otherwise let me know).

1) Make a backup of the SQL Server database.
2) Make a backup of the files - you can do this by zipping the file system, only to have less files to copy from one server to the other. I use 7zip for that, as the internal windows zip/unzip mechanisms seems to a bit unreliable sometimes at least they have been in the past), and if you use the 7z-format instead of the zip-format, you can really have a very strong compression.
3) On the new server, install SQL Server and IIS. Be sure to activate the necessary features in IIS, at least these are the required .Net frameworks, and for some reasons you might need some IIS 6 compatibility (there are some extensions around that need it, I don't know if you use any of them) - whatever is activated on your Windows 2008 server you should activate here.
4) In IIS manager, create an Application Pool. Assigne the necessary .Net framework, and make sure to set it's identity to AppPoolIdentity. Let's call it "DNNAppPool" (you may call it what you want, but I'll use "DNNAppPool" as a reference below)
5) Restore the database.
6) Create a login (in SQL Server Security - the "main" one, not the Security option under the restored database!). The name of the login is "IIS AppPool\DNNAppPool" (or whatever you called the AppPool in step 4).
7) In the properties of this login, assign a "db_owner" mapping for the restored database.
8) In the file system, create a folder (C:\DNN or D:\MySite or whatever) and assign "Modify" permissions to the user "IIS AppPool\DNNAppPool" (see above).
9) Unzip the site into this folder. Using an editor, open the file web.config and adjust the connection string (using integrated security, and changing the server name to the new SQL Server instance). Save web.config
10) In IIs manager, create a new site, pointing to the created folder. Assign the Application Pool created in step 4, and the double click "Authentication" (in this site). Make sure "Anonymour Authentication" is activated, edit "Anonymous Authentication" and set the account from "Specific" to "Application Pool Identity".

Your're done. (And I hope I did not forget anything).

Best wishes
Michael

Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Moving from WS 2008 to WS 2012Moving from WS 2008 to WS 2012


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