C# 在位置'处进行身份验证时出现异常;ApplyResponseGrant';具有标识(返回:True)

C# 在位置'处进行身份验证时出现异常;ApplyResponseGrant';具有标识(返回:True),c#,asp.net-mvc,authentication,owin,C#,Asp.net Mvc,Authentication,Owin,System.Web.HttpException(0x80004005):服务器无法追加标头 在发送HTTP头之后。在 System.Web.HttpHeaderCollection.SetHeader(字符串名称、字符串值、, System.Web.HttpHeaderCollection.Set(字符串)处的布尔替换 名称、字符串值)位于 Microsoft.Owin.Host.SystemWeb.CallHeaders.AspNetResponseHeaders.Set(字符串 键,字符串

System.Web.HttpException(0x80004005):服务器无法追加标头 在发送HTTP头之后。在 System.Web.HttpHeaderCollection.SetHeader(字符串名称、字符串值、, System.Web.HttpHeaderCollection.Set(字符串)处的布尔替换 名称、字符串值)位于 Microsoft.Owin.Host.SystemWeb.CallHeaders.AspNetResponseHeaders.Set(字符串 键,字符串[]值)位于 Microsoft.Owin.Host.SystemWeb.CallHeaders.AspNetResponseHeaders.set_项(字符串 键,字符串[]值)位于 Microsoft.Owin.Infrastructure.OwinHelpers.SetHeaderUnmodified(IDictionary
2
标题、字符串键、字符串[]值)位于
Microsoft.Owin.Infrastructure.OwinHelpers.AppendHeaderUnmodified(IDictionary
2 标题、字符串键、字符串[]值)位于 Microsoft.Owin.HeaderDictionary.AppendValues(字符串键,字符串[]) 价值观)在 Microsoft.Owin.Infrastructure.ChunkingCookieManager.AppendResponseCookie(IOwinContext 上下文、字符串键、字符串值、CookieOptions)位于 Microsoft.Owin.Security.Cookies.CookieAuthenticationHandler.d_uf.MoveNext()

得到这个问题了吗?我应该如何尝试调试?不知道从哪里开始