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 ...Install on host. Object reference errorInstall on host. Object reference error
Previous
 
Next
New Post
7/30/2009 1:53 PM
 

I uploaded the 5.0 community edition of DNN to my hosting provider and set all the perms i could but when i access the site i get the following on Default.aspx

Object reference not set to an instance of an object. 

The last few lines of the stack are:

Line 81:             ComponentFactory.InstallComponents(New ProviderInstaller("profiles", GetType(DotNetNuke.Security.Profile.ProfileProvider)))
Line 82:             ComponentFactory.InstallComponents(New ProviderInstaller("permissions", GetType(DotNetNuke.Security.Permissions.PermissionProvider)))
Line 83:             Dim provider As DotNetNuke.Security.Permissions.PermissionProvider = DotNetNuke.ComponentModel.ComponentFactory.GetComponent(Of DotNetNuke.Security.Permissions.PermissionProvider)()
Line 84: If provider Is Nothing Then Line 85: ComponentFactory.RegisterComponentInstance(Of DotNetNuke.Security.Permissions.PermissionProvider)(New DotNetNuke.Security.Permissions.PermissionProvider()) As far as i know, other people with my hosting provider haven't had many issues with the install but im not sure what version they are installing either though. Also, i had put in a helpdesk ticket with them but havent heard anything back yet. Any input would be great!

 

 
New Post
7/30/2009 10:23 PM
 

Object reference not set to an instance of an object.

That is a pretty generic error. I got the same error doing an upgrade from 5.0.1 to 5.1.1. In my case it was because I deleted all my original files and uploaded the 5.1.1 install version to do an upgrade. I forgot to copy back my Portals/0 folder and Portals/default/skins and Portals/default/containers.

 

I used the Install set instead of the Upgrade because I've had trouble using the Upgrade of previous versions whereas the Install always worked. This was first time I decided to start with a fresh Install of the application files, but upgrade the existing database. It worked fine once I copied those 3 folders.

 
New Post
9/3/2009 4:55 PM
 

I got the same error. Ended up being database connection strings in the web.config.

They have 2 conncection strings setup in <connectionstrings> and <appSettings> but there are additional ones below the "live" ones. long story short, realized that I made my connection string in the commented out section vs. within the proper tags. I corrected for both connection strings and worked.

HTH

Dave

 
New Post
2/8/2010 1:02 AM
 

I did the exact same thing.... did it in notepad so I didn't see the color change in the commented out lines.

 
New Post
2/22/2010 12:02 AM
 

I also had the same thing.  I had inadvertently changed the connection String to  'Name=DotNetNuke'... and AppSettings to  'Key=DotNetNuke'....

I changed then back to use 'SiteSqlServer'  as follows, and it worked:

<

connectionStrings>
   
<add name="SiteSqlServer" connectionString="Data Source=myPC\SQLExpress;Initial Catalog=DNNSkinning;User ID=demo;Password=xxxx" providerName="System.Data.SqlClient" />
</connectionStrings>

<

appSettings>
   
<add key="SiteSqlServer" value="Data Source=myPC\SQLExpress;Initial Catalog=DNNSkinning;User ID=demo;Password=xxxx" /></appSettings>

 

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install on host. Object reference errorInstall on host. Object reference error


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