> Forums > Active Social > Community Support > Critical Error - Length cannot be less than zero
Last Post 18 Apr 2011 09:11 AM by Ben - DotNetNuke. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Richard
Registered Users
Richard
Post Count:2

--
14 Apr 2011 09:09 AM
    • Active Social Version: 1.9.1
    • DotNetNuke Version: 5.5.1
    This error appears when some members try and access any social module, most other members seem to work ok. I can't see any difference between the members, any suggestions?

    Thanks,
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    14 Apr 2011 09:15 AM
    I am not familiar with this error. Can you post the full error message from the Event Viewer? You can remove any identifying information about your domain or server if you want.
    Richard
    Registered Users
    Richard
    Post Count:2

    --
    14 Apr 2011 09:35 AM
    Np...

    AssemblyVersion: 5.5.1
    PortalID: 0
    PortalName: One Jelf
    UserID: 6724
    ActiveTabID: 568
    ActiveTabName: Members
    RawURL: /Home/SalesAcademyTESTING/Communication/Members.aspx
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer:
    UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727)
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: e7656c5f-0b0c-4b29-a77b-ff46ffa2a799
    InnerException: Length cannot be less than zero. Parameter name: length
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.String.InternalSubStringWithChecks
    StackTrace:
    Message: DotNetNuke.Services.Exceptions.PageLoadException: Length cannot be less than zero. Parameter name: length ---> System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at System.String.Substring(Int32 startIndex, Int32 length) at Active.Modules.Social.Main.Page_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

    Thanks
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    14 Apr 2011 10:38 AM
    How were the users created? Did you import them or otherwise create them artificially? Does a new user, created with the AS or DNN registration work correctly?
    Richard
    Registered Users
    Richard
    Post Count:2

    --
    18 Apr 2011 08:20 AM
    Good question, the users were created via a script because the entire site is for internal intranet users only and managed via an Active Directory module. I thought this could be the cause too but other users created exactly the same way work fine, very odd.
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    18 Apr 2011 09:11 AM
    There still might be something different between the users that work and those that don't. I would suggest comparing two different users in the database. Select by UserId's from these tables:

    UserProfile
    UserPortals
    UserRoles
    Users
    activesocial_User
    You are not authorized to post a reply.
    > Forums > Active Social > Community Support > Critical Error - Length cannot be less than zero
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy