Advertisement
Guest User

asp net core log

a guest
Oct 19th, 2016
655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 5.82 KB | None | 0 0
  1. info: Microsoft.Extensions.DependencyInjection.DataProtectionServices[0]
  2.       User profile is available. Using 'C:\Users\GuidoDev1\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
  3. Hosting environment: Staging
  4. Content root path: C:\inetpub\wwwroot\GuidoDev1\site
  5. Now listening on: http://localhost:2042
  6. Application started. Press Ctrl+C to shut down.
  7. info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
  8.       Request starting HTTP/1.1 GET http://guido1.fitmentgroup.com/price  
  9. info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
  10.       Creating key {c2025bb8-76b3-48cd-a10f-3bea248bb80c} with creation date 2016-10-19 20:08:08Z, activation date 2016-10-19 20:08:08Z, and expiration date 2017-01-17 20:08:08Z.
  11. info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
  12.       Writing data to file 'C:\Users\GuidoDev1\AppData\Local\ASP.NET\DataProtection-Keys\key-c2025bb8-76b3-48cd-a10f-3bea248bb80c.xml'.
  13. warn: Microsoft.AspNetCore.Session.SessionMiddleware[7]
  14.       Error unprotecting the session cookie.
  15. System.Security.Cryptography.CryptographicException: The key {c661641f-5187-4ff4-9235-5a7ddda0df0d} was not found in the key ring.
  16.    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
  17.    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.DangerousUnprotect(Byte[] protectedData, Boolean ignoreRevocationErrors, Boolean& requiresMigration, Boolean& wasRevoked)
  18.    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
  19.    at Microsoft.AspNetCore.Session.CookieProtection.Unprotect(IDataProtector protector, String protectedText, ILogger logger)
  20. info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[7]
  21.       ApplicationCookie was not authenticated. Failure message: Unprotect ticket failed
  22. info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2]
  23.       Authorization failed for user: .
  24. warn: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
  25.       Authorization failed for the request at filter 'Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter'.
  26. info: Microsoft.AspNetCore.Mvc.ChallengeResult[1]
  27.       Executing ChallengeResult with authentication schemes ().
  28. info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[12]
  29.       AuthenticationScheme: ApplicationCookie was challenged.
  30. info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
  31.       Request finished in 569.1479ms 302
  32. info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
  33.       Request starting HTTP/1.1 GET http://guido1.fitmentgroup.com/Account/Login?ReturnUrl=%2Fprice  
  34. warn: Microsoft.AspNetCore.Session.SessionMiddleware[7]
  35.       Error unprotecting the session cookie.
  36. System.Security.Cryptography.CryptographicException: The key {c661641f-5187-4ff4-9235-5a7ddda0df0d} was not found in the key ring.
  37.    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
  38.    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.DangerousUnprotect(Byte[] protectedData, Boolean ignoreRevocationErrors, Boolean& requiresMigration, Boolean& wasRevoked)
  39.    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
  40.    at Microsoft.AspNetCore.Session.CookieProtection.Unprotect(IDataProtector protector, String protectedText, ILogger logger)
  41. info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[7]
  42.       ApplicationCookie was not authenticated. Failure message: Unprotect ticket failed
  43. info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
  44.       Executing action method viper.Controllers.AccountController.Login (viper) with arguments (/price) - ModelState is Valid
  45. info: Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewResultExecutor[1]
  46.       Executing ViewResult, running view at path /Views/Account/Login.cshtml.
  47. fail: Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgery[7]
  48.       An exception was thrown while deserializing the token.
  49. System.InvalidOperationException: The antiforgery token could not be decrypted. ---> System.Security.Cryptography.CryptographicException: The key {c661641f-5187-4ff4-9235-5a7ddda0df0d} was not found in the key ring.
  50.    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
  51.    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.DangerousUnprotect(Byte[] protectedData, Boolean ignoreRevocationErrors, Boolean& requiresMigration, Boolean& wasRevoked)
  52.    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
  53.    at Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
  54.    --- End of inner exception stack trace ---
  55.    at Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
  56.    at Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgery.GetCookieTokenDoesNotThrow(HttpContext httpContext)
  57. info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
  58.       Executed action viper.Controllers.AccountController.Login (viper) in 4651.88ms
  59. info: Microsoft.AspNetCore.Session.DistributedSession[3]
  60.       Session started; Key:fdc7e0ce-05a3-ae25-58a8-a742a10976fa, Id:871324c7-6978-34d8-748d-fa086266cfde
  61. info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
  62.       Request finished in 4714.0746ms 200 text/html; charset=utf-8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement