Getting this error from the global.asax after upgrading:
Line 56: ' Ensure we always have at least one encryption key
Line 57: If (keys = String.Empty) Then
Line 58: manager.GenerateNewKey() - THIS IS THE LINE
Line 59: keys = manager.LoadKeyJsonFromDisk()
Line 60: AuditLog.LogSystemEvent(BVSoftware.Commerce.Metrics.AuditLogSourceModule.System, _
[HttpException (0x80004005): Response is not available in this context.]
System.Web.HttpContext.get_Response() +11336206
System.Web.HttpUtility.JavaScriptStringEncode(String value, Boolean addDoubleQuotes) +63
System.Web.Script.Serialization.JavaScriptSerializer.SerializeCustomObject(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +714
System.Web.Script.Serialization.JavaScriptSerializer.SerializeValueInternal(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +1692
System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +146
System.Web.Script.Serialization.JavaScriptSerializer.SerializeEnumerable(IEnumerable enumerable, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +182
System.Web.Script.Serialization.JavaScriptSerializer.SerializeValueInternal(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +1647
System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +146
System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, StringBuilder output, SerializationFormat serializationFormat) +43
BVSoftware.Cryptography.KeyManager.SaveKeysInMemory() in c:\Users\aaron.sherrick.DEVELISYS\Documents\BVCommerce\App-DEV\source\BVSoftware.Cryptography\KeyManager.cs:147
ASP.global_asax.LoadEncryptionKeys() in E:\inetpub\wallcur\www2\global.asax:58
ASP.global_asax.Application_Start(Object sender, EventArgs e) in E:\inetpub\wallcur\www2\global.asax:32
[HttpException (0x80004005): Response is not available in this context.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +3988565
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +191
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +325
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +407
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375
[HttpException (0x80004005): Response is not available in this context.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11529072
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4784373