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...Upgrade from DNN 7.3.4 to 7.4.0 results in 500 ErrorUpgrade from DNN 7.3.4 to 7.4.0 results in 500 Error
Previous
 
Next
New Post
2/5/2015 5:21 PM
 
please run https://dnnscript.codeplex.com/releas..., the script should fix the isuse.
I'll try to include a script correctiong all values to 7.4.1.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/5/2015 5:22 PM
 
Thanks Cathal. That fixed it for me. I set SMTPConnectionLimit = 1, SMTPMaxIdleTime = 0 as noted in the defect and the site loaded up.
 
New Post
2/15/2015 12:39 AM
 

I do not know if that is related, but I am getting a very similar error, my installation is bilingual (English/Arabic), current installation is  07.03.04 to upgrade - Version 07.04.00.

Prior to the attempt of upgrade  I run the script "Fix PortalSettings issue in DNN 7.3.2 - 7.4.0"

Home page after upgrading 

Server Error in '/' Application.

String was not recognized as a valid Boolean.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.FormatException: String was not recognized as a valid Boolean.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 

[FormatException: String was not recognized as a valid Boolean.]
   System.Boolean.Parse(String value) +14292488
   System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) +811
   DotNetNuke.Collections.CollectionExtensions.ConvertValue(Object value) +263
   DotNetNuke.Entities.Portals.PortalSettingsController.LoadPortalSettings(PortalSettings portalSettings) +939
   DotNetNuke.Entities.Portals.PortalSettings.BuildPortalSettings(Int32 tabId, PortalInfo portal) +43
   DotNetNuke.HttpModules.UrlRewrite.BasicUrlRewriter.RewriteUrl(Object sender, EventArgs e) +1907
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165



Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34212

Error log while updating 

DotNetNuke

Upgrade

Current Version - 07.03.04

Upgrade - Version 07.04.00

1Account Info

2Upgrade

View Website

0:44 Minutes   |   25% ERROR occured - System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.CoreMessaging_NotificationTypeActions' with unique index 'IX_CoreMessaging_NotificationTypeActions_Type'. The duplicate key value is (13, 1).

 The statement has been terminated.

 at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

 at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

 at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

 at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)

 at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)

 at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

 at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script)

 ClientConnectionId:311042db-31b6-4ae5-bb7f-1f57bd579186

 Error Number:2601,State:1,Class:14

 

 /* Remove Review action and add Approve, Reject */

 DECLARE @NotificationTypeId INT

 SELECT @NotificationTypeId = NotificationTypeId

 FROM dbo.CoreMessaging_NotificationTypes

 WHERE Name = 'ContentWorkflowNotification'

 IF @NotificationTypeId IS NOT NULL

 BEGIN

 /* Delete Review notification action added int 7.3.0 */

 DELETE FROM dbo.CoreMessaging_NotificationTypeActions WHERE NotificationTypeId = @NotificationTypeId AND NameResourceKey = 'Review'

 

 /* Add Approve notification action */

 INSERT INTO dbo.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 dbo.CoreMessaging_NotificationTypeActions(

 [NotificationTypeID],

 [NameResourceKey],

 [DescriptionResourceKey],

 [ConfirmResourceKey],

 [Order],

 [APICall],

 [CreatedByUserID],

 [CreatedOnDate],

 [LastModifiedByUserID],

 [LastModifiedOnDate])

 VALUES(

 @NotificationTypeId,

 'Reject',

 'Reject',

 NULL,

 1,

 'DesktopModules/InternalServices/API/ContentWorkflowService/Reject',

 -1,

 GETDATE(),

 -1,

 GETDATE()

 )

 END

 System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.CoreMessaging_NotificationTypeActions' with unique index 'IX_CoreMessaging_NotificationTypeActions_Type'. The duplicate key value is (18, 1).

 The statement has been terminated.

 at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

 at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

 at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

 at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)

 at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)

 at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

 at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script)

 ClientConnectionId:311042db-31b6-4ae5-bb7f-1f57bd579186

 Error Number:2601,State:1,Class:14

 

 /* Add action to Start Workflow Notification */

 DECLARE @NotificationStartWorkflowTypeId INT

 SELECT @NotificationStartWorkflowTypeId = NotificationTypeId

 FROM dbo.CoreMessaging_NotificationTypes

 WHERE Name = 'ContentWorkflowStartWorkflowNotification'

 IF @NotificationStartWorkflowTypeId IS NOT NULL

 BEGIN

 /* Add Submit notification action */

 /* also uses the existing Approve method */

 INSERT INTO dbo.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 dbo.CoreMessaging_NotificationTypeActions(

 [NotificationTypeID],

 [NameResourceKey],

 [DescriptionResourceKey],

 [ConfirmResourceKey],

 [Order],

 [APICall],

 [CreatedByUserID],

 [CreatedOnDate],

 [LastModifiedByUserID],

 [LastModifiedOnDate])

 VALUES(

 @NotificationStartWorkflowTypeId,

 'Discard',

 'Discard',

 NULL,

 1,

 'DesktopModules/InternalServices/API/ContentWorkflowService/Reject',

 -1,

 GETDATE(),

 -1,

 GETDATE()

 )

 END

Retry View Logs

Updating Database

Updating Extensions

Visit Website


 
New Post
2/15/2015 3:31 PM
 
A value from the database seen not to represent a valid boolean, either being 'true' or 'false' or 1 or 0

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/25/2015 10:13 AM
 
Thanks Sebastian,

Your script is life savior.
Upgrading DNN 7.3.3 to 7.4.2 success.
First try still say website not available (browse root address)

Successfully upgrade after browse http://MYWEBSITE/install/install.aspx?mode=upgrade

The question is, why upgrade not running automatically on root url.
When try another website, upgrading from DNN 7.2 to 7.4.2 is success, without open Install page.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade from DNN 7.3.4 to 7.4.0 results in 500 ErrorUpgrade from DNN 7.3.4 to 7.4.0 results in 500 Error


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