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 ...DNN (V. 4.3.6) Local installation problemDNN (V. 4.3.6) Local installation problem
Previous
 
Next
New Post
1/29/2007 1:07 PM
 
Hi, I have installed a copy of my site (www.quadrantearte.com) in my portable PC: I have Downloaded all files from web site and have restored a backup of MS SQL DB from web site to locale. Now, if I call the home page from local site, The DNN system  show me this error:

Server Error in '/QA_Locale' 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:

Line 73: 
Line 74: 'Determine the Upgrade status and redirect to Install.aspx
Line 75: Select Case GetUpgradeStatus()
Line 76: Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade
Line 77: If AutoUpgrade Then

Source File: H:\QA Locale\App_Code\Global.asax.vb    Line: 75

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Common.Utilities.Config.GetConnectionString(String name) +47
DotNetNuke.Common.Utilities.Config.GetConnectionString() +78
DotNetNuke.Data.SqlDataProvider..ctor() +83

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache) +232
DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +571
DotNetNuke.Data.DataProvider.CreateProvider() +39
DotNetNuke.Data.DataProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
DotNetNuke.Common.Globals.GetUpgradeStatus() +65
DotNetNuke.Common.Global.CheckVersion() in H:\QA Locale\App_Code\Global.asax.vb:75
DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in H:\QA Locale\App_Code\Global.asax.vb:252


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

How I can resolve the trouble?
Thanks, Ave.
 
New Post
2/11/2007 2:27 AM
 
I have this problem too.  As yet I have not solved it.  I had a quick look at the code and getupgradestatus is a global function rather than any object so I'm not sure where the error is coming from.
 
New Post
2/14/2007 10:48 AM
 
This problem is also happening with DNN 4.1.1.

It installed fine as a new installation on my localhost machine, but fails with this message after an upgrade of a 3.1.1 system on the server.  I installed 4.1.1 separate from the old 3.1.1 installation and copied over all the portal folders and performed the updates to the web.config (release.config) spelled out in the installation documentation.

-- Colin
 
New Post
2/14/2007 10:34 PM
 
Same problem in dnn 4.4.1.
Was just about to post to this forum, when I discovered the error in my config file: when copying the

<providers>
        <clear/>
        <add
          name="SqlDataProvider"
          type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider"
          connectionStringName="SiteSqlServer"
          upgradeConnectionString=""
          providerPath="~\Providers\DataProviders\SqlDataProvider\"
          objectQualifier=""
          databaseOwner="dbo"/>
      </providers>

from my original config to the upgraded one, I by accident duplicated the <providers></providers> tags like this

<providers><providers>
        <clear/>
        <add
          name="SqlDataProvider"
          type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider"
          connectionStringName="SiteSqlServer"
          upgradeConnectionString=""
          providerPath="~\Providers\DataProviders\SqlDataProvider\"
          objectQualifier=""
          databaseOwner="dbo"/>
      </providers>      </providers>

This is a valid config! But not one the App understands!

Hope my mistake helps some one out there!
 
New Post
2/15/2007 7:25 PM
 
Thanks for the post rven, but that doesn't help my particular problem.  Still having issues.

This is a SHOW STOPPER, people.  I have a very typical scenario, just trying to update an older version, having no code modifications at all.  You'd think someone on the development team would have responded with something  by now.  Even just a note saying "someone's working on it" would be nice.  This is important.  There are people waiting on me to have this up.  Someone please tell us what's up.  It's unusable at this point.

-- Colin
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN (V. 4.3.6) Local installation problemDNN (V. 4.3.6) Local installation problem


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