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 6.1.5 to 6.2.6Error upgrading 6.1.5 to 6.2.6
Previous
 
Next
New Post
2/3/2013 1:42 PM
 

During the upgrade process form 6.1.5 to 6.2.6 I received an error in the Upgrade Status report

Executing Application Upgrades: 06.02.01 Error!

In looking at file: 06.02.01_Application.log.resources, the following is the error message:

Error: Failed to convert parameter value from a Single to a Decimal.   at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType, Boolean& coercedToDataFeed, Boolean& typeChanged, Boolean allowStreaming)

   at System.Data.SqlClient.SqlParameter.GetCoercedValue()
   at System.Data.SqlClient.SqlParameter.Validate(Int32 index, Boolean isCommandProc)
   at System.Data.SqlClient.SqlCommand.SetUpRPCParameters(_SqlRPC rpc, Int32 startCount, Boolean inSchema, SqlParameterCollection parameters)
   at System.Data.SqlClient.SqlCommand.BuildRPC(Boolean inSchema, SqlParameterCollection parameters, _SqlRPC& rpc)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, 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 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues)
   at DotNetNuke.Security.Membership.Data.SqlDataProvider.UpdateRole(Int32 roleId, Int32 roleGroupId, String description, Single serviceFee, String billingPeriod, String billingFrequency, Single trialFee, Int32 trialPeriod, String trialFrequency, Boolean isPublic, Boolean autoAssignment, String rsvpCode, String iconFile, Int32 lastModifiedByUserID, Int32 status, Int32 securityMode)
   at DotNetNuke.Security.Membership.DNNRoleProvider.UpdateRole(RoleInfo role)
   at DotNetNuke.Security.Roles.Internal.RoleControllerImpl.UpdateRole(RoleInfo role)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion621()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)


Can this be ignored?? What is the error referring to? Can I fix this manually with a database change or a script? I have run this three times with the same error each time after the complete restore.

 

 

 
New Post
4/13/2013 4:31 AM
 

Hi,

I had the same error today.

The error occurs in a UpgradeProcedure (not a sql script).

This upgrade procedure make 3 things :

1) change de name of all Administrators roles 

2) change de name of all Subscribers roles 

3) Change the ProfileTemplate

The error occurs in one of the roles name updates. I dont know why.

To avoid this you can run a sql script before uprading to avoid dnn to  update rolenames.

I just adding a dot to the end of the description. 

update Roles
set Description = Description + '.'
WHERE     (RoleName = 'Subscribers')

update Roles
set Description = Description + '.'
WHERE     (RoleName = 'Administrators')

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Error upgrading 6.1.5 to 6.2.6Error upgrading 6.1.5 to 6.2.6


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