Copied to clipboard

Flag this post as spam?

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


  • Doug Mackay 56 posts 155 karma points
    Jan 09, 2014 @ 16:57
    Doug Mackay
    0

    HandleBounces.aspx Issue

    Hi,

    Is there any way to troubleshoot the E-mail bounce management?

    When we enable it the HandleBounces.aspx page times out and slows down the server.

    There's not much in the umbraco log

    admin   -1       09/01/2014
    14:59:16 ScheduledTask newsletterstudioBounces has been called with response: False
    admin -1 09/01/2014
    15:12:48 Error At /umbraco/newsletterstudio/pages/HandleBounces.aspx (Referred by: ):

    We also get an 'System.Web.HttpException (0x80004005): Request timed out.' Asp.Net error.

  • Markus Johansson 1801 posts 5365 karma points c-trib
    Jan 09, 2014 @ 17:43
    Markus Johansson
    0

    Hi!

    This could be (depending on how many bounces you have) a long running task. During the installation we change a web.config setting that allowes the request to last longer. I think it's the executionTimeout that is changed. Whats your current setting for this attribute? How long does it take for the request to time out?

    How many emails is there in the bounce e-mail inbox?

    // m 

  • Doug Mackay 56 posts 155 karma points
    Jan 09, 2014 @ 22:37
    Doug Mackay
    0

    The executionTimeout was set to 10mins I've now increased it to 30 mins to see if it makes any difference.

    I don't have access to the mailbox but I'll see if I can find out how large it is. Does the handlebounces code process all emails in the mailbox every time it is executed or only emails from the last time it was run?

  • Markus Johansson 1801 posts 5365 karma points c-trib
    Jan 10, 2014 @ 06:51
    Markus Johansson
    0

    Hi! 

    Okey, sounds good.

    We'll both yes and no. It will loop over all the emails and try to figure out what type of bounce it is. If it can't figure out if its a hard or soft bounce (to make it simple, somthing like a missing mailbox vs. out of office reply). If it can figure it out it will remove the message so next time it would not be processed. But if it can't figure out it will leave it in the mailbox so in teory you could end up with a lot of messages in the inbox if med bouncehandler are unable to process them.

    Let me know if the new timeout solved you issue.

    Cheers! 

  • Doug Mackay 56 posts 155 karma points
    Jan 10, 2014 @ 10:31
    Doug Mackay
    0

    I've increased the timeout but am now gettings different errors when HandleBounces.aspx executes (see below). N.B. This instance of newsletter studio was upgraded from 1.3 to 1.4.1

     

    System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near '0'.
       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.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.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at NewsletterStudio.Infrastucture.Data.PetaPoco.Database.Execute(String sql, Object[] args)
       at NewsletterStudio.Infrastucture.Data.PPDatabaseAdaptor.Execute(String sql, Object[] parameters)
       at NewsletterStudio.Infrastucture.Data.SubscriberRepository.SetAsBounced(List`1 listHardBounceEmails)
       at NewsletterStudio.Pages.HandleBounces.StartHandleBounces()
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    
  • Markus Johansson 1801 posts 5365 karma points c-trib
    Jan 10, 2014 @ 11:05
    Markus Johansson
    0

    HI!

    Hmm. I'll need to look closer at this with some testing. Can you send me an email: markus [at sign goes here] enkelmedia.se.

    So that I can provide you with some testing-files. 

  • Markus Johansson 1801 posts 5365 karma points c-trib
    Jan 15, 2014 @ 23:04
    Markus Johansson
    100

    Hi!

    Just to inform you, we have now made an offical release of version 1.4.2: http://our.umbraco.org/projects/backoffice-extensions/newsletter-studio Thank you very much for the help with this issue!

Please Sign in or register to post replies

Write your reply to:

Draft