EncryptedTicket error bypassed

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/3/2016 9:58:28 AM
Gravatar
Total Posts 6

EncryptedTicket error bypassed

Hi Jo,

just to inform you,

remember the thread www.mojoportal.com/Forums/Thread.aspx?pageid=5&t=8883~1 , we just had the same issue, and your answer was right ( of course..) the problem occurs when an user is in to much roles. And the cookie overflows.

We bypassed the error in the mojoportal/Web/Components/mojoRoleProvider.cs file, method GetRolesForUser(string userName)

Just add :

catch (Exception)
{
return GetRolesAndSetCookie();
}

at the end of the try/catch

works just fine.

Best regards, thanks again for the amazing Mojoportal, and good luck.

You must sign in to post in the forums. This thread is closed to new posts.