Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / October 2005

Tip: Looking for answers? Try searching our database.

Invalid value for 'encryptedTicket' parameter

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Aamir79 - 24 Oct 2005 10:52 GMT
I am using basic forms authentication in my web application and it is working
fine on my Dev machine. However when I stress test the application using
Microsoft ACT,
And increase the number of concurrent users more than 3, I get following
error:

Exception Type: System.ArgumentException
Message: Invalid value for 'encryptedTicket' parameter.
ParamName: NULL
TargetSite: System.Web.Security.FormsAuthenticationTicket
Decrypt(System.String)
HelpLink: NULL
Source: System.Web

StackTrace Information
*********************************************
  at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket)
  at Agent.Global.Application_AuthenticateRequest(Object sender, EventArgs
e) in c:\inetpub\wwwroot\Sia.Agent\Global.asax.vb:line 131

The line causing error is :
Dim ticket As FormsAuthenticationTicket =
FormsAuthentication.Decrypt(Context.Request.Cookies(roleCookie).Value)

Up to 3 browser connections it works fine without any error. Same code was
working perfectly a couple of days back with up to 100 concurrent connections.

It seems the error is when the Cookie is being decrypted but I don’t
understand why the error occurs only when the number of concurrent users
increases.

I’m using ASP.net framework 1.1, IIS 6.0, Windows server 2003 enterprise
edition with service pack 1.

Please Advice!
CT - 24 Oct 2005 10:58 GMT
Not sure if it'll help, but have you tried clearing the cookies on your dev
machine?

Signature

Carsten Thomsen
Communities - http://community.integratedsolutions.dk

>I am using basic forms authentication in my web application and it is
>working
[quoted text clipped - 34 lines]
>
> Please Advice!
Aamir79 - 24 Oct 2005 12:07 GMT
Yes I did but invain:(

> Not sure if it'll help, but have you tried clearing the cookies on your dev
> machine?
[quoted text clipped - 37 lines]
> >
> > Please Advice!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.