?
Solved

ASP.NET Error :Invalid value for 'encryptedTicket' parameter.

Posted on 2011-09-27
4
Medium Priority
?
1,948 Views
Last Modified: 2012-05-12
Dear EE Members,

         We developed ASP.net Application in C#, in which we are validating the User group through LDAP:<DominName> by checking if the group is available in out list then proceed to site.

For some users, when we are validating authentication cookies we are getting the error Invalid value for 'encryptedTicket' parameter

Below is the line for the reference where we are getting this error.

 authTicket = FormsAuthentication.Decrypt(authCookie.Value);

We tried  with different PCs and clear cookies still no luck.

Thanks
0
Comment
Question by:mivbinfotech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 9

Expert Comment

by:dexterrajesh
ID: 36708697
hi,

possible causes:

a null value is passed to decrypt, or
the cookie is getting corrupted

check the cookie value for null, or rename your cookie

hope this helps
0
 
LVL 16

Expert Comment

by:Easwaran Paramasivam
ID: 36709072
Check the Value assigned code for the Cookie. Whether it is set correctly?

Check what value is in authCookie.Value by debugging the application.

Check whether cookies are enabled in Browser settings and Cookie values are stored correctly.


0
 
LVL 2

Accepted Solution

by:
mivbinfotech earned 0 total points
ID: 37249648
The cookie being passed was way too big and the URL was going bigger than 4096 chars, so we reduced the string, and its fine now
0
 
LVL 2

Author Closing Comment

by:mivbinfotech
ID: 37545665
Issue Solved
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question