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
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