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...error upgrading from 5.6.8 to 6.2.9error upgrading from 5.6.8 to 6.2.9
Previous
 
Next
New Post
3/13/2014 7:06 PM
 
Try emptying the recycle bin. There may be 'duplicate' tab entries in there.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/14/2014 9:03 AM
 
thanks but no that didn't work either.

I have been thru the tabs entity with a fine tooth comb and found no duplicates. To be sure I created a unique index on tabname + parentId and that ran in fine.

I renamed all pages that shared a name even if they are not of the same parent. Nothing has fixed it.

I think the error message is a red herring. The issue is somewhere else but I am still at a loss as to where.

"if the only tool you have is a hammer you tend to see every problem as a nail" http://www.carawaydesign.com
 
New Post
3/14/2014 9:21 AM
 

Think I worked out the problem:

There is a trigger on the tabs table. I have no idea if its core dnn or was added by some dangerous module developer?


CREATE TRIGGER [dbo].[DNN360Menu_Update] ON  [dbo].[Tabs]

FOR UPDATE

AS

   DECLARE @PortalID int

   SET @PortalID = (SELECT PortalID FROM Deleted)     

   Delete from dbo.MCISS_MenuUpdate where PortalID= @PortalID

   Insert into dbo.MCISS_MenuUpdate (lastupdate,portalID) values (getdate(),@PortalID)

GO

 

I arrived at this conclusion because I modified the DNN upgrade script like this:

 

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

 

 select 'UPDATE dbo.Tabs SET Level =' + cast(R.Level as varchar) + ',' + 'Tabpath=' + '''' + R.Tabpath + '''' + 'where tabid=' + cast(T.TabID as varchar) from dbo.Tabs T

 LEFT JOIN RecursiveTabs R ON R.TabID = T.tabID order by T.tabpath

This gave me a list of updates like this:

UPDATE dbo.Tabs SET Level =2,Tabpath='//MembersHome//ManageSite//NewsAnnouncements'where tabid=64

UPDATE dbo.Tabs SET Level =3,Tabpath='//MembersHome//ManageSite//DocumentManagement//DocumentTypePermissions'where tabid=65

UPDATE dbo.Tabs SET Level =3,Tabpath='//MembersHome//ManageSite//testarea//AccessLinkTestPage'where tabid=66

When I ran these I noticed that there were three notifications happening after a single update.

Does anyone know what if this trigger is a DNN thing or a third party thing?

I will try removing it before upgrade.

Gus


"if the only tool you have is a hammer you tend to see every problem as a nail" http://www.carawaydesign.com
 
New Post
3/14/2014 9:25 AM
 
either way the scripts I generated to do the update worked and fixed the problem.

I will try a triggerless upgrade and see what happens.

"if the only tool you have is a hammer you tend to see every problem as a nail" http://www.carawaydesign.com
 
New Post
3/14/2014 9:43 AM
 
I'm pretty sure that DNN360 is a third party developer. I'd guess it's a menu. I think I had the same thing (a DNN360 menu) and it occasionally blew up upgrades for me. Eventually I abandoned it.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...error upgrading from 5.6.8 to 6.2.9error upgrading from 5.6.8 to 6.2.9


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