Copied to clipboard

Flag this post as spam?

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


  • Sune Fischer 2 posts 22 karma points
    May 29, 2013 @ 10:31
    Sune Fischer
    0

    SendNewsletterService: Length cannot be less than zero.

    Hi,

    We've just upgraded from v.1.3.2 to 1.3.4 and it seems there are some underlying changes which has broken our implementation. I don't have much to go by. It seems to happen prior to the custom subscription provider being called.

    It looks like it is trying to instantiate the right job (Epic1 is the name of the email), but something goes wrong.The log indicates the following:

    2013-05-29 10:13:44,573 [33] INFO  umbraco.BusinessLogic.Log - [Thread 15] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: ScheduledTask | User: 0 | NodeId: 0 | Comment: NewsletterStudio: ScheduledTask. Started thread to send newsletter "Epic1" (id 1923)

    2013-05-29 10:13:47,852 [33] INFO  umbraco.BusinessLogic.Log - [Thread 26] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: 0 | Comment: NewsletterStudio, SendNewsletterService: Length cannot be less than zero.

    Parameter name: length : 

    2013-05-29 10:13:48,612 [33] INFO  Umbraco.Core.PluginManager - [Thread 13] Completed resolution of types of umbraco.MacroEngines.IRazorDataTypeModel, found 15 (took 9ms)

    2013-05-29 10:14:05,008 [33] INFO  umbraco.presentation.publishingService - [Thread 36] newsletterstudioBounces has been called with response: True

    Any ideas?
    Best regards
    Sune 
  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    May 31, 2013 @ 08:46
    Markus Johansson
    0

    Hi!

    I'm currently out of office until monday but will try to help you as much as I can. It looks like it might me some corrupt data. Can you try to send to a new mailing list with just valid e-mails?

    Are you using a custom subscription provider? Are you sure that this provider works and only returns valid emails?

     

    // m 

  • Sune Fischer 2 posts 22 karma points
    May 31, 2013 @ 10:53
    Sune Fischer
    0

    Hi Markus,

    Looks like this was us who had not configured everything correctly for the newsletters subscription provider in the config, the assembly name was set to newsletterstudio, so it presumably couldn't instantiate the provider.

    A more meaningful error message in the log would have been nice though :-)

    Thanks,

    Sune

     

     

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jun 02, 2013 @ 12:32
    Markus Johansson
    0

    Hi!

    Great to hear that you found the issue!


    Yes I agree the message could have been better we'll see how that can be improved.


    Thank you for using the packge!

    / m 

Please Sign in or register to post replies

Write your reply to:

Draft