Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 26th, 2007, 06:10 AM
Registered User
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default FormsAuthentication.Decrypt problem

i have an problem with the FormsAuthentication.Decrypt(EncryptedTicket) function.
When i try to decrypt the EncryptedTicket : an exception occur.
I think that the problem come from the lenght of data.(i try different key)

The complete error message :
"Application Date exception : 2007-12-21 14:49:06
tApplication Page : /InventaireEO/Gestion/ExportPlanAction.aspx
Error Source : System.Web
Error Methode : System.Web.Security.FormsAuthenticationTicket Decrypt(System.String)
Error Message : Invalid value for 'encryptedTicket' parameter.
Error Stack Trace : at System.Web.Security.FormsAuthentication.Decrypt(St ring encryptedTicket)
at Gvf.Referentiel.Structure.EO.Inventaire.Web.Contro ller.WebSecurity.Decrypt(String ciphertext) in F:\\Projets\\AppWebs\\InventaireEO\\controller\\We bSecurity.cs:line 47
at Gvf.Referentiel.Structure.EO.Inventaire.Web.gestio n.ExportPlanAction.GetParams() in F:\\Projets\\AppWebs\\InventaireEO\\gestion\\Expor tPlanAction.aspx.cs:line 113
at Gvf.Referentiel.Structure.EO.Inventaire.Web.gestio n.ExportPlanAction.Page_Load(Object sender, EventArgs e) in F:\\Projets\\AppWebs\\InventaireEO\\gestion\\Expor tPlanAction.aspx.cs:line 64
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain()"

Who can help me?

Similar Threads
Thread Thread Starter Forum Replies Last Post
FormsAuthentication swifty_programmer ASP.NET 2.0 Basics 0 August 24th, 2007 05:53 AM
FormsAuthentication whfang ASP.NET 1.x and 2.0 Application Design 1 January 16th, 2007 05:42 PM
FormsAuthentication Class g2000 ASP.NET 2.0 Basics 2 November 24th, 2005 01:43 AM
FormsAuthentication.RedirectFromLoginPage shaileshmark General .NET 5 August 19th, 2004 05:17 PM
FormsAuthentication Class alyeng2000 ASP.NET 1.0 and 1.1 Basics 7 March 3rd, 2004 02:19 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.