Copied to clipboard

Flag this post as spam?

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


  • John Hodgkinson 613 posts 355 karma points
    Jul 17, 2012 @ 21:26
    John Hodgkinson
    0

    getting a ton of error messages in umbraco log

    please advise... we're running 4.7.2

    Exception: Umbraco Exception (DataLayer): SQL helper exception in ExecuteReader - StackTrace: at umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) in umbraco\datalayer\SqlHelper.cs:line 249 at DigibizAdvancedMediaPicker.DAMP_ApplicationBase.UpdateDAMP(Media media, Boolean deleteMediaItem) - InnerException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. - InnerStackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at umbraco.DataLayer.SqlHelpers.SqlServer.SqlServerHelper.ExecuteReader(String commandText, SqlParameter[] parameters) in datalayer\SqlHelpers\SqlServer\SqlServerHelper.cs:line 93 at umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) in umbraco\datalayer\SqlHelper.cs:line 243

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 17, 2012 @ 21:29
    Jeroen Breuer
    0

    Looks like DAMP is trying to fetch the nodes which should be updated (after a media item is saved), but that gives a timeout exception. How many nodes does your Umbraco install have and could there be another reason for the timeout?

    Jeroen

  • John Hodgkinson 613 posts 355 karma points
    Jul 17, 2012 @ 21:30
    John Hodgkinson
    0

    close to 30,000

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 17, 2012 @ 21:35
    Jeroen Breuer
    0

    Hmm that's probably the problem. I never tried to use DAMP on such a large site. If you use DAMP with full xml it might be better to only store the id. If you use the full xml and you update the media item the xml on the node also needs to be updated. That's what the UpdateDAMP method does and it looks like it can't handle searching so many nodes (it only updates the ones which have that media item).

    Jeroen

  • John Hodgkinson 613 posts 355 karma points
    Jul 17, 2012 @ 21:37
    John Hodgkinson
    0

    were not storing full xml, only the id. do we have any options at this point? thx!

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 17, 2012 @ 21:46
    Jeroen Breuer
    0

    Hmm quickest solution might be to download the source and simply comment the UpdateDAMP method. If you only store the id you don't need that method anyway.

    Jeroen

  • John Hodgkinson 613 posts 355 karma points
    Jul 17, 2012 @ 21:58
    John Hodgkinson
    0

    awesome - thank you! working great now (no errors yet)... it seems like this was also affecting our sorting, which appears to be very fast now... is that possible? thank you so much for the help! 

  • John Hodgkinson 613 posts 355 karma points
    Jul 18, 2012 @ 15:13
    John Hodgkinson
    0

    Jeroen - I'm getting the following error when I try to use the create functionality now:

     

    Exception: Object reference not set to an instance of an object. - StackTrace: at DigibizAdvancedMediaPicker.CreateMediaItem.get_mediaid() at DigibizAdvancedMediaPicker.CreateMediaItem.BtnCreate_Click(Object sender, EventArgs e)

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 18, 2012 @ 15:17
    Jeroen Breuer
    0

    What version of the source did you download? In the latest change set some new functionality has been added which I haven't tested yet. Might be better to stay with changeset 62425cfc1854 (Feb 6 5:28 PM) or lower for now.

    Jeroen

  • John Hodgkinson 613 posts 355 karma points
    Jul 18, 2012 @ 15:19
    John Hodgkinson
    0

    I download the version listed in the link you provided... I actually missed a couple other errors. below are the there that are being thrown currently.

    Administrator -1   18/07/2012
    09:08:48
    Error Exception: Object reference not set to an instance of an object. - StackTrace: at DigibizAdvancedMediaPicker.CreateMediaItem.get_mediaid() at DigibizAdvancedMediaPicker.CreateMediaItem.BtnCreate_Click(Object sender, EventArgs e)
    Administrator -1   18/07/2012
    09:08:48
    Error Exception: Object reference not set to an instance of an object. - StackTrace: at DigibizAdvancedMediaPicker.CreateMediaItem.SetAdditionalProperties()
    Administrator -1   18/07/2012
    09:08:48
    Error Exception: Object reference not set to an instance of an object. - StackTrace: at DigibizAdvancedMediaPicker.CreateMediaItem.OnInit(EventArgs e)
  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 18, 2012 @ 15:21
    Jeroen Breuer
    0

    The link I provided has a list of different change sets. You probably downloaded the latest version, but it seems that is not stable enough yet. That's why it's better to download an earlier version.

    Jeroen

  • John Hodgkinson 613 posts 355 karma points
    Jul 18, 2012 @ 15:22
    John Hodgkinson
    0

    downoading the suggested changeset now. will keep you posted on this one. thx!

  • John Hodgkinson 613 posts 355 karma points
    Jul 18, 2012 @ 15:32
    John Hodgkinson
    0

    worked great! thank you Jeroen!

Please Sign in or register to post replies

Write your reply to:

Draft