Wednesday, 13 August 2014

Getting Object Null Reference Error while doing Login to Sitecore Sitecore.Web.Authentication.<>c__DisplayClass5.b__2(Ticket ticket) +52

This can happen if you:
  • Run update scripts (it happened for me when updating from Sitecore 7.1 to 7.2)
  • Have 2 Sitecore installations accessing the same database in:
    • Different .NET versions
    • Different Sitecore versions
To solve it, delete any SC_TICKET properties from the CORE database:
delete from [YourSitecore_Core].[dbo].[Properties]
where [key] = 'SC_TICKET';
Then restart your .NET application, and you should be fine again.

No comments:

Post a Comment