I'm developing my own module and after upgrading to 7.2.2 I've been getting the following error after running my module in debug mode.
I can't find a reason for it to be doing this. Research online hasn't provided any results or anyone with a similar problem had a different variation of it.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Could not load type 'DotNetNuke.Services.Cryptography.CryptographyProvider' from assembly 'DotNetNuke, Version=7.1.2.356, Culture=neutral, PublicKeyToken=null'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'DotNetNuke.Services.Cryptography.CryptographyProvider' from assembly 'DotNetNuke, Version=7.1.2.356, Culture=neutral, PublicKeyToken=null'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[TypeLoadException: Could not load type 'DotNetNuke.Services.Cryptography.CryptographyProvider' from assembly 'DotNetNuke, Version=7.1.2.356, Culture=neutral, PublicKeyToken=null'.]
DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication.Application_Start(Object sender, EventArgs eventArgs) +0
[HttpException (0x80004005): Could not load type 'DotNetNuke.Services.Cryptography.CryptographyProvider' from assembly 'DotNetNuke, Version=7.1.2.356, Culture=neutral, PublicKeyToken=null'.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12951237
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475
[HttpException (0x80004005): Could not load type 'DotNetNuke.Services.Cryptography.CryptographyProvider' from assembly 'DotNetNuke, Version=7.1.2.356, Culture=neutral, PublicKeyToken=null'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12968244
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12807949
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18447