Hi everyone! This will probably be something stupid but here it goes... :)
I have a dnn website already setup on a laptop which runs Microsoft SQL Server 2012 (Not Express).
I am trying to set it up on a desktop which runs Microsoft SQL Server 2012 Express.
When I try to enter my access my website I get the following error:
Server Error in '/' Application.
Object reference not set to an instance of an object.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Common.Globals.get_Status() +114 DotNetNuke.Common.Initialize.CheckVersion(HttpApplication app) +218 DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app, Boolean& initialized) +173 DotNetNuke.Common.Initialize.Init(HttpApplication app) +186 DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication.Application_BeginRequest(Object sender, EventArgs e) +259 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +228 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +101 |
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.79.0
What I've done so far is:
1) Copied the code of the whole website from the laptop.
2) Got a backup from the laptop and restored it succesfully into the desktop.
3) Fixed the web.config connection strings for the desktop (since the data source is not ./MSSQLSERVER2012 any more but ./SQLEXPRESS instead)
4) I fixed IIS so that the website application pool is .NET 4.0 / Managed Pipeline : Integrated / Identity : Local System (like the one i had on the laptop).
Any possible explanations for this error??