jalle007

Untitled

Apr 17th, 2018
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.41 KB | None | 0 0
  1. PM> Add-Migration InitialCreate
  2. Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
  3. User profile is available. Using 'C:\Users\xxx\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
  4. IdentityServer4.Startup[0]
  5. You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation.
  6. IdentityServer4.Startup[0]
  7. You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation.
  8. dbug: IdentityServer4.Startup[0]
  9. Using Bearer as default scheme for authentication
  10. dbug: IdentityServer4.Startup[0]
  11. Using Bearer as default scheme for authentication
  12. dbug: IdentityServer4.Startup[0]
  13. Using Identity.External as default scheme for sign-in
  14. dbug: IdentityServer4.Startup[0]
  15. Using Identity.External as default scheme for sign-in
  16. dbug: IdentityServer4.Startup[0]
  17. Using Identity.External as default scheme for sign-out
  18. dbug: IdentityServer4.Startup[0]
  19. Using Identity.External as default scheme for sign-out
  20. dbug: IdentityServer4.Startup[0]
  21. Using Bearer as default scheme for challenge
  22. dbug: IdentityServer4.Startup[0]
  23. Using Bearer as default scheme for challenge
  24. dbug: IdentityServer4.Startup[0]
  25. Using Bearer as default scheme for forbid
  26. dbug: IdentityServer4.Startup[0]
  27. Using Bearer as default scheme for forbid
  28. Microsoft.EntityFrameworkCore.Infrastructure[10403]
  29. Entity Framework Core 2.0.2-rtm-10011 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: MigrationsAssembly=Restaurant.Server.Api
  30. Microsoft.EntityFrameworkCore.Infrastructure[10403]
  31. Entity Framework Core 2.0.2-rtm-10011 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: MigrationsAssembly=Restaurant.Server.Api
  32. fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
  33. Failed executing DbCommand (27ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
  34. SELECT TOP(1) [r].[Id], [r].[ConcurrencyStamp], [r].[Name], [r].[NormalizedName]
  35. FROM [AspNetRoles] AS [r]
  36. WHERE [r].[NormalizedName] = @__normalizedName_0
  37. System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  38. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  39. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  40. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  41. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  42. --- End of stack trace from previous location where exception was thrown ---
  43. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  44. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  45. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  46. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  47. ClientConnectionId:90ba4902-c6ad-45c9-a260-fb1b1337d042
  48. Error Number:208,State:1,Class:16
  49. fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
  50. Failed executing DbCommand (27ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
  51. SELECT TOP(1) [r].[Id], [r].[ConcurrencyStamp], [r].[Name], [r].[NormalizedName]
  52. FROM [AspNetRoles] AS [r]
  53. WHERE [r].[NormalizedName] = @__normalizedName_0
  54. System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  55. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  56. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  57. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  58. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  59. --- End of stack trace from previous location where exception was thrown ---
  60. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  61. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  62. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  63. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  64. ClientConnectionId:90ba4902-c6ad-45c9-a260-fb1b1337d042
  65. Error Number:208,State:1,Class:16
  66. fail: Microsoft.EntityFrameworkCore.Query[10100]
  67. An exception occurred in the database while iterating the results of a query for context type 'Restaurant.Server.DataProvider.DatabaseContext'.
  68. System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  69. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  70. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  71. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  72. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  73. --- End of stack trace from previous location where exception was thrown ---
  74. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  75. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  76. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  77. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  78. --- End of stack trace from previous location where exception was thrown ---
  79. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  80. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  81. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  82. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  83. --- End of stack trace from previous location where exception was thrown ---
  84. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  85. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  86. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  87. --- End of stack trace from previous location where exception was thrown ---
  88. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  89. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  90. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  91. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  92. --- End of stack trace from previous location where exception was thrown ---
  93. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  94. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  95. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  96. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  97. --- End of stack trace from previous location where exception was thrown ---
  98. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  99. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  100. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  101. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  102. --- End of stack trace from previous location where exception was thrown ---
  103. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  104. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  105. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  106. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  107. --- End of stack trace from previous location where exception was thrown ---
  108. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  109. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  110. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  111. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  112. --- End of stack trace from previous location where exception was thrown ---
  113. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  114. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  115. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  116. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  117. ClientConnectionId:90ba4902-c6ad-45c9-a260-fb1b1337d042
  118. Error Number:208,State:1,Class:16
  119. System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  120. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  121. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  122. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  123. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  124. --- End of stack trace from previous location where exception was thrown ---
  125. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  126. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  127. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  128. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  129. --- End of stack trace from previous location where exception was thrown ---
  130. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  131. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  132. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  133. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  134. --- End of stack trace from previous location where exception was thrown ---
  135. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  136. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  137. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  138. --- End of stack trace from previous location where exception was thrown ---
  139. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  140. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  141. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  142. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  143. --- End of stack trace from previous location where exception was thrown ---
  144. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  145. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  146. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  147. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  148. --- End of stack trace from previous location where exception was thrown ---
  149. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  150. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  151. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  152. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  153. --- End of stack trace from previous location where exception was thrown ---
  154. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  155. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  156. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  157. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  158. --- End of stack trace from previous location where exception was thrown ---
  159. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  160. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  161. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  162. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  163. --- End of stack trace from previous location where exception was thrown ---
  164. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  165. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  166. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  167. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  168. ClientConnectionId:90ba4902-c6ad-45c9-a260-fb1b1337d042
  169. Error Number:208,State:1,Class:16
  170. fail: Microsoft.EntityFrameworkCore.Query[10100]
  171. An exception occurred in the database while iterating the results of a query for context type 'Restaurant.Server.DataProvider.DatabaseContext'.
  172. System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  173. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  174. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  175. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  176. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  177. --- End of stack trace from previous location where exception was thrown ---
  178. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  179. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  180. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  181. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  182. --- End of stack trace from previous location where exception was thrown ---
  183. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  184. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  185. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  186. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  187. --- End of stack trace from previous location where exception was thrown ---
  188. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  189. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  190. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  191. --- End of stack trace from previous location where exception was thrown ---
  192. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  193. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  194. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  195. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  196. --- End of stack trace from previous location where exception was thrown ---
  197. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  198. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  199. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  200. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  201. --- End of stack trace from previous location where exception was thrown ---
  202. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  203. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  204. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  205. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  206. --- End of stack trace from previous location where exception was thrown ---
  207. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  208. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  209. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  210. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  211. --- End of stack trace from previous location where exception was thrown ---
  212. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  213. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  214. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  215. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  216. --- End of stack trace from previous location where exception was thrown ---
  217. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  218. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  219. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  220. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  221. ClientConnectionId:90ba4902-c6ad-45c9-a260-fb1b1337d042
  222. Error Number:208,State:1,Class:16
  223. System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  224. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  225. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  226. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  227. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  228. --- End of stack trace from previous location where exception was thrown ---
  229. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  230. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  231. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  232. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  233. --- End of stack trace from previous location where exception was thrown ---
  234. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  235. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  236. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  237. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  238. --- End of stack trace from previous location where exception was thrown ---
  239. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  240. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  241. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  242. --- End of stack trace from previous location where exception was thrown ---
  243. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  244. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  245. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  246. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  247. --- End of stack trace from previous location where exception was thrown ---
  248. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  249. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  250. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  251. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  252. --- End of stack trace from previous location where exception was thrown ---
  253. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  254. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  255. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  256. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  257. --- End of stack trace from previous location where exception was thrown ---
  258. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  259. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  260. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  261. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  262. --- End of stack trace from previous location where exception was thrown ---
  263. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  264. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  265. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  266. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  267. --- End of stack trace from previous location where exception was thrown ---
  268. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  269. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  270. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  271. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  272. ClientConnectionId:90ba4902-c6ad-45c9-a260-fb1b1337d042
  273. Error Number:208,State:1,Class:16
  274. failApplication startup exception: System.AggregateException: One or more errors occurred. (Invalid object name 'AspNetRoles'.) ---> System.Data.SqlClient.SqlException: Invalid object name 'AspNetRoles'.
  275. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  276. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  277. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  278. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  279. --- End of stack trace from previous location where exception was thrown ---
  280. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  281. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  282. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  283. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  284. --- End of stack trace from previous location where exception was thrown ---
  285. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  286. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  287. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  288. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  289. --- End of stack trace from previous location where exception was thrown ---
  290. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  291. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  292. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  293. --- End of stack trace from previous location where exception was thrown ---
  294. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  295. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  296. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  297. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  298. --- End of stack trace from previous location where exception was thrown ---
  299. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  300. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  301. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  302. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  303. --- End of stack trace from previous location where exception was thrown ---
  304. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  305. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  306. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  307. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  308. --- End of stack trace from previous location where exception was thrown ---
  309. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  310. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  311. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  312. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  313. --- End of stack trace from previous location where exception was thrown ---
  314. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  315. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  316. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  317. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  318. --- End of stack trace from previous location where exception was thrown ---
  319. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  320. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  321. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  322. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  323. --- End of stack trace from previous location where exception was thrown ---
  324. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  325. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  326. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  327. at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  328. --- End of stack trace from previous location where exception was thrown ---
  329. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  330. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  331. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  332. at Microsoft.AspNetCore.Identity.RoleManager`1.<RoleExistsAsync>d__33.MoveNext()
  333. --- End of stack trace from previous location where exception was thrown ---
  334. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  335. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  336. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  337. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateRoles>d__5.MoveNext() in E:\Projects\Xamarin\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 39
  338. --- End of stack trace from previous location where exception was thrown ---
  339. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  340. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  341. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateDefaultUsersAndRoles>d__4.MoveNext() in E:\Projects\Xamarin\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 30
  342. --- End of inner exception stack trace ---
  343. at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
  344. at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
  345. at System.Threading.Tasks.Task.Wait()
  346. at Restaurant.Server.Api.Startup.Configure(IApplicationBuilder app, ILoggerFactory loggerFactory, IConfiguration configuration, IUserBootstrapper userBootstrapper) in E:\Projects\Xamarin\Restaurant-App\src\Server\Restaurant.Server.Api\Startup.cs:line 104
  347. --- End of stack trace from previous location where exception was thrown ---
  348. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  349. at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
  350. at Microsoft.AspNetCore.Hosting.Internal.AutoRequestServicesStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder builder)
  351. at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
  352. ---> (Inner Exception #0) System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  353. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  354. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  355. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  356. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  357. --- End of stack trace from previous location where exception was thrown ---
  358. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  359. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  360. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  361. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  362. --- End of stack trace from previous location where exception was thrown ---
  363. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  364. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  365. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  366. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  367. --- End of stack trace from previous location where exception was thrown ---
  368. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  369. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  370. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  371. --- End of stack trace from previous location where exception was thrown ---
  372. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  373. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  374. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  375. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  376. --- End of stack trace from previous location where exception was thrown ---
  377. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  378. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  379. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  380. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  381. --- End of stack trace from previous location where exception was thrown ---
  382. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  383. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  384. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  385. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  386. --- End of stack trace from previous location where exception was thrown ---
  387. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  388. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  389. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  390. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  391. --- End of stack trace from previous location where exception was thrown ---
  392. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  393. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  394. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  395. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  396. --- End of stack trace from previous location where exception was thrown ---
  397. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  398. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  399. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  400. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  401. --- End of stack trace from previous location where exception was thrown ---
  402. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  403. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  404. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  405. at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  406. --- End of stack trace from previous location where exception was thrown ---
  407. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  408. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  409. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  410. at Microsoft.AspNetCore.Identity.RoleManager`1.<RoleExistsAsync>d__33.MoveNext()
  411. --- End of stack trace from previous location where exception was thrown ---
  412. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  413. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  414. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  415. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateRoles>d__5.MoveNext() in E:\Projects\Xamarin\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 39
  416. --- End of stack trace from previous location where exception was thrown ---
  417. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  418. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  419. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateDefaultUsersAndRoles>d__4.MoveNext() in E:\Projects\Xamarin\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 30
  420. ClientConnectionId:90ba4902-c6ad-45c9-a260-fb1b1337d042
  421. Error Number:208,State:1,Class:16<---
Advertisement
Add Comment
Please, Sign In to add comment