En feil har oppstått

Dokumenttjener returnerte feilkode 500: "HTTP error (500): <!DOCTYPE html> <html> <head> <title>Cannot access a disposed object.<br>Object name: 'System.Net.Http.HttpMessageInvoker'.</title> <meta name="viewport" content="width=device-width" /> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:pointer; } @media screen and (max-width: 639px) { pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; } } @media screen and (max-width: 479px) { pre { width: 280px; } } </style> </head> <body bgcolor="white"> <span><H1>Server Error in '/nCoreIntegrasjoner' Application.<hr width=100% size=1 color=silver></H1> <h2> <i>Cannot access a disposed object.<br>Object name: 'System.Net.Http.HttpMessageInvoker'.</i> </h2></span> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b> Description: </b>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. <br><br> <b> Exception Details: </b>System.ObjectDisposedException: Cannot access a disposed object.<br>Object name: 'System.Net.Http.HttpMessageInvoker'.<br><br> <b>Source Error:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code> 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. </code> </td> </tr> </table> <br> <b>Stack Trace:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> [ObjectDisposedException: Cannot access a disposed object. Object name: &#39;System.Net.Http.HttpMessageInvoker&#39;.] System.Net.Http.HttpMessageInvoker.CheckDisposed() +80 System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) +36 System.Web.Http.Owin.&lt;InvokeCore&gt;d__20.MoveNext() +614 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Ephorte.&lt;InvokeCoreAsync&gt;d__2.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\App_Start\EphorteAuthenticationMiddleware.cs:40 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Ephorte.Owin.&lt;Invoke&gt;d__1.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\Owin\ElementsOwinMiddleware.cs:17 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Ephorte.&lt;InvokeCoreAsync&gt;d__1.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\App_Start\EphorteRequestMiddleware.cs:24 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Ephorte.Owin.&lt;Invoke&gt;d__1.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\Owin\ElementsOwinMiddleware.cs:17 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.&lt;RunApp&gt;d__7.MoveNext() +197 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Microsoft.Owin.Security.Infrastructure.&lt;Invoke&gt;d__5.MoveNext() +735 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Ephorte.&lt;Invoke&gt;d__2.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\App_Start\AuthenticationQueryParamsMiddleware.cs:23 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Ephorte.&lt;InvokeCoreAsync&gt;d__1.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\App_Start\QueryTokenAuthenticationMiddleware.cs:21 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Ephorte.Owin.&lt;Invoke&gt;d__1.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\Owin\ElementsOwinMiddleware.cs:17 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Microsoft.Owin.Cors.&lt;Invoke&gt;d__4.MoveNext() +923 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Ephorte.Logging.&lt;Invoke&gt;d__4.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\Logging\NcoreRequestLoggingMiddleware.cs:62 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Elements.nCore.NcoreContext.Owin.&lt;&lt;InitializeNcoreContext&gt;b__1_0&gt;d.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\Business\Elements.nCore.NcoreContext\Owin\OwinExtensions.cs:31 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Owin.&lt;&lt;RegisterAutofacLifetimeScopeInjector&gt;b__0&gt;d.MoveNext() +485 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.&lt;RunApp&gt;d__7.MoveNext() +197 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.&lt;DoFinalWork&gt;d__12.MoveNext() +192 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar) +117 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +510 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +134 </pre> </code> </td> </tr> </table> <br> <hr width=100% size=1 color=silver> <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4330.0 </font> </body> </html> <!-- [ObjectDisposedException]: Cannot access a disposed object. Object name: &#39;System.Net.Http.HttpMessageInvoker&#39;. at System.Net.Http.HttpMessageInvoker.CheckDisposed() at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Web.Http.Owin.HttpMessageHandlerAdapter.<InvokeCore>d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Ephorte.EphorteAuthenticationMiddleware.<InvokeCoreAsync>d__2.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\App_Start\EphorteAuthenticationMiddleware.cs:line 40 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Ephorte.Owin.ElementsOwinMiddleware.<Invoke>d__1.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\Owin\ElementsOwinMiddleware.cs:line 17 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Ephorte.EphorteRequestMiddleware.<InvokeCoreAsync>d__1.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\App_Start\EphorteRequestMiddleware.cs:line 24 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Ephorte.Owin.ElementsOwinMiddleware.<Invoke>d__1.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\Owin\ElementsOwinMiddleware.cs:line 17 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.<RunApp>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.<Invoke>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Ephorte.AuthenticationQueryParamsMiddleware.<Invoke>d__2.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\App_Start\AuthenticationQueryParamsMiddleware.cs:line 23 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Ephorte.QueryTokenAuthenticationMiddleware.<InvokeCoreAsync>d__1.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\App_Start\QueryTokenAuthenticationMiddleware.cs:line 21 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Ephorte.Owin.ElementsOwinMiddleware.<Invoke>d__1.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\Owin\ElementsOwinMiddleware.cs:line 17 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Owin.Cors.CorsMiddleware.<Invoke>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Ephorte.Logging.NcoreRequestLoggingMiddleware.<Invoke>d__4.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\UI\ASP.NET\nCore\Logging\NcoreRequestLoggingMiddleware.cs:line 62 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Elements.nCore.NcoreContext.Owin.OwinExtensions.<>c.<<InitializeNcoreContext>b__1_0>d.MoveNext() in C:\agent\_work\296\s\ePhorte\Source\Business\Elements.nCore.NcoreContext\Owin\OwinExtensions.cs:line 31 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Owin.AutofacAppBuilderExtensions.<>c__DisplayClass10_0.<<RegisterAutofacLifetimeScopeInjector>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.<RunApp>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.<DoFinalWork>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar) at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --><!-- This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->".