The data protection operation was unsuccessful. This may have been caused by not having the user profile loaded for the current thread’s user context, which may be the case when the thread is impersonating

Recently I’ve developed a site for a customer using MVC 5 with Asp.net Identity (OWIN) everything worked 100% locally then I deployed it to their server and all the proverbial wheels fell off.

Thanks to this wonderful post I’ve been able to resolve the issue in no time and get the customers site back online and working 100%.

Click here to see How to resolve this issue

Advertisements

About Johan

.Net Developer
This entry was posted in ASP.Net Identity. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s