Server Error in '/' Application, Length cannot be less than zero. Parameter name: length

Discussion in 'ASP .Net Security' started by Yugioh017@yahoo.com, Feb 11, 2007.

  1. Guest

    Can someone help me with this problem when im tring to load a page and
    error pops up, if you can solve this problem thank you alot , so if
    you manage to fix it then email me, thank you for your time.

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Length cannot be less than zero. Parameter name: length
    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.ArgumentOutOfRangeException: Length cannot
    be less than zero. Parameter name: length

    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:


    [ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length]
    System.String.Substring(Int32 startIndex, Int32 length) +172
    Passport.Web.Security.Identity.DecryptAuthCookie(HttpCookie
    authCookie) +329
    Passport.Web.Security.Identity..ctor(HttpContext context) +101
    Passport.Web.Site.Global.Application_AuthenticateRequest(Object
    sender, EventArgs e) +29
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication
    +IExecutionStep.Execute() +60
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
    Boolean& completedSynchronously) +87




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
    ASP.NET Version:1.1.4322.2300
    , Feb 11, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SG96aQ==?=
    Replies:
    1
    Views:
    6,952
    Ken Cox [Microsoft MVP]
    Jun 2, 2004
  2. Replies:
    2
    Views:
    5,921
  3. MattB

    Custom CheckBoxList "Length cannot be less than zero" error

    MattB, Aug 2, 2004, in forum: ASP .Net Building Controls
    Replies:
    4
    Views:
    250
    Bill Cohagan
    Sep 28, 2004
  4. ctk70
    Replies:
    2
    Views:
    470
    ctk70
    Feb 10, 2005
  5. MattB
    Replies:
    4
    Views:
    187
    Bill Cohagan
    Sep 28, 2004
Loading...

Share This Page