Problem with moving 7.4 site to production server
Last Post 04/06/2015 5:39 AM by Chris Oldgeorge. 2 Replies.
Author Messages
Chris Oldgeorge
Nuke Newbie
Nuke Newbie
Posts:1


--
04/03/2015 9:26 AM  
Greetings, I'm experiencing a weird object ref error after trying to move a portal to a new server. The portalAliases are correctly defined, database connections work fine (since I can see the error logged), but despite all my efforts, the dread "DNN Error" page persits and I can't access the migrated site.

The error is as follows:

Object reference not set to an instance of an object.

at DotNetNuke.Entities.Portals.PortalSettingsController.ConfigureActiveTab(PortalSettings portalSettings) at DotNetNuke.Framework.DefaultPage.InitializePage() at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Unless I am missing some step from other times I've done this process, this must be something related to version 7.4. Any ideas or suggestions?
Joseph Craig
DNN MVP
Posts:11667


--
04/04/2015 3:04 PM  
Chris,

Nothing comes to mind immediately.

I assume that you have 7.4 running on one server and that you've simple copied it to the new server. Is that right.

Is there any difference between the two servers? What, in terms of SQL Server and IIS.

I would start by re-copying the web directory. If you moved the files with a zipped folder, make sure that it was unblocked before you extract the files.

If you drop an index.html file in the directory, is that shown correctly? What appout an app_offline.htm file? The first checks web pages in general and the second verifies that ASP.NET is working correctly.

What else can you tell us?

Joe Craig, Patapsco Research Group
Complete DNN Support
Chris Oldgeorge
Nuke Newbie
Nuke Newbie
Posts:1


--
04/06/2015 5:39 AM  
It was probably a permissions issue, or some issue with the host's control panel that mistakenly showed the app_pool mode as integrated pipeline, while it wasn't. Re-uploading everything and setting a new pool from scratch seemed to fix the core issues.

Now having some trouble with localization, but I haven't pinpointed the issue yet. Thanks for your time


---