Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • syn-rg 282 posts 425 karma points
    Jun 07, 2012 @ 14:34
    syn-rg
    0

    Getting the following error when picking the Terabyte Image Cropper Render control

    I'm getting the following error when I try and pick the Terabyte Image Cropper render control, what is causing this?

    Server Error in '/' Application.

    Error running NonQuery:
    SQL Statement:
    insert into cmsDataTypePreValues (datatypenodeid,[value],sortorder,alias) values (@dtdefid,@value,0,'')

    Exception:
    System.ArgumentException: The SqlCeParameter is already contained by another SqlCeParameterCollection.
      at System.Data.SqlServerCe.SqlCeParameterCollection.Validate(Int32 index, SqlCeParameter value)
      at System.Data.SqlServerCe.SqlCeParameterCollection.AddWithoutEvents(Int32 index, SqlCeParameter value)
      at System.Data.SqlServerCe.SqlCeParameterCollection.Add(SqlCeParameter value)
      at SqlCE4Umbraco.SqlCeApplicationBlock.AttachParameters(SqlCeCommand command, SqlCeParameter[] commandParameters)
      at SqlCE4Umbraco.SqlCeApplicationBlock.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlCeParameter[] commandParameters)

    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: SqlCE4Umbraco.SqlCeProviderException: Error running NonQuery:
    SQL Statement:
    insert into cmsDataTypePreValues (datatypenodeid,[value],sortorder,alias) values (@dtdefid,@value,0,'')

    Exception:
    System.ArgumentException: The SqlCeParameter is already contained by another SqlCeParameterCollection.
      at System.Data.SqlServerCe.SqlCeParameterCollection.Validate(Int32 index, SqlCeParameter value)
      at System.Data.SqlServerCe.SqlCeParameterCollection.AddWithoutEvents(Int32 index, SqlCeParameter value)
      at System.Data.SqlServerCe.SqlCeParameterCollection.Add(SqlCeParameter value)
      at SqlCE4Umbraco.SqlCeApplicationBlock.AttachParameters(SqlCeCommand command, SqlCeParameter[] commandParameters)
      at SqlCE4Umbraco.SqlCeApplicationBlock.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlCeParameter[] commandParameters)

    Source Error:
  • Murray Roke 452 posts 839 karma points c-trib
    Jun 11, 2012 @ 01:07
    Murray Roke
    0

    If I recall when we wrote this it only works with SQL server. I'm not really planning any more work on this, as we've switched almost entirely to the built in cropper, originally developed by Kennenth.

    Cheers.

    Murray.

Please Sign in or register to post replies

Write your reply to:

Draft