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 ...DNN 4.4.0 - Subquery returned more than 1 valueDNN 4.4.0 - Subquery returned more than 1 value
Previous
 
Next
New Post
12/25/2006 12:48 PM
 

Upgrade of a 3.5.6 site with two child portals to 4.4.0 resulted in "Server Error in / Application" when hitting the site the first time after an apparently successful install. After editing web.config to set customErrors = "Off", I was able to see the true error - "Subquery returned more than 1 value . . . " which originated in the GetPortal stored proceedure. The error was further traced to a subquery in the (new in 4.4) database view vw_Portals that is supposed to return the SuperTabId and ultimately to the Tabs table which had two rows where the PortalID and the ParentID were both null. The incorrect row was the one with TabName = Lists having a null in the ParentId column rather than (in my case at least) a 7 to point back to the SuperTabId. Restoring the ParentId column of this row to 7 corrected the problem.

I then looked at the database backup I had made just before the upgrade and found that the ParentId for the Lists tab in the Tabs table was null - so the error had been introduced at some time prior to the 4.4 upgrade and possibly sometime since the upgrade to 3.5.6 about a month ago.  That upgrade did not cause a similar problem. Although the GetPortal sproc has changed significantly between these versions to use the new vw_Portals view, it appears that the same subquery to obtain the SuperTabId was used in both versions.

As I've had not occasion to use the Lists tab for many months, the error in the Tabs table might have been lying dormant for many months.

Hope this will help someone with a similar proble!


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
12/25/2006 5:16 PM
 
I have seen this issue in a client's DNN 4.3.7 upgrade as well - same reason due to an irregular tab entry. It looks like there is a need for additional consistency checks in the database.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/25/2006 8:34 PM
 

I got the same error, there is a fix (needs some SQL)

Simply doing the following SQL
SELECT * FROM Tabs
WHERE (PortalID IS NULL) AND (ParentId IS NULL)
returns many tabs. You need to look for a tab with TabName='Host' and note its ID (in my case it was 7)
For the other returned rows use the previous obtained ID in the ParentId.

Kill the aspnet process and browse the site again, things are working fine. 

 
New Post
12/27/2006 9:56 AM
 

Hi,

I experienced just the same. I had upgraded from 4.3.6 to 4.4.0. The upgrade log was fine. Then I modified the tabs table according to the posts above. This way I could log on DNN. But my problem is that the site nav is completely in a bad order. I have tried to bring it in order by using the "pages" page in admin-section, but this makes it even worse. I see the tabs database that the Taborder is jumping up/down. I have tried manually editing the tabs table. Then I tryied the "pages" page again. Result is the taborder is distorted for all tabs, not only the one I edited.

Does anybody know how to get the taborder to remain stable after using the "pages" page?

 
New Post
12/27/2006 11:10 AM
 
I have the same problem, when update to 4.4.0
but when I excute this query 2 rows whith NULL value in ParentID...
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 4.4.0 - Subquery returned more than 1 valueDNN 4.4.0 - Subquery returned more than 1 value


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