Copied to clipboard

Flag this post as spam?

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


  • Leonidas Dedousis 9 posts 29 karma points
    Oct 29, 2012 @ 17:45
    Leonidas Dedousis
    0

    Post Comment Error

    Hello when I try to post a comment in a blog post I get this error (both in log and browser)

    Method not found: 'System.Collections.Generic.List`1<umbraco.interfaces.INode> umbraco.MacroEngines.DynamicNode.get_ChildrenAsList()'.     at uBlogsy.Web.usercontrols.uBlogsy.Contact.CreateComment()     at uBlogsy.Web.usercontrols.uBlogsy.Contact.btnSubmit_Click(Object sender, EventArgs e) in D:\_PROJECTS\uBlogsy\Branches\1.32_bugs_search\uBlogsy\uBlogsy\usercontrols\uBlogsy\Contact.ascx.cs:line 60     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Nov 01, 2012 @ 00:43
    Anthony Dang
    0

    What version of umbraco and ublogsy are you using?

    There was a breaking change around 4.7 which caused something like this. I subsequently needed to upgraded the package.

     

     

  • Leonidas Dedousis 9 posts 29 karma points
    Nov 01, 2012 @ 08:22
    Leonidas Dedousis
    0

    Thank you for your reply..

    I just found out that I was using blogsy 1.3. I dont know how that happened .. I used the pachage repository from the umbraco BO.

    I have uninstalled and installed the latest version by downloading and insatlling as local package.

    It is OK now

  • Paul A 133 posts 368 karma points
    Nov 14, 2012 @ 12:45
    Paul A
    0

    Hi, I get this error... site just being built now, 2.1.1.1 on 4.10.0

  • Hal Hunt 7 posts 28 karma points
    Nov 16, 2012 @ 00:40
    Hal Hunt
    1

    Paul check your uBlogsy version again.  I made the mistake of installing uBlogsy from the Umbraco package Repository and for some reason it installs version 1.32 which is obviously not compatible with 4.10.x.  I manually download version 2.1.1.1 and installed it as a local package.  Everything works great!  Here is the link:

    http://our.umbraco.org/projects/starter-kits/ublogsy

  • BHSUHAN 1 post 21 karma points
    Dec 06, 2013 @ 08:09
    BHSUHAN
    0

    <div>
       <%-- <form id="form1" runat="server">
        <asp:HiddenField ID="hdnCount" Value="1" runat="server" />--%>
                  <asp:Label ID="lblList" runat="server"></asp:Label><br />
          <asp:Label ID="lblMat" runat="server"></asp:Label><br />
          <asp:Label ID="lblDesc" runat="server"></asp:Label><br />
          <asp:Label ID="lblQuant" runat="server"></asp:Label><br />
          <asp:Label ID="lblUnitpc" runat="server"></asp:Label><br />
          <asp:Label ID="lblVAt" runat="server"></asp:Label><br />
          <asp:Label ID="lblCST" runat="server"></asp:Label><br />
          <asp:Label ID="lblFright" runat="server"></asp:Label><br />
          <asp:Label ID="lblAmt" runat="server"></asp:Label><br />
           
                <asp:Table ID="tblMain" runat="server" Height="125px">
         
         
         
                    <asp:TableHeaderRow>
                        <asp:TableHeaderCell>list_Item</asp:TableHeaderCell>
                        <asp:TableHeaderCell>Material</asp:TableHeaderCell>
                        <asp:TableHeaderCell>Description</asp:TableHeaderCell>
                        <asp:TableHeaderCell>Quantity</asp:TableHeaderCell>
                        <asp:TableHeaderCell>Unit Price</asp:TableHeaderCell>
                        <asp:TableHeaderCell>VAT</asp:TableHeaderCell>
                        <asp:TableHeaderCell>CST</asp:TableHeaderCell>
                        <asp:TableHeaderCell>Frieght</asp:TableHeaderCell>
                        <asp:TableHeaderCell>Amount</asp:TableHeaderCell>
                    </asp:TableHeaderRow>
                    <asp:TableRow>
                        <asp:TableCell>
                            <asp:TextBox ID="txtLstItm" runat="server" Width="90"></asp:TextBox>
                        </asp:TableCell>
                        <asp:TableCell>
                            <asp:TextBox ID="txtMat" runat="server" Width="90"></asp:TextBox>
                        </asp:TableCell>
                        <asp:TableCell>
                            <asp:TextBox ID="txtDesc" runat="server" Width="90"
                        TextMode="MultiLine"></asp:TextBox>
                        </asp:TableCell>
                        <asp:TableCell>
                            <asp:TextBox ID="txtQuant" runat="server" Width="50"></asp:TextBox>
                        </asp:TableCell>
                        <asp:TableCell>
                            <asp:TextBox ID="txtUnitPrc" runat="server" Width="50"></asp:TextBox>
                        </asp:TableCell>
                        <asp:TableCell>
                            <asp:DropDownList ID="ddlVAt" runat="server" Width="100">
                                <asp:ListItem Text="x" Value="0"></asp:ListItem>
                                <asp:ListItem Text="x" Value="1"></asp:ListItem>
                                <asp:ListItem Text="x" Value="2"></asp:ListItem>
                            </asp:DropDownList>
                        </asp:TableCell>
                        <asp:TableCell>
                            <asp:DropDownList ID="ddlCST" runat="server" Width="100">
                                <asp:ListItem Text="x" Value="0"></asp:ListItem>
                                <asp:ListItem Text="y" Value="1"></asp:ListItem>
                                <asp:ListItem Text="z" Value="2"></asp:ListItem>
                            </asp:DropDownList>
                        </asp:TableCell>
                        <asp:TableCell>
                            <asp:DropDownList ID="ddlFright" runat="server" Width="100">
                                <asp:ListItem Text="a" Value="0"></asp:ListItem>
                                <asp:ListItem Text="b" Value="1"></asp:ListItem>
                                <asp:ListItem Text="c" Value="2"></asp:ListItem>
                            </asp:DropDownList>
                        </asp:TableCell>
                        <asp:TableCell>
                            <asp:TextBox ID="txtAmount" runat="server" Width="100"></asp:TextBox>
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
                <br />
         
      <%--    <asp:Label ID="lblList" runat="server"></asp:Label><br />
          <asp:Label ID="lblMat" runat="server"></asp:Label><br />
          <asp:Label ID="lblDesc" runat="server"></asp:Label><br />
          <asp:Label ID="lblQuant" runat="server"></asp:Label><br />
          <asp:Label ID="lblUnitpc" runat="server"></asp:Label><br />
          <asp:Label ID="lblVAt" runat="server"></asp:Label><br />
          <asp:Label ID="lblCST" runat="server"></asp:Label><br />
          <asp:Label ID="lblFright" runat="server"></asp:Label><br />
          <asp:Label ID="lblAmt" runat="server"></asp:Label><br />--%>

                <asp:Button ID="btnNewRw0" runat="server" Text="New Row"
                    OnClick="btnNewRw_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="Button2" runat="server" onclick="Button2_Click"
                Text="Show Value" PostBackUrl="~/sample.aspx" />
                <asp:TextBox ID="txtAns" runat="server"></asp:TextBox>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <br />
        <%--</form>--%>

    I am grtting error that page can have only one server side form..so how can i use hidden feld without form tag or is there any alternative

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Dec 16, 2013 @ 14:29
    Anthony Dang
    0

    BHSUHAN was this to do with ublogsy?

    If so, more info please about what you're trying to do.

  • vinod kumar singh 2 posts 22 karma points
    Jan 19, 2015 @ 14:56
    vinod kumar singh
    0

    Please help me.

    I am using umbraco 6.2.4 with ublogsy 3.1 and ucommentsy 1.1 .

    While posting comment at first it works but at socond time it throw an error which is given below but after the deleting the registered mail id from umbraco admin panel at memeber section it works again but for one time only. 

    Error is given below----------------------

    Object reference not set to an instance of an object.

     Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       uCommentsy.BusinessLogic.Models.CommentInfo.b__2(Member x) in d:\_PROJECTS\Personal\uCommentsy\uCommentsyForUmb6\Source\uCommentsy.BusinessLogic\Models\CommentInfo.cs:141
       System.Linq.Enumerable.Count(IEnumerable`1 source, Func`2 predicate) +151
       uCommentsy.BusinessLogic.Models.CommentInfo.CreateNameForContentNode() in d:\_PROJECTS\Personal\uCommentsy\uCommentsyForUmb6\Source\uCommentsy.BusinessLogic\Models\CommentInfo.cs:139
       uCommentsy.BusinessLogic.Models.CommentInfo..ctor(String name, String email, String website, String message, Boolean isAuthor, String publicDomain, DateTime created) in d:\_PROJECTS\Personal\uCommentsy\uCommentsyForUmb6\Source\uCommentsy.BusinessLogic\Models\CommentInfo.cs:46
       uCommentsy.Mvc.Parts.Controllers.Partials.Forms.uCommentsyContactFormSurfaceController.Post(ContactFormModel model) in d:\_PROJECTS\Personal\uCommentsy\uCommentsyForUmb6\Source\uCommentsy.Mvc.Parts\Controllers\Partials\Forms\uCommentsyContactFormSurfaceController.cs:90
       lambda_method(Closure , ControllerBase , Object[] ) +180
       System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
       System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +211
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
       System.Web.Mvc.Async.<>c__DisplayClass42.b__41() +28
       System.Web.Mvc.Async.<>c__DisplayClass8`1.b__7(IAsyncResult _) +10
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +57
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +48
       System.Web.Mvc.Async.<>c__DisplayClass39.b__33() +57
       System.Web.Mvc.Async.<>c__DisplayClass4f.b__49() +223
       System.Web.Mvc.Async.<>c__DisplayClass4f.b__49() +223
       System.Web.Mvc.Async.<>c__DisplayClass4f.b__49() +223
       System.Web.Mvc.Async.<>c__DisplayClass4f.b__49() +223
       System.Web.Mvc.Async.<>c__DisplayClass37.b__36(IAsyncResult asyncResult) +10
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +57
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +48
       System.Web.Mvc.Async.<>c__DisplayClass2a.b__20() +24
       System.Web.Mvc.Async.<>c__DisplayClass25.b__22(IAsyncResult asyncResult) +102
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +57
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +43
       System.Web.Mvc.<>c__DisplayClass1d.b__18(IAsyncResult asyncResult) +14
       System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +23
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +62
       System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +57
       System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +23
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +62
       System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +47
       System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
       System.Web.Mvc.<>c__DisplayClass8.b__3(IAsyncResult asyncResult) +25
       System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +23
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +62
       System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +47
       System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9514928
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
    
Please Sign in or register to post replies

Write your reply to:

Draft