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 ...Restore DB, then Redirection Error.Restore DB, then Redirection Error.
Previous
 
Next
New Post
11/19/2008 10:56 PM
 

 

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 8:08 AM
 

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 DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
11/22/2008 4:53 AM
 

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
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Restore DB, then Redirection Error.Restore DB, then Redirection Error.


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