Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  I quit
Previous Previous
 
Next Next
New Post 7/10/2008 5:54 PM
User is offline SimplyJoe
27 posts
10th Ranked


Re: I quit 

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/10/2008 11:58 PM
User is offline Mike Horton
3272 posts
dnn.gmss.org
4th Ranked






Re: I quit 

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 9:38 AM
User is offline Paul Sellers
270 posts
9th Ranked


Re: I quit 

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 9:44 AM
User is offline SimplyJoe
27 posts
10th Ranked


Re: I quit 

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 10:56 AM
User is offline V_Rajesh
13 posts
10th Ranked


Re: I quit 

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 Previous
 
Next Next
  Forum  General DotNetN...  Install It!  I quit
 


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.

 


Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DNNCovered.com - Your Offshore Dotnetnuke Partner
Dnncovered.com is the only Dotnetnuke offshore outsourcing center specializes in DNN skinning and module development with lowest pricing and quality service. Our staff is dedicated to websites based on DNN and our graphic designers are creative and imaginative well enough to provide customers the complete set of skinning solutions and packages
www.dnncovered.com
PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP