Copied to clipboard

Flag this post as spam?

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


  • keilo 568 posts 1023 karma points
    Sep 03, 2015 @ 12:22
    keilo
    0

    Invalid attempt to call Read when reader is closed.

    I did write about this under another topic, moving it into its own thread so it can benefit others facing similar issue too.

    Not very sure, but the isse sounds very similar to the one reported at

    https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/63591-SendNewsletterService-Error

    .

    I have tried to simulate the sending out with NS with smtp configured to fake-smtp PaperCut to total 26886 entries.

    When the progress bar reached near the end, 20425

    it displayed the following error message:

    NewsletterStudio, SendNewsletterService: Invalid attempt to call Read when reader is closed. : at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
     at System.Data.SqlClient.SqlDataReader.Read()
     at System.Data.SqlClient.SqlCommand.CompleteExecuteScalar(SqlDataReader ds, Boolean returnSqlValue)
     at System.Data.SqlClient.SqlCommand.ExecuteScalar()
     at NewsletterStudio.Infrastucture.Data.PetaPoco.Database.ExecuteScalar[T](String sql, Object[] args)
     at NewsletterStudio.Infrastucture.Data.PPDatabaseAdaptor.ExecuteScalar[T](Sql sql)
     at NewsletterStudio.Infrastucture.Data.EmailTrackingItemRepository.CountBy(Int32 status, Int32 newsletterId)
     at NewsletterStudio.Services.SendNewsletterService.SendEmails()
    

    When I click Continue sending, it proceed with the remaining and complete at 26886 at 100%

    It then shows the analytics page with "26886 Receivers"

    However when I open the PaperCut folder (which was emptied prior to launching blast), I see file count of 26896 (all .emls created by papercut). Understand 1 of them is the test NS email, but the numbers doesnt add up.

    Could it be in between the error message, that it "re-try" to send a message? Is there such logic during sending, which might explain the difference in numbers ?

    Would appreciate if you can shed some light on this.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Sep 03, 2015 @ 14:21
    Markus Johansson
    0

    Hi!

    What version are you running? This was an error in older version of the package. Could you download the latest version and replace the NewsletterStudio.dll-file?

    // m

  • keilo 568 posts 1023 karma points
    Sep 03, 2015 @ 15:24
    keilo
    0

    Hi Markus

    Using the latest 2.1.0.0 - counter checked the DLL's properties->details

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Sep 03, 2015 @ 16:09
    Markus Johansson
    0

    Hi!

    It might be the same version number in the properties but the content varies.

    Please download the package again from newsletterstudio.org, unzip the file and just xcopy the dll.

    There was some mess with the version-number and we're working on a new release.

    // m

  • keilo 568 posts 1023 karma points
    Sep 03, 2015 @ 17:06
    keilo
    0

    I actually downloaded the day before, on this test system where the issue occured. The date shows the same...

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Sep 06, 2015 @ 17:28
    Markus Johansson
    0

    Strange, send me a e-mail and I'll try to make sure that you have the latest version, markus [at sign goes here] enkelmedia.se

Please Sign in or register to post replies

Write your reply to:

Draft