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...Upgrading to 6.2.1 SqlDataProvider errorUpgrading to 6.2.1 SqlDataProvider error
Previous
 
Next
New Post
7/24/2012 12:21 PM
 

Hello,

While I was upgrading my site from 6.2.0 to 6.2.1, I received some errors and I was wondering if anyone could point me in the right direction to fix this. Thanks!

Executing Script: 06.02.01.SqlDataProvider Error! (see 06.02.01.log.resources for more information)

06.02.01.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)



WITH RecursiveTabs (TabID, Level, TabPath)
    AS    
    (
        SELECT
            TabID,
            0 AS Level,
            CAST('//' + dbo.RemoveStringCharacters(TabName, '&? ./''-#') AS NVARCHAR(255)) AS TabPath
        FROM dbo.Tabs
        WHERE ParentId IS Null
      
        UNION ALL
      
        SELECT
            T.TabID,
            R.Level + 1,
            CAST(R.TabPath + '//' + dbo.RemoveStringCharacters(TabName, '&? ./''-#') AS NVARCHAR(255))
        FROM dbo.Tabs T
        INNER JOIN RecursiveTabs R ON T.ParentId = R.TabID
    )
    
    UPDATE dbo.Tabs SET Level = R.LEVEL, TabPath = R.TabPath
    FROM dbo.Tabs T
    LEFT JOIN RecursiveTabs R ON R.TabID = T.tabID

 
New Post
7/24/2012 1:09 PM
 

Vic;

Do you have tab names with any of the  &? ./''-#  characters in them?

Restore your site to pre-upgrade state and remove whichever of the above characters are in tab names and then re-run the setup


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
7/24/2012 1:55 PM
 
I do have tabs with those characters. I tried removing them in the database and rerunning that one particular script manually. I still got the same error. Would it have a different outcome if I did restore it to a previous version and re-run the upgrade?
 
New Post
7/25/2012 5:23 AM
 
it looks like by removing the special characters you get a duplicate page path. please rename using some other character (at least during the upgrade) in order to avoid duplicated.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/31/2012 5:54 AM
 
Hello,
I was having same error, and I fixed executing before to upgrade:

DISABLE TRIGGER DNN360Menu_Update on Tabs;
DISABLE TRIGGER DNN360Menu_delete on Tabs;
DISABLE TRIGGER DNN360Menu_Insert on Tabs;

Once upgrade process has finished I executed:

ENABLE TRIGGER DNN360Menu_Update on Tabs;
ENABLE TRIGGER DNN360Menu_delete on Tabs;
ENABLE TRIGGER DNN360Menu_Insert on Tabs;

That's it.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrading to 6.2.1 SqlDataProvider errorUpgrading to 6.2.1 SqlDataProvider 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