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 ...DotNetNuke 05.00.00 Upgrade Error Help me please!!!DotNetNuke 05.00.00 Upgrade Error Help me please!!!
Previous
 
Next
New Post
9/10/2009 10:35 PM
 

Note: This response is only in reference to Rygars post directly above this one]

I ran into this today on a site we inherited and upgraded to 5.1.2. The problem was caused by the DNN360Menu (aka CISS.SideMenu). For some reason, it added what I believe to be an invalid Update trigger on the Tabs table. It is the Subquery defined within the update trigger that is causing the error.

From reviewing the Trigger, I believe it is invalid as it is referencing "Deleted" items. I think the author made a mistake when he copied the Delete trigger and didn't change the Where clause.

I disabled the trigger and re-ran the affected SQL Statements and all is well.

 


David O'Leary
Efficion Consulting
 
New Post
11/7/2009 12:13 PM
 

thanks for the note David - its not the first time I've seen a 3rd party module add triggers to core tables - and they almost always end up in upgrade failures. I've made a note and will see about adding code to detect this , and see if theres a good way to record triggers, disable them, upgrade then reenable triggers.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
11/18/2009 5:12 AM
 

Cathal : I've found out about the DNN360 trigger the hard way as well.  Basically it won't let you do an update to the tabs table that affects more than one tab at a time.  I just got caught out again and found this post.

The syntax to handle the DNN360 triggers is as follows:

disable trigger tabs.DNN360Menu_delete

on tabs
GO

and then:

enable trigger tabs.DNN360Menu_delete

on tabs
GO

There are 3 triggeres installed with the dnn360 menu:

DNN360Menu_Insert

DNN360Menu_Update

DNN360Menu_delete

I don't think it's going to be possible to do a blanket detection and disable / removal of triggers in upgrade scripts.  TO make it worse, the disable/enable command is only available in sql 2005.

Note that you need to end the script block with a 'GO' or it will not work correctly.

I think a 'name and shame' policy is better, so that developers feel the pressure to quickly fix their code.

 
New Post
2/8/2010 8:04 PM
 

Bruce, I have DNN360 menu 1.04.10 & tabs 3.2.7 and the upgrade from 4.9.5 to 5.2.1 went flawless with regard to DNN360.

I usually run

USE dnntest;
GO
EXEC sp_updatestats

before updating any DNN site to any upgrade version.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DotNetNuke 05.00.00 Upgrade Error Help me please!!!DotNetNuke 05.00.00 Upgrade Error Help me please!!!


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