> Forums > Active Social > General Discussion > message error
Last Post 12 Oct 2011 09:16 AM by Ben - DotNetNuke. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
fred sommer
Customers
fred sommer
Post Count:23

--
11 Oct 2011 08:46 PM
    I am receiving the following error message when I try to send a message via active social:

    A critical error has occurred.
    Conversion from string "Fred" to type 'Integer' is not valid.

    Fred is my user name and in this instance I was trying to send a test message to myself.  I also receive the same error message when I try to reply to an old message in my inbox.

    I'm not sure what happened as the message feature used to work OK.  Does anyone know what may be causing this problem?

    Thanks.

    Fred
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    11 Oct 2011 08:49 PM
    This usually happens when you have a JavaScript error on the page or have a conflict with jQuery.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    fred sommer
    Customers
    fred sommer
    Post Count:23

    --
    11 Oct 2011 09:17 PM
    Thanks Will. I checked the log and did not notice any references to to a js or jq error on the page.

    This is what the message said:

    StackTrace:
    Message: DotNetNuke.Services.Exceptions.PageLoadException: Conversion from string "ferrybrug" to type 'Integer' is not valid. ---> System.InvalidCastException: Conversion from string "ferrybrug" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) --- End of inner exception stack trace --- at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) at Active.Modules.Social.Controls.MessageEditor.btnSend_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    12 Oct 2011 09:16 AM
    That is the error you get when the auto-complete is not loading on the page, and you just type in a user name.

    Like Will said, the reason the auto complete doesn't load is usually due to another error on the page.
    You are not authorized to post a reply.
    > Forums > Active Social > General Discussion > message error
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy