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  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  Restore DB, then Redirection Error.
Previous Previous
 
Next Next
New Post 11/19/2008 7:56 PM
Unresolved
User is offline ivanchain
6 posts
10th Ranked


Restore DB, then Redirection Error. 

 

Firstly, I want to know if anyone really sucsess to move a local DNN to a living site. I see a lot of threads here, the answer is always to restart the IIS, or check the file permision, or the portalalias......Now I have two question, please help!

1. Move the local DNN to a living site, fail to connect to the site, show "object reference not set to an instance of an object" Error of the SetSite()

My step:

a. xcopy all the web file to the right place of living site.

b.Modify the webconfig to write in the right DB connection string.

c.back up the sql server 2000 db to a bak file, and restore it in the living site.

d.I have checked the conection of db, it's ok.

e.I have checked the file folder permision, it's ok.

f. I changed the portalAlias table to add my living site to it, like wd.dwe.com, without "http://"

But when I try to connect to the site, it throw the Error:object reference not set to an instance of an object" Error of the SetSite().

 

2. It took me a whole night, I am so angry, so I just take another test to install a DNN 4.8 directly on my living site, you know, what's funny:

a. I set up the DNN 4.8 directly on my living site, it's ok.

b. I connect to the new site in my IE, it's ok too.

c. I backup the db and the files, and delete all the files and db.

d. I restore the db and the files back, and try to connect to the site in IE again, but it meets a redirection error!! The IE try to redirect to the wd.dwe.com again and again, but the site could not be shown!

 

thank you very much, I have spends over 11 hours on this, please give me some tips.

 

yours,

ivan

 

 

 

 

 

 

 
New Post 11/21/2008 5:08 AM
User is offline Stuart - Hilbert Solutions, LLC
690 posts
www.getyourowntots.com
7th Ranked


Re: Restore DB, then Redirection Error. 

Ivan,

I have moved DNN sites hundreds of times and have always gotten them to work.   So it can be done.

Your migration process seems correct.

As you mentioned there are two places that ususally trip people up.

1. PortalAlias table.  You need to scrub out all of those old Alias from the dev site.  They aren't any good and will cause hiccups.   Once you scrub them out.  You will need to at least Restart the Application through the Host Menu.

2. The second thing is permissions.  when applying the permissions make sure you include all children folders and files in the permissions.  This has tripped me up more than once.

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A Dotnetnuke System Integrator
From Module Development to Project Management, your one stop Dotnetnuke Shop
 
New Post 11/22/2008 1:53 AM
User is offline ivanchain
6 posts
10th Ranked


Re: Restore DB, then Redirection Error. 

Stuart,

I have known what happened to my moving.

1.it's nothing about the permision and prrtalaias table. that's both right.

2. it's about the url location. The local site I point many link of page, which has an URL like: /install48/tableid.aspx. But the living site install my portal not at the install48 location, but the root position. So the URL need to be changed to: /tableid.aspx. But, I found that the URL recorded in the files still point to /install48/, so it's IMPOSSIBLE to scucess if you want to moving a living site with the diffrent location!

3. I think this problem is very bad, beacuse most of us will create the site in a develop machine(localhost) and then moving it to the production machine(living site). But the living site is sometimes provided by vendor, so it's impossible to ask the vendor give you a name location as you need. So you will always meet the problem.

yours,

ivan

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  Restore DB, then Redirection Error.
 


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.

 


IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net
$7.16/mo - Powerful DotNetNuke / DNN Hosting
Powerful DotNetNuke / DNN Hosting on Windows 2008 and 2003 servers, starting at under $8/mo with FREE SQL 2008 on certain plans and FREE SQL 2005 on all plans with FREE Installation and expert support.
www.re-invent.com
ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com

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