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 ...I quitI quit
Previous
 
Next
New Post
7/10/2008 7:54 PM
 

This is starting to get crazy, I have done this so many times and I have wrote about it some many time in this forum and I keep getting conflicting information. I will try to write this in the most basic, plain format that I can think of. Step-By-Step turn-by-turn.

Before I did anything on the local server I upgraded the live production server to 4.8.4 and have verified this by checking the database (info obtained from posted on this forum)

It is on a W2K3 R2, using SQL Express 2005, .NET 2.0 and the latest 4.8.4 DNN download. We are setting up a local site, and importing the data from the live production site to the local site for development.

If I understand everything correctly using the install manuals (thanks Mitchel). The basics should be as follows.

I installed .NET and ASP.NET

I installed IIS

I Installed SQL Express and associated tools and toys to work with it

I then downloaded DNN 4.8.4 unzipped it using WinZip

I unzipped it into the C:\Inetput\webroot folder

I then configured IIS according to the manuals.

I changed all the permissions according to the manuals.

I then launched IE 6 and vided the web site so I can install DNN 4.8.4.

It installed and worked (eventually, but that is not important at this point).

So the latest installs are in the c:\inetpub\wwwroot folder with no virtual directory. I'm having to assign a port (8080) to the IIS site, because 80 is in use by another application that I can not change. So the local site is http://192.168.0.10:8080

With this working on the local server. I then visited the live production web site and downloaded the entire working web site.

I also did a backup of the SQL database.

I followed all the manuals and imported the database into the local copy of SQL Express.

Now I'm importing the LIVE DB in. I used the following to copy the DB in and it was successful:

RESTORE DATABASE RIVERFRIENDS
FROM DISK = 'C:\DotNetNuke\Microsoft SQL Database\riverfriends_backup_20082561130.bak'
WITH MOVE 'riverfriends_log' TO 'C:\DotNetNuke\DotNetNuke_log.ldf',
MOVE 'riverfriends_dat' TO 'C:\DotNetNuke\DotNetNuke_dat.mdf'

Processed 3880 pages for database 'RIVERFRIENDS', file 'riverfriends_dat' on file 1.
Processed 3 pages for database 'RIVERFRIENDS', file 'riverfriends_log' on file 1.
RESTORE DATABASE successfully processed 3883 pages in 15.916 seconds
(1.998 MB/sec).

I then Changed the PortAliase to 192.168.0.10/dotnetnuke

I added the correct users to the new database.

Copied the data from the old install (skins ...) to the new install (local)

I copied the Desktopmodules from the live server to the new install (local)

I did the same with portals/0

I copied the  DLL’s from the BIN folder on the live server to the new install (local)

I then did the same with the app_code folder.

I then Verified permissions again for the Network Service account to have full control and propagate throughout the subfolders

I then verified that my webconfig connection info was correct (below).

<connectionStrings>

<!-- Connection String for SQL Server 2000/2005 -->

<add name="SiteSqlServer"

connectionString="Server=SERVER1\SQLEXPRESS;Database=RIVERFRIENDS;uid=dotnetnuke;pwd=dotnetnuke;"

providerName="System.Data.SqlClient" />

</connectionStrings>

<appSettings>

<!-- Connection String for SQL Server 2000/2005 - kept for backwards

compatability - legacy modules -->

<add key="SiteSqlServer"

value="Server=SERVER1\SQLEXPRESS;Database=RIVERFRIENDS;uid=dotnetnuke;pwd=dotnetnuke;"

/>

So, after three weeks, I'm still no farther along that I was before. However I did discover that using the phrase "I can't log on" will get you the silent treatment faster that yelling Hi Jack! on a plane will get you shot.

So I have two issues, one is the Module Load Warning (yes the modular have been placed in the DesktopModules folder and the permissions are correct. I must be missing a key secret to getting the modules to load.

I’m not trying to create any strange mutant. I simply want to get a local copy of the live 4.8.4 web site running. The whole “mutant” thing came from a mistake of using an old database that I was given vice making a backup myself. The above steps have been performed twice each time starting from scratch. I can duplicate this every time as of late, so I must be missing something.

 

Thanks

Joe

 
New Post
7/11/2008 1:58 AM
 

Joe, try the following as it's always worked for me when I've been wanting to do what you're trying to do. In fact it's very similar with the exception of a couple of steps.

  1. Either wipe out your current install/database or we'll just try a new site (your choice).
  2. Copy the current production install into the directory of your choice (a blank directory, no previous DNN versions installed)
  3. Restore the database to a fresh database install make sure the proper user has the permissions to the database etc. (I find on database restores sometimes the database user account needs to be wiped out and readded as it attempts to use the user from the production server instead of the development user)
  4. Change the connection strings to point to your local database
  5. Edit the PortalAlias table to point ot your development install.
  6. Let it rip.

Essentially this is the same as what you've done except we're not worrying about getting an install of DNN working on your dev machine before attempting to copy the files/database over. You already know that DNN will work on your dev system so all we're trying to do is get an exact mirror of the production site going. I've done this numerous times with multiple portal installs and have had great success.

One other thing I want to ask. You say that you can't logon.....Is that because your getting a Module Load Warning or is it something else? Just wondering if the two are tied together.

 
New Post
7/11/2008 11:38 AM
 

Ditto to what Mike said.  My process is the same.  Joe, I'm going to say it one more time, "The process you're following is flawed."  Forget the local install of 4.8.4 and quit trying to copy down select folders from the live production site and copying them into the local install.  This is the self-imposed frustration  I mentioned and the reason you have spent way to much time to accomplish your original goal.  Please read and reread my previous post.

I repeat again, "Your process is flawed."  Stop installing dnn 4.8.4 locally unless you're just wanting to verify that your dev environment is set up properly for a dnn installation.  If you sucessfully install it locally once and it works, then wipe that install off the face of the earth and zip up the root installation of your live site, back up the db and follow the instructions in my previous post or Mike's last post.

And you don't need to keep repeating what you're doing, we've got it.  Try it instead the way we're suggesting.

Paul

 
New Post
7/11/2008 11:44 AM
 

Thats nice that the process is flawed, but telling someone that and not providing advice is just as flawed. Every guide posted states that you need to get the install working first, that is why I followed the "flawed" process, so my process is not flawed. The posted, reposted and posted again process listed on this forum is then flawed. However I will be 100% happy to give the method Mike posted a try.

Mike, Thanks for giving information and not just words of encourangement.

Joe

 
New Post
7/11/2008 12:56 PM
 

Hi Mike,

Need some advice please?

Is it possible to move content to production without installing dnn on the production server? If so, how would I go about it.

I would appreciate any input on this.

regards,

Rajesh

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...I quitI quit


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