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