Copied to clipboard

Flag this post as spam?

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

  • Sebastian Dammark 537 posts 1222 karma points
    Feb 15, 2017 @ 16:30
    Sebastian Dammark

    GetApprovedRecordsFromFormOnPage = There is already an open DataReader ... bla bla bla

    When I follow the examples on this link below, I get the following error.


    Error: There is already an open DataReader associated with this Command which must be closed first.

    Version: Umbraco version 7.5.6 assembly: 1.0.6185.24083

    This is my code:

    @inherits Umbraco.Web.Macros.PartialViewMacroPage
    @using Umbraco.Forms.Mvc.DynamicObjects
    <ul id="comments">
     @foreach (dynamic record in Library
               .GetApprovedRecordsFromFormOnPage (@CurrentPage.Id, "af21150b-d4fd-46cd-91a8-d43cadef1150").OrderBy("Created"))

    Am I doing something wrong, or is it just something else ?

  • Laurent Lequenne 120 posts 245 karma points
    Dec 20, 2017 @ 08:28
    Laurent Lequenne

    Any proactive action on this bug ?

Please Sign in or register to post replies

Write your reply to: