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 ...objectQualifier questionobjectQualifier question
Previous
 
Next
New Post
3/14/2006 7:48 PM
 

Here is the objective.  I want to have 2 DNN sites using the same database.

Assumptions:
1. I have a functioning DNN installation in a directory called "home".  There is no "objectQualifier" here, so the database objects are created with no prefix.

Steps:
1. Create a new directory called "storetest".  Set permissions on directory, set to use ASP.net 2.0, etc.
2. Copy fresh DNN files into directory.
3. Rename release.config to web.config and plug in the connectionstring.  I know the connectionstring is valid because it's the same one I use for my functioning DNN site.
4. Set the objectQualifer to "store_".
5. Restart IIS
6. Run the www.whatever.com/storetest/ website, which redirects to /install/default.aspx?mode=Install

Results:
1. I get a message stating "cannot find store_GetPortalId()".
2. If I refresh, I get a message:
  Nothing To Install At This Time
  Current Assembly Version: 04.00.02
  Current Database Version: 04.00.02

So what gives?  I've verified that no database objects were created with the "store_" prefix, so I have no idea why the second time it says "nothing to install".  I've also verified that the "InstallationDate" key doesn't exist.

Of course I don't know why the first time it immediately tried to execute "store_GetPortalId()" function without first creating it. 

This is extremely frustrating, I'm trying to set up a demo for a client, but my ISP has given me only 1 database I can use.  Somebody must have already bumped heads with this issue already...

 
New Post
3/15/2006 1:12 AM
 
I am not sure what else to check.  I will do some digging and see what I can come up with.

Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
3/16/2006 3:01 PM
 

Anybody out there successfully installed two DNN installations into the same database?

As I see it, it seems like a vaporware promise.  Sure some underlying code is there to support it, but in practice it doesn't work, certainly not "as advertised" where you can just change the "objectQualifier" and let it install.

I'm curious to talk to somebody who's actually done it to find out what steps I am missing.

 
New Post
3/16/2006 4:03 PM
 

OK, after doing a little digging (and chatting with Shaun), here is what we think will fix this issue:

After completing the initial install, remove (delete, rename, etc) the dnn.config file from the install directory ([SITE_ROOT]/Install/dnn.config) of the subsequent DNN installs.

Let me know if this resolves the issue or not.


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
3/16/2006 4:23 PM
 

If you mean the /install/ directory of the second website I am trying to create, then no such file exists.

The closest filename is DotNetNuke.Install.Config.  I renamed that, with no success.

Now when I go to "/Install/Install.aspx" it tells me there is nothing to install at this time.

But when I try to go to the website directly (default.aspx) it tells me :

    The stored procedure 'dbo.storetest_GetPortalAliasByPortalID' doesn't exist.

No stored procedures have been created with the "storetest_" prefix.  So why won't the installer do it for me?  Is there another way to run the DDL and set up a DNN website other than the built-in Install.aspx method?

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...objectQualifier questionobjectQualifier question


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