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 ...Cannot Upgrade to 07.04.00Cannot Upgrade to 07.04.00
Previous
 
Next
New Post
2/15/2015 4:38 PM
 
I have exactly the same problem.

Do I need to revert back to 7.3.4 (both in DB and file system), then make the corrections as explained in Fred Rossi's reply and then with that corrected /providers/dataproviders/sqldataprovider/07.04.00.sqldataprovider script file (and NOT the DNN 7.4.0 original one), re-execute the 7.4.0 upgrade?

Will that overcome the issue?

Panagiotis Mylonas Managing Director InteliBrain http://InteliBrain.gr
 
New Post
2/15/2015 5:08 PM
 
Please study the corrections marked by Fred onto the following 07.04.00.SqlDataProvider located in /Providers\DataProviders\SqlDataProvider folder and comment:
Thanks again, I was able to fix the duplicate index problem by making 2 changes to 07.04.00.sqldataprovider. See comments /* Fred.. */ below:
07.04.00.SqlDataProvider file contents:
/* Remove Review action and add Approve, Reject */
DECLARE @NotificationTypeId INT
SELECT @NotificationTypeId = NotificationTypeId
FROM
{databaseOwner}{objectQualifier}CoreMessaging_NotificationTypes
WHERE Name = 'ContentWorkflowNotification'
IF @NotificationTypeId IS NOT NULL
BEGIN
/* Delete Review notification action added int 7.3.0 */
DELETE FROM {databaseOwner} {objectQualifier}CoreMessaging_NotificationTypeActions WHERE NotificationTypeId = @NotificationTypeId AND NameResourceKey = 'Review'

/* Add Approve notification action */
INSERT INTO {databaseOwner}{objectQualifier}
CoreMessaging_NotificationTypeActions(
[NotificationTypeID],
[NameResourceKey],
[DescriptionResourceKey],
[ConfirmResourceKey],
[Order],
[APICall],
[CreatedByUserID],
[CreatedOnDate],
[LastModifiedByUserID],
[LastModifiedOnDate])
VALUES(
@NotificationTypeId,
'Approve',
'Approve',
NULL,
1,
'DesktopModules/InternalServices/API/ContentWorkflowService/Approve',
-1,
GETDATE(),
-1,
GETDATE()
)
/* Add Reject notification action */
INSERT INTO
{databaseOwner}{objectQualifier}CoreMessaging_NotificationTypeActions(
[NotificationTypeID],
[NameResourceKey],
[DescriptionResourceKey],
[ConfirmResourceKey],
[Order],
[APICall],
[CreatedByUserID],
[CreatedOnDate],
[LastModifiedByUserID],
[LastModifiedOnDate])
VALUES(
@NotificationTypeId,
'Reject',
'Reject',
NULL,
2, /* changed by Fred 2-9-2015 old value 1, */
'DesktopModules/InternalServices/API/ContentWorkflowService/Reject',
-1,
GETDATE(),
-1,
GETDATE()
)
END
GO

/* Add action to Start Workflow Notification */
DECLARE @NotificationStartWorkflowTypeId INT
SELECT @NotificationStartWorkflowTypeId = NotificationTypeId
FROM {databaseOwner} {objectQualifier}CoreMessaging_NotificationTypes
WHERE Name = 'ContentWorkflowStartWorkflowNotification'
IF @NotificationStartWorkflowTypeId IS NOT NULL
BEGIN
/* Add Submit notification action */
/* also uses the existing Approve method */
INSERT INTO {databaseOwner}{objectQualifier}
CoreMessaging_NotificationTypeActions(
[NotificationTypeID],
[NameResourceKey],
[DescriptionResourceKey],
[ConfirmResourceKey],
[Order],
[APICall],
[CreatedByUserID],
[CreatedOnDate],
[LastModifiedByUserID],
[LastModifiedOnDate])
VALUES(
@NotificationStartWorkflowTypeId,
'Submit',
'Submit',
NULL,
1,
'DesktopModules/InternalServices/API/ContentWorkflowService/Approve',
-1,
GETDATE(),
-1,
GETDATE()
)
/* Add Discard notification action */
/* also uses the existing Reject method */
INSERT INTO
{databaseOwner} {objectQualifier}
CoreMessaging_NotificationTypeActions(
[NotificationTypeID],
[NameResourceKey],
[DescriptionResourceKey],
[ConfirmResourceKey],
[Order],
[APICall],
[CreatedByUserID],
[CreatedOnDate],
[LastModifiedByUserID],
[LastModifiedOnDate])
VALUES(
@NotificationStartWorkflowTypeId,
'Discard',
'Discard',
NULL,
2, /* changed by Fred 2-9-2015 old value 1, */
'DesktopModules/InternalServices/API/ContentWorkflowService/Reject',
-1,
GETDATE(),
-1,
GETDATE()
)
END
GO

Panagiotis Mylonas Managing Director InteliBrain http://InteliBrain.gr
 
New Post
2/15/2015 7:11 PM
 

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/16/2015 12:08 AM
 

Dear Sebastian,

Thanks for your prompt & consistent reply.

I saw your pull request.

Now, to solve our issue, can I substitute the original SqlDataprovider script with this one and re-run the upgrade wizard, after having reverted back to the previous 7.3.4 DB & File system version?

 


Panagiotis Mylonas Managing Director InteliBrain http://InteliBrain.gr
 
New Post
2/16/2015 12:51 AM
 

Dear Sebastian,

Thanks for your prompt & consistent reply.

And thus based on Your observation:

"..... 

 I discovered another significant bug today. you only upgrade to 7.4.0, if your DNN has a site with portalID = 0 and uses same default language for all sites.

...."

makes the upgrade not allowed (because of that bug), for those that have multi-lingual sites ?


Panagiotis Mylonas Managing Director InteliBrain http://InteliBrain.gr
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Cannot Upgrade to 07.04.00Cannot Upgrade to 07.04.00


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