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 ...Problem installing DNN: Object reference not set to an instance of an object. Problem installing DNN: Object reference not set to an instance of an object.
Previous
 
Next
New Post
3/23/2007 7:22 AM
 

Hi!

I have downloaded DNN Source, unziped the files and generated a virtual folder in ISS,
and changed the web.config file.
I have used the installation manual downloaded from DotNetNuke.com.

When I tries to install DNN, the error: Object reference not set to an instance of an object
when i load the install.aspx in my web browser (http://localhost/DotNetNuke_2/Install/Install.aspx?mode=install).

Can somebody help?

More information:

Line 378:                Server.ScriptTimeout = Integer.MaxValue
Line 379:
Line 380:                Select Case GetUpgradeStatus()
Line 381:                    Case Globals.UpgradeStatus.Install
Line 382:                        InstallApplication()
Source File: C:\Inetpub\wwwroot\DotNetNuke_2\Website\Install\Install.aspx.vb    Line: 380

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() +67
   DotNetNuke.Framework.Install.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\DotNetNuke_2\Website\Install\Install.aspx.vb:380
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

 
New Post
3/23/2007 2:21 PM
 

maybe you should use a web server (IIS) instead of a space plattform (ISS) :-D

On this server make sure, you use ASP.Net V 2.0 for you vDir.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/26/2007 7:54 AM
 

Hi, I'm having the exact same problem, although my virtual directory is set to use ASP.NET 2.0, and I still get the error.

Does anyone have an

 
New Post
3/27/2007 4:43 PM
 
Make sure your connection string properties are not commented out in the .config file.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem installing DNN: Object reference not set to an instance of an object. Problem installing DNN: Object reference not set to an instance of an object.


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