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 ...A few SQL errors while upgrading.A few SQL errors while upgrading.
Previous
 
Next
New Post
9/8/2009 8:34 PM
 

While upgrading from 4.9.0.1 to 5.0.1.2 I recieved a couple errors, but I am not sure what to do, I don't see any indication that they are module related.
With SQL for version 5.0.0:
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.
UPDATE dbo.nfit_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.
UPDATE dbo.[nfit_Tabs]
    SET IsSecure = 1
WHERE PortalID IS NULL
    OR TabID IN (SELECT AdminTabId FROM dbo.[nfit_Portals])
    OR ParentId IN (SELECT AdminTabId FROM dbo.[nfit_Portals])

With SQL for version 5.1.0:
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.
(This produces a huge list of path names for icon files and tab descriptions.

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.
UPDATE dbo.nfit_Tabs SET Title='Pages', TabName='Pages' WHERE TabPath='//Admin//Tabs'
/* Enable link of Admin, Host tabs */
UPDATE dbo.nfit_Tabs SET DisableLink=0 WHERE TabPath='//Admin' OR TabPath='//Host'

Everything seems to work correctly except icon paths, and descriptions are all messed up.  Can anyone help me so that I can move on from this?
Thanks...

 
New Post
9/11/2009 3:38 PM
 

I know this is a busy forum.  I have spent the past days searching and have not come up with a solution.
I was wondering if anyone else has seen these errors and might have a solution?

 
New Post
9/12/2009 7:13 AM
Accepted Answer 

there seem to be duplicate entries in the tabs table, maybe caused by a custom module. you may enter tab settings, and set icon and description manually.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/14/2009 11:31 AM
 

I had the same problem and the thing that worked out (I don't know why) is to empty the table  Forum_PM_Posts

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...A few SQL errors while upgrading.A few SQL errors while upgrading.


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