Forms Authentication: Invalid value for 'encryptedTicket' paramete

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Forms Authentication: Invalid value for 'encryptedTicket' paramete


    I used the standard forms authentication sample from msdn to set up my
    site. When I run on my dev machine, everything works fine. When i move it to
    the test server, i receive an error: Invalid value for 'encryptedTicket'
    parameter. I've seen questions about this but not any answers. Anyone have
    any idea what causes this or suggestions on what to try? Thanks.

    Bill
    Bill13 Guest

  2. Similar Questions and Discussions

    1. Accessing htm files without authentication (forms authentication)
      I have application with forms authentication. All works fine. When user opens .aspx file gets login form, login and then get the .aspx page. But...
    2. ASP.Net Forms authentication with basic authentication popup
      Relatively new to ASP.Net but have a strange problem. My site uses forms authentication for a large administration section however after the user...
    3. Forms authentication then redirection to a secure web with NT authentication?
      Hi, I want to allow access to particular secured intranet web sites. These intranet are stored in sharepoint (2003 version) Actually I've...
    4. Authentication ticket, cookieless, forms authentication?
      Hi. I want to use Forms Authentication, cookieless. The issue is setting the Authentication Ticket without using cookies (!) That is, the...
    5. Forms authentication with Windows authentication
      Hi, I have an ASP.NET web site that uses IIS Basic Authentication and accesses an OLAP Server at various stages. The OLAP Server authentication...
  3. #2

    Default RE: Forms Authentication: Invalid value for 'encryptedTicket' paramete


    Found the problem. So, for anyone interested, it was caused by passing
    a null in the userdata portion of the ticket. For some reason, my db query to
    retrieve the roles is returning a null. So I put a test to check if null and
    send an empty string and the invalid value problem was solved. Now if i could
    only figure out why I'm getting null for roles...
    Bill13 Guest

  4. #3

    Default RE: Forms Authentication: Invalid value for 'encryptedTicket' paramete

    Hi,
    I recieved similar error while testing my applicaiton on the production
    site. I figured out that my local development machine has .net framework
    1.1 and 2.0 on it while test server has only 1.1.
    And I played with the VWD 2005 beta recently and reverted to .net framework
    2.0.

    So when I change the framework version back to 1.1 on local machine the
    application is giving same error. Do you see similar version conflict on
    your machines.?

    Let me know if you figured it out. I cannot update the framework on the
    test server so I am kind of stuck here.

    Thanks,
    Pavan K Sura.

    --
    Message posted via [url]http://www.dotnetmonster.com[/url]
    pavan k sura via DotNetMonster.com Guest

  5. #4

    Default RE: Forms Authentication: Invalid value for 'encryptedTicket' paramete

    Hi,
    I figured out the problem. For some reasons...the cookie was currupted...
    When I changed the name of the form cookie in the web.config it worked like
    a charm.
    Hope this helps,

    Pavan K Sura.

    --
    Message posted via [url]http://www.dotnetmonster.com[/url]
    pavan k sura via DotNetMonster.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139