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 ...SERVER ERROR IN '/' APPLICATION. (SETTING UP EXISTING WEBSITE ON ANOTHER PC)SERVER ERROR IN '/' APPLICATION. (SETTING UP EXISTING WEBSITE ON ANOTHER PC)
Previous
 
Next
New Post
8/13/2015 2:57 PM
 

 

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??

 

 
New Post
8/13/2015 7:46 PM
 
first: please make sure, all settings of IIS website and IIS application pool meet the previous setup
second: compare file system permission for both websites
third: I hope, with "Copied the code of the whole website" you mean that you transferred all files inside the DNN website folder.
forth: you will need to add the new domain name as website alias into PortalAlias table inside the database (please be careful, you need to know, how to modify data in existing tables). If you just add the new address as alias, you also need to make sure, the new address is primary alias (and all others are not, for each language), if using advanced URLs.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...SERVER ERROR IN '/' APPLICATION. (SETTING UP EXISTING WEBSITE ON ANOTHER PC)SERVER ERROR IN '/' APPLICATION. (SETTING UP EXISTING WEBSITE ON ANOTHER PC)


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