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 creating 2 instances dnn 455 not in root but in 2 subdirsproblem creating 2 instances dnn 455 not in root but in 2 subdirs
Previous
 
Next
New Post
8/13/2007 7:10 PM
 

Hi,

I have a problem with creating two instances of DNN4.5.5 not in the root website but in two subdirecties.

The situation:
- In my website root I have subdirectories. \tst and \prd
- Both subdirectories are set as applications.
- In my website root I have an isapi file that reroutes tst.mydomain.com to \tst and www.mydomain.com to \prd
- Both web.config files point to the same database. The only difference is the object qualifier.

When I try to install the dnn application, the following happens:

1) I run www.mydomain.com

2) When i Run it the first time I get the error:

Server Error in '/prd' Application.
--------------------------------------------------------------------------------

The resource cannot be found. Description: HTTP 404.
The resource you are looking for (or one of its dependencies) could have been removed,
had its name changed, or is temporarily unavailable.  Please review the following URL and
make sure that it is spelled correctly.

Requested URL: /prd/prd/Install/InstallWizard.aspx

2) I go-on trying: I run it the second time without doing anything else i get the following message:


Dotnetnuke Error: - Version 04.05.05
Invalid object name 'dbo.PortalAlias'.

3) I keep on going: I run www.mydomain.com/install/installwizard.aspx (which is the correct url).

4) It shows the DotNetNukeInstallation wizard, which is great!!!. A small detail, the image of the 'next' button is
missing....

5) When I select the auto button and press next, it calls the following url

http://www.mydomain.com/prd/Install/Install.aspx?mode=install    (/prd should not be here)

with the following error message

Server Error in '/prd' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /prd/prd/Install/Install.aspx

6) Finally i correct that url to: http://www.mydomain.com/Install/Install.aspx?mode=install and run it:
I get the following results:

Installation Status Report

00:00:00.015 - Installing Version: 4.4.0
00:00:00.015 -   Executing Script: DotNetNuke.SetUp.SqlDataProvider Success
00:00:00.031 -   Executing Script: DotNetNuke.Schema.SqlDataProvider Error! (see DotNetNuke.Schema.log for more information)
00:00:02.984 -   Executing Script: DotNetNuke.Data.SqlDataProvider Error! (see DotNetNuke.Data.log for more information)
00:00:03.124 - Installing MemberRole Provider:
00:00:03.124 -   Executing Script: InstallCommon
00:00:04.343 -   Executing Script: InstallMembership
00:00:04.624 -   Executing Script: InstallProfile
00:00:04.749 -   Executing Script: InstallRoles
00:00:04.968 - Upgrading to Version: 4.5.5
00:00:05.218 -   Executing Script: 04.04.01.SqlDataProvider Error! (see 04.04.01.log for more information)
00:00:05.296 -   Executing Script: 04.05.00.SqlDataProvider Error! (see 04.05.00.log for more information)
00:00:05.609 -   Executing Script: 04.05.01.SqlDataProvider Success
00:00:05.718 -   Executing Script: 04.05.02.SqlDataProvider Success
00:00:05.859 -   Executing Script: 04.05.03.SqlDataProvider Success
00:00:05.874 -   Executing Script: 04.05.04.SqlDataProvider Success
00:00:05.906 -   Executing Script: 04.05.05.SqlDataProvider Success
00:00:05.906 - Performing General Upgrades
00:00:06.499 - Loading Host Settings:
00:00:06.578 - Configuring SuperUser:
00:00:06.656 - Installing Modules:
00:00:06.656 -   Installing Module File Adsense_01.00.01_Install:  Success
00:00:06.859 -   Installing Module File HTML_04.05.00_Install:  Success
00:00:06.953 -   Installing Module File Links_03.03.07_Install:  Success
00:00:07.031 - Executing Additional Scripts:
00:00:07.031 -   Creating Portal: My Website
00:00:07.140 -   Error: Error creating Profile Definitions
00:00:07.140 -   Portal failed to install:Error!
00:00:07.140 - Installing Optional Resources:

Installation Complete

 

Click Here To Access Your Portal

7) Unfortunately the portal does not work at all. Clicking on the link gives: http://www.mydomain.com/Default.aspx

The error is:

 

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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +91
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2753
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Server Error in '/prd' Application.

Object reference not set to an instance of an object.

 

 

Could somebody please help me, or give me a direction in what area the error might be.

 

Tnx much in advance

Regards

Martijn

 

 
New Post
8/14/2007 10:28 AM
 

My first guess is that your desired setup is causing multiple problems as DNN is trying to resolve the proper URL and paths for files.

I am not even sure of the proper configuration for something like this, but I guess my first test would be to see if you can access images that are stored in the respective locations.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
8/14/2007 2:43 PM
 

Hi Mitchel, tnx for your reaction!

yes, I've tried and www.mydomain.com/images/403-3.gif for example works fine. The file is located at the root and then \prd\images\403-3.gif

Maybe it is better to simplify my poblem by stating that I want to install a 4.5.5 dnn instance NOT in the root folder but in subdirectory \prd\

Could it be that DNN must be installed in the root folder and may not be installed in a lower subdirecty although that subdir is an application?

 

Regards,

Martijn

 

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...problem creating 2 instances dnn 455 not in root but in 2 subdirsproblem creating 2 instances dnn 455 not in root but in 2 subdirs


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