Solved

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

Posted on 2011-09-27
4
1,912 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

734 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