Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8749811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:45:25+00:00 2026-06-13T12:45:25+00:00

After installing .NET 4.5, any users accessing the Workbox now receive an exception: Object

  • 0

After installing .NET 4.5, any users accessing the Workbox now receive an exception:

Object of type ‘System.Int32’ cannot be converted to type ‘System.Web.Security.Cryptography.Purpose’.

After some basic google searching, it appears as if this issue used to happen on login, and was resolved in 6.5 for the login. I have no issues logging into Sitecore. So far I’m only seeing this issue in the workflow box.

Before .NET 4.5 was installed, we were running on .NET 4.0 without any issues.

Has anybody found a workaround to get the Workbox running with .NET 4.5 installed?

NOTE: I’m currently using Sitecore 6.5 Update 5

Full Stack Trace:

[ArgumentException: Object of type ‘System.Int32’ cannot be converted to type ‘System.Web.Security.Cryptography.Purpose’.]
System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast) +185
System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig) +122
System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +206
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +126
Sitecore.SecurityModel.Cryptography.CookieProtectionHelperWrapper.Encode(CookieProtection cookieProtection, Byte[] buf, Int32 count) +175
Sitecore.Shell.Feeds.FeedUrlOptions.ToString() +192
Sitecore.Shell.Applications.Workbox.WorkboxForm.DisplayWorkflow(IWorkflow workflow) +496
Sitecore.Shell.Applications.Workbox.WorkboxForm.OnLoad(EventArgs e) +545

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +76
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +193
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35
Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e) +337
System.Web.UI.Control.LoadRecursive() +116
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2910

UPDATE:
We already have the web.config entry altered, which is why Login works correctly:

<setting name=”Login.RememberLastLoggedInUserName” value=”false” />
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:45:26+00:00Added an answer on June 13, 2026 at 12:45 pm

    Thanks to both Mark and Stephen for their help, unfortunately neither options applied in this particular scenario. (Upvoted by me, however, as they may help somebody else running into this problem).

    With some further digging, it appeared that what had happened in this scenario was that some of the Sitecore 6.5 Update 5 DLLs had not been deployed, and were instead on version 6.5 Update 4.

    After redeploying the correct Update 5 DLLs (and keeping the web.config change we had previously) the site is now operating on .NET 4.5 and the workbox now loads without any exceptions being thrown.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After installing .NET 4.0, I am now getting an exception on this statement: if
I get the following exception after installing ASP.NET MVC 4 Beta on a machine
I installed my .NET windows service and right after installing I noticed mscorsvw.exe maxing
after installing .NET 4.5 on a Windows Web Server 2008 R2, some performance counters
I have verified that after installing the .Net Framework 3.5 SP1, when the User
After installing service pack 1 for Visual Studio 2010 cannot create web site in
After installing ASP.NET MVC 4 Beta, Visual Studio shows Updating source control status on
I just checked out a asp net mvc project from out TFS. After installing
After installing .NET 4.5 to my web server I'm getting script errors trying to
I have installed .net 4.5 framework from http://www.microsoft.com/en-in/download/details.aspx?id=30653 After installing the 4.5 framework I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.