Forms Authentication: Invalid value for 'encryptedTicket' paramete

B

Bill13

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
 
B

Bill13

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,333
Messages
2,571,754
Members
48,554
Latest member
CarrollCro

Latest Threads

Top