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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...5.4.4 to 5.5.1 upgrade error5.4.4 to 5.5.1 upgrade error
Previous
 
Next
New Post
4/8/2011 4:05 AM
 
Hi,
I have 5.4.4. dnn site and want to upgrade to 5.6.2; but was trying to do in stages as suggested here on dotnetnuke site.


So while doing upgrade from 5.4.4 to 5.5.1, I have following error:
00:00:00.468 -   Executing Script: 05.05.00.SqlDataProvider Error! (see 05.05.00.log.resources for more information)


Would you please tell me what shall be done:
-       Is there fix for that (I was searching the issue, but I cannot actually pinpoint that there is one per se)
-       Should I restore 5.4.4 version back, and then go to upgrade first to 5.5.0, and then do latest version


I hope you will be able to advise me on this.

Thank you.

Den


 
New Post
4/8/2011 7:49 AM
 
Please take a look at the following file: Providers/DataProviders/SqlDataProvider/05.05.00.log.resources to see the actual error that was logged. You may then post the error in this thread so we may examine it further. Were any other errors noted during the upgrade?

Depending on the error it may be necessary to restore the file system and database back to 5.4.4, correct whatever issue caused the error, then reattempt the upgrade. I have seen various recommended upgrade sequences but generally recommend going directly from 5.4.4 to 5.6.2.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
4/11/2011 12:27 PM
 
Hi William (again; i was replying on your post, but it seems it doesn't want to "show itself" - so i do apology if the same log is posted few times)

here is the log file:

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. 
The statement has been terminated. 
at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection) 
at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection) 
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) 
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) 
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) 
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) 
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() 
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) 
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) 



/* Update IconFile References for Admin Tabs */ 
/*********************************************/ 

UPDATE dbo.Tabs 
SET IconFile = '~/images/' + IconFile 
WHERE IconFile LIKE 'icon_%' 
AND (TabPath LIKE '//Host%' OR TabPath LIKE '//Admin%') 


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. 
The statement has been terminated. 
at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection) 
at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection) 
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) 
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) 
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) 
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) 
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() 
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) 
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) 



/* Set Admin and Host Pages to be Secure By Default */ 
/****************************************************/ 

UPDATE dbo.[Tabs] 
SET IsSecure = 1 
WHERE PortalID IS NULL 
OR TabID IN (SELECT AdminTabId FROM dbo.[Portals]) 
OR ParentId IN (SELECT AdminTabId FROM dbo.[Portals])


What are your thoughts on this?
Thank you.
Regards,
Den
 
New Post
4/11/2011 3:26 PM
 
Den,

New users of these forums are moderated until they make a certain number of posts so your replies and new posts will not appear immediately. Depending on the avaiibility of our team volunteers, most moderated posts get approved within a few minutes to a few hours at the most.

Regarding the errors that you posted . . . where those the ones found in the log file \Providers\DataProviders\SqlDataProvider\05.05.00.log.resources  or some that you found in the event viewer? The reason that I ask is that no where in the 05.05.00.SqlDataProvider script file do the two SQL scripts appear.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
4/12/2011 4:47 AM
 
Hi William,
Yes, that log was copied from here: host > host settings > view upgrade log for version

and this log below is the copy of \Providers\DataProviders\SqlDataProvider\05.05.00.log.resources:

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.
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)






/* Fix incorrect culture codes assigned pre-5.5 */
/************************************************/


UPDATE dbo.Tabs
SET CultureCode = NULL



I hope this will help. what are your thoughts on this. Thank you.
Regards,
Den
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...5.4.4 to 5.5.1 upgrade error5.4.4 to 5.5.1 upgrade error


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