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 ...Portals error: Object reference not set to an instance of an objectPortals error: Object reference not set to an instance of an object
Previous
 
Next
New Post
3/16/2006 9:50 AM
 

Well, I deleted everything from my application's folder and uploaded everything again.  I edited the Web.config.  I set the permissions to give IUSR and NETWORK SERVICE to do anything they want and it appears as though the install runs but I get the following in my install:

00:00:10.328 -   Creating Portal: My Website
00:00:11.703 -   Error: INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_nuke_TabPermission_nuke_Permission'. The conflict occurred in database 'db157844877', table 'nuke_Permission', column 'PermissionID'. The statement has been terminated.
00:00:11.703 -   Portal failed to install:

For this install I did not delete and recreate my database.  I changed the ObjectQualifier to "nuke_" for this install.  I had previously used "dnn_".  Please God tell me I do not have to:

  • Delete my DB
  • Recreate my DB
  • Delete all files from my webserver
  • Upload all files to my webserver
  • Change Web.config

Isn't there a way to just replace the files and directories that were changed in my install attempt?  I never have success rerunning an install so that's why I always delete and start over.  I began trying to install this on sunday night and haven't gotten it to work yet.  This just isn't worth the aggravation.  Can anybody tell me the simplest way to get this running before I just give up?  Thanks.

 
New Post
3/16/2006 10:09 AM
 

Hey there bstaley,

That error you posted actually looks pretty good. :)  This next go around should be good for you.  Anyway you can try to just delete all of the entries (there should be one) in the portalalias table and then try the install again. 

If it were me though I would drop all of the user tables in the database and all of the sprocs and then re-try the install.

One of the things that some people do think about when giving permissions to the users for the folders, is to give permissions to the top folder and all the folders below. So even though the Portals directory gets created it ends up not having the permissions needed for installing other stuff.  :)

I hope that helps you out.

Cheers,

 


Paul Davis
 
New Post
3/16/2006 10:48 AM
 

YES!!!!!

It worked.  Thanks to everybody for the help.  I located a script to drop all user created object in sql and that saved me some time.  I cleared out the db, deleted dnn.config, reinstalled and it worked.  I am now looking at a portal and I can login.

One last question if you don't mind.  I haven't been able to get a clear understanding of the "portal" concept when dealing with multiple domains.  For example, if I have three domains (www.myDomain1.com, www.myDomain2.com, www.myDomain3.com) and they are currently each in a different folder on my 1and1 webserver, do I have to have a separate DNN install under each of them, or can one DNN install handle multiple domains?  Right now my DNN install is under the root of my webspace in a folder called "DotNetNuke".  I would like to be able to just point all of my domains at this one folder and have DNN direct them to their own portal website for that domain.  Is this possible?  Thanks again!

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Portals error: Object reference not set to an instance of an objectPortals error: 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