I'm using 2003 server, IIS, and was using SQL2000. First I upgraded to SQL2005 but it was so slow it wasn't acceptable. So then I tried to upgrade to v3.3.7 hoping it would improve the SQL2005 performance. But the install bombed. Then I restored back to SQL2000 and all was back to normal.
Then I tried to upgrade the SQL2000 and DNN v3.1 to v3.3.7 and I got the same failure at the same place. So I'm including all the documentation to see if there is a path or something I missed. Eventually I'd like to go to v4.x but so far haven't had a successful install---another post addresses that. For now, since it is my main website, I'd like to simply get to the latest v3.3.7.
Upgrading DotNetNuke
Current Assembly Version: 03.03.07
Current Database Version: 03.01.00
00:00:00.010 - Executing Script: C:\Inetpub\wwwroot\www.dotnetnuke\Providers\DataProviders\SqlDataProvider\Upgrade.SqlDataProvider
Upgrade Status Report
00:00:00.220 - Upgrading to Version: 3.1.1 Success
00:00:54.888 - Upgrading to Version: 3.2.0 Success
00:00:55.009 - Upgrading to Version: 3.2.1 Error! (seeC:\Inetpub\wwwroot\www.dotnetnuke\Providers\DataProviders\SqlDataProvider\03.02.01.log for more information)
00:00:55.690 - Upgrading to Version: 3.2.2 Success
00:00:55.720 - Upgrading to Version: 3.2.3 Success
00:00:59.916 - Upgrading to Version: 3.2.4 Success
00:00:59.986 - Upgrading to Version: 3.2.5 Success
00:01:00.096 - Upgrading to Version: 3.2.6 Success
00:01:00.166 - Upgrading to Version: 3.2.7 Success
00:01:00.176 - Upgrading to Version: 3.3.0 Success
00:01:00.306 - Upgrading to Version: 3.3.1 Success
00:01:00.436 - Upgrading to Version: 3.3.2 Success
00:01:00.647 - Upgrading to Version: 3.3.3 Success
00:01:00.917 - Upgrading to Version: 3.3.4 Success
00:01:00.937 - Upgrading to Version: 3.3.5 Success
00:01:01.228 - Upgrading to Version: 3.3.6 Success
00:01:01.478 - Upgrading to Version: 3.3.7 Success
00:01:01.618 - Performing General Upgrades
00:01:03.060 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Announcements_03.03.05_Install.zip: Success
00:01:03.911 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Blog_3.02.00_Install.zip: Success
00:01:04.402 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Contacts_3.1_Install.zip: Success
00:01:04.502 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Documents_03.01.05_Install.zip: Success
00:01:05.153 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Events_3.2_Install.zip: Success
00:01:07.416 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\FAQs_3.1_Install.zip: Success
00:01:07.527 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Feedback_03.02.01_Install.zip: Success
00:01:07.877 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Forum_3.20.08_Install.zip: Success
00:01:12.994 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Gallery_3.0.12_Install.zip: Error!
00:01:16.960 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Help_2.0.4_Install.zip: Success
00:01:18.032 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\HTML_3.3.0_Install.zip: Success
00:01:18.132 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\IFrame_3.2_Install.zip: Success
00:01:18.542 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Links_3.3_Install.zip: Success
00:01:18.793 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Media_03.02.02_Install.zip: Success
00:01:19.394 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\NewsFeeds_3.1.1_Install.zip: Success
00:01:19.494 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Repository_3.1.10_Install.zip: Success
00:01:33.173 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Store_01.00.01_Install.zip: Success
00:01:36.498 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\Survey_3.3_Install.zip: Success
00:01:36.769 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\UserDefinedTable_03.03.06_Install.zip: Success
00:01:38.341 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\UsersOnline_3.1_Install.zip: Success
00:01:38.481 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\WhatsNew_3.3_Install.zip: Success
00:01:38.561 - Installing Module File C:\Inetpub\wwwroot\www.dotnetnuke\Install\Module\XML_3.1_Install.zip: Success
Upgrade Complete
Click Here To Access Your Portal
Server Error in '/' Application.
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
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.Data.SqlClient.SqlException: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
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:
[SqlException: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.]
System.Data.SqlClient.SqlDataReader.Read() +176
DotNetNuke.Common.Utilities.CBO.FillObject(IDataReader dr, Type objType, Boolean ManageDataReader) +57
DotNetNuke.Entities.Portals.PortalController.GetPortal(Int32 PortalId) +37
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +242
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +92
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +5895
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
|
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
From the log as mentioned in the upgrade error report:
System.Data.SqlClient.SqlException: CREATE UNIQUE INDEX terminated because a duplicate key was found for index ID 3. Most significant primary key is 'cleansing'.
Could not create constraint. See previous errors.
The statement has been terminated.
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
ALTER TABLE dbo.SearchWord ADD CONSTRAINT
IX_SearchWord UNIQUE NONCLUSTERED (Word) ON [PRIMARY]