Advertisement
jalle007

Untitled

Apr 17th, 2018
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.82 KB | None | 0 0
  1. e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Api>dotnet ef database update
  2. info: 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. info: 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. info: 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. dbugdbug: IdentityServer4.Startup[0]
  9. Using Bearer as default scheme for authentication
  10. : 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. dbugdbug: IdentityServer4.Startup[0]
  17. Using Identity.External as default scheme for sign-out
  18. : IdentityServer4.Startup[0]
  19. Using Identity.External as default scheme for sign-out
  20. dbugdbug: IdentityServer4.Startup[0]
  21. Using Bearer as default scheme for challenge
  22. : IdentityServer4.Startup[0]
  23. Using Bearer as default scheme for challenge
  24. dbugdbug: IdentityServer4.Startup[0]
  25. Using Bearer as default scheme for forbid
  26. : IdentityServer4.Startup[0]
  27. Using Bearer as default scheme for forbid
  28. info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
  29. Entity Framework Core 2.0.1-rtm-125 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: MigrationsAssembly=Restaurant.Server.Api
  30. info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
  31. Entity Framework Core 2.0.1-rtm-125 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:aee7aaca-8fc5-4169-bbc7-93df2e692919
  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:aee7aaca-8fc5-4169-bbc7-93df2e692919
  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:aee7aaca-8fc5-4169-bbc7-93df2e692919
  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:aee7aaca-8fc5-4169-bbc7-93df2e692919
  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:aee7aaca-8fc5-4169-bbc7-93df2e692919
  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:aee7aaca-8fc5-4169-bbc7-93df2e692919
  273. Error Number:208,State:1,Class:16
  274. fail: Microsoft.EntityFrameworkCore.Query[10100]
  275. An exception occurred in the database while iterating the results of a query for context type 'Restaurant.Server.DataProvider.DatabaseContext'.
  276. System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  277. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  278. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  279. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  280. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  281. --- End of stack trace from previous location where exception was thrown ---
  282. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  283. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  284. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  285. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  286. --- End of stack trace from previous location where exception was thrown ---
  287. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  288. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  289. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  290. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  291. --- End of stack trace from previous location where exception was thrown ---
  292. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  293. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  294. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  295. --- End of stack trace from previous location where exception was thrown ---
  296. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  297. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  298. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  299. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  300. --- End of stack trace from previous location where exception was thrown ---
  301. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  302. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  303. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  304. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  305. --- End of stack trace from previous location where exception was thrown ---
  306. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  307. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  308. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  309. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  310. --- End of stack trace from previous location where exception was thrown ---
  311. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  312. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  313. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  314. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  315. --- End of stack trace from previous location where exception was thrown ---
  316. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  317. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  318. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  319. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  320. --- End of stack trace from previous location where exception was thrown ---
  321. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  322. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  323. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  324. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  325. --- End of stack trace from previous location where exception was thrown ---
  326. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  327. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  328. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  329. at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  330. ClientConnectionId:aee7aaca-8fc5-4169-bbc7-93df2e692919
  331. Error Number:208,State:1,Class:16
  332. System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  333. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  334. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  335. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  336. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  337. --- End of stack trace from previous location where exception was thrown ---
  338. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  339. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  340. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  341. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  342. --- End of stack trace from previous location where exception was thrown ---
  343. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  344. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  345. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  346. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  347. --- End of stack trace from previous location where exception was thrown ---
  348. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  349. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  350. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  351. --- End of stack trace from previous location where exception was thrown ---
  352. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  353. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  354. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  355. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  356. --- End of stack trace from previous location where exception was thrown ---
  357. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  358. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  359. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  360. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  361. --- End of stack trace from previous location where exception was thrown ---
  362. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  363. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  364. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  365. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  366. --- End of stack trace from previous location where exception was thrown ---
  367. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  368. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  369. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  370. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  375. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.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.TaskAwaiter`1.GetResult()
  380. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.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.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  386. ClientConnectionId:aee7aaca-8fc5-4169-bbc7-93df2e692919
  387. Error Number:208,State:1,Class:16
  388. fail: Microsoft.EntityFrameworkCore.Query[10100]
  389. An exception occurred in the database while iterating the results of a query for context type 'Restaurant.Server.DataProvider.DatabaseContext'.
  390. System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  391. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  392. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  393. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  394. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  395. --- End of stack trace from previous location where exception was thrown ---
  396. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  397. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  398. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  399. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  400. --- End of stack trace from previous location where exception was thrown ---
  401. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  402. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  403. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  404. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  405. --- End of stack trace from previous location where exception was thrown ---
  406. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  407. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  408. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  409. --- End of stack trace from previous location where exception was thrown ---
  410. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  411. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  412. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  413. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  414. --- End of stack trace from previous location where exception was thrown ---
  415. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  416. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  417. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  418. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  419. --- End of stack trace from previous location where exception was thrown ---
  420. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  421. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  422. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  423. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  424. --- End of stack trace from previous location where exception was thrown ---
  425. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  426. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  427. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  428. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  429. --- End of stack trace from previous location where exception was thrown ---
  430. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  431. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  432. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  433. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  434. --- End of stack trace from previous location where exception was thrown ---
  435. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  436. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  437. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  438. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  439. --- End of stack trace from previous location where exception was thrown ---
  440. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  441. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  442. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  443. at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  444. ClientConnectionId:aee7aaca-8fc5-4169-bbc7-93df2e692919
  445. Error Number:208,State:1,Class:16
  446. System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  447. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  448. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  449. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  450. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  451. --- End of stack trace from previous location where exception was thrown ---
  452. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  453. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  454. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  455. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  456. --- End of stack trace from previous location where exception was thrown ---
  457. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  458. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  459. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  460. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  461. --- End of stack trace from previous location where exception was thrown ---
  462. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  463. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  464. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  465. --- End of stack trace from previous location where exception was thrown ---
  466. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  467. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  468. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  469. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  470. --- End of stack trace from previous location where exception was thrown ---
  471. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  472. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  473. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  474. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  475. --- End of stack trace from previous location where exception was thrown ---
  476. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  477. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  478. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  479. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  480. --- End of stack trace from previous location where exception was thrown ---
  481. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  482. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  483. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  484. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  485. --- End of stack trace from previous location where exception was thrown ---
  486. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  487. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  488. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  489. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  490. --- End of stack trace from previous location where exception was thrown ---
  491. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  492. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  493. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  494. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  495. --- End of stack trace from previous location where exception was thrown ---
  496. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  497. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  498. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  499. at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  500. ClientConnectionId:aee7aaca-8fc5-4169-bbc7-93df2e692919
  501. Error Number:208,State:1,Class:16
  502. Application startup exception: System.AggregateException: One or more errors occurred. (Invalid object name 'AspNetRoles'.) ---> System.Data.SqlClient.SqlException: Invalid object name 'AspNetRoles'.
  503. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  504. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  505. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  506. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  507. --- End of stack trace from previous location where exception was thrown ---
  508. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  509. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  510. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  511. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  512. --- End of stack trace from previous location where exception was thrown ---
  513. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  514. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  515. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  516. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  517. --- End of stack trace from previous location where exception was thrown ---
  518. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  519. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  520. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  521. --- End of stack trace from previous location where exception was thrown ---
  522. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  523. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  524. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  525. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  526. --- End of stack trace from previous location where exception was thrown ---
  527. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  528. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  529. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  530. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  531. --- End of stack trace from previous location where exception was thrown ---
  532. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  533. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  534. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  535. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  536. --- End of stack trace from previous location where exception was thrown ---
  537. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  538. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  539. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  540. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  541. --- End of stack trace from previous location where exception was thrown ---
  542. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  543. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  544. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  545. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  546. --- End of stack trace from previous location where exception was thrown ---
  547. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  548. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  549. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  550. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  551. --- End of stack trace from previous location where exception was thrown ---
  552. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  553. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  554. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  555. at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  556. --- End of stack trace from previous location where exception was thrown ---
  557. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  558. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  559. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  560. at Microsoft.AspNetCore.Identity.RoleManager`1.<RoleExistsAsync>d__33.MoveNext()
  561. --- End of stack trace from previous location where exception was thrown ---
  562. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  563. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  564. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  565. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateRoles>d__5.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 39
  566. --- End of stack trace from previous location where exception was thrown ---
  567. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  568. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  569. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateDefaultUsersAndRoles>d__4.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 30
  570. --- End of inner exception stack trace ---
  571. at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
  572. at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
  573. at System.Threading.Tasks.Task.Wait()
  574. at Restaurant.Server.Api.Startup.Configure(IApplicationBuilder app, ILoggerFactory loggerFactory, IConfiguration configuration, IUserBootstrapper userBootstrapper) in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Api\Startup.cs:line 104
  575. --- End of stack trace from previous location where exception was thrown ---
  576. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  577. at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
  578. at Microsoft.AspNetCore.Hosting.Internal.AutoRequestServicesStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder builder)
  579. at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
  580. ---> (Inner Exception #0) System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  581. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  582. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  583. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  584. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  585. --- End of stack trace from previous location where exception was thrown ---
  586. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  587. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  588. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  589. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  590. --- End of stack trace from previous location where exception was thrown ---
  591. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  592. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  593. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  594. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  595. --- End of stack trace from previous location where exception was thrown ---
  596. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  597. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  598. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  599. --- End of stack trace from previous location where exception was thrown ---
  600. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  601. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  602. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  603. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  604. --- End of stack trace from previous location where exception was thrown ---
  605. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  606. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  607. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  608. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  609. --- End of stack trace from previous location where exception was thrown ---
  610. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  611. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  612. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  613. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  614. --- End of stack trace from previous location where exception was thrown ---
  615. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  616. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  617. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  618. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  619. --- End of stack trace from previous location where exception was thrown ---
  620. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  621. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  622. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  623. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  624. --- End of stack trace from previous location where exception was thrown ---
  625. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  626. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  627. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  628. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  629. --- End of stack trace from previous location where exception was thrown ---
  630. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  631. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  632. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  633. at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  634. --- End of stack trace from previous location where exception was thrown ---
  635. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  636. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  637. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  638. at Microsoft.AspNetCore.Identity.RoleManager`1.<RoleExistsAsync>d__33.MoveNext()
  639. --- End of stack trace from previous location where exception was thrown ---
  640. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  641. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  642. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  643. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateRoles>d__5.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 39
  644. --- End of stack trace from previous location where exception was thrown ---
  645. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  646. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  647. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateDefaultUsersAndRoles>d__4.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 30
  648. ClientConnectionId:aee7aaca-8fc5-4169-bbc7-93df2e692919
  649. Error Number:208,State:1,Class:16<---
  650.  
  651. crit: Microsoft.AspNetCore.Hosting.Internal.WebHost[6]
  652. Application startup exception
  653. System.AggregateException: One or more errors occurred. (Invalid object name 'AspNetRoles'.) ---> System.Data.SqlClient.SqlException: Invalid object name 'AspNetRoles'.
  654. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  655. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  656. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  657. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  658. --- End of stack trace from previous location where exception was thrown ---
  659. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  660. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  661. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  662. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  663. --- End of stack trace from previous location where exception was thrown ---
  664. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  665. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  666. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  667. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  668. --- End of stack trace from previous location where exception was thrown ---
  669. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  670. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  671. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  672. --- End of stack trace from previous location where exception was thrown ---
  673. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  674. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  675. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  676. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  677. --- End of stack trace from previous location where exception was thrown ---
  678. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  679. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  680. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  681. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  682. --- End of stack trace from previous location where exception was thrown ---
  683. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  684. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  685. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  686. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  687. --- End of stack trace from previous location where exception was thrown ---
  688. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  689. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  690. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  691. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  692. --- End of stack trace from previous location where exception was thrown ---
  693. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  694. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  695. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  696. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  697. --- End of stack trace from previous location where exception was thrown ---
  698. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  699. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  700. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  701. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  702. --- End of stack trace from previous location where exception was thrown ---
  703. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  704. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  705. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  706. at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  707. --- End of stack trace from previous location where exception was thrown ---
  708. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  709. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  710. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  711. at Microsoft.AspNetCore.Identity.RoleManager`1.<RoleExistsAsync>d__33.MoveNext()
  712. --- End of stack trace from previous location where exception was thrown ---
  713. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  714. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  715. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  716. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateRoles>d__5.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 39
  717. --- End of stack trace from previous location where exception was thrown ---
  718. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  719. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  720. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateDefaultUsersAndRoles>d__4.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 30
  721. --- End of inner exception stack trace ---
  722. at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
  723. at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
  724. at System.Threading.Tasks.Task.Wait()
  725. at Restaurant.Server.Api.Startup.Configure(IApplicationBuilder app, ILoggerFactory loggerFactory, IConfiguration configuration, IUserBootstrapper userBootstrapper) in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Api\Startup.cs:line 104
  726. --- End of stack trace from previous location where exception was thrown ---
  727. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  728. at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
  729. at Microsoft.AspNetCore.Hosting.Internal.AutoRequestServicesStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder builder)
  730. at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
  731. ---> (Inner Exception #0) System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  732. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  733. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  734. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  735. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  736. --- End of stack trace from previous location where exception was thrown ---
  737. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  738. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  739. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  740. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  741. --- End of stack trace from previous location where exception was thrown ---
  742. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  743. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  744. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  745. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  746. --- End of stack trace from previous location where exception was thrown ---
  747. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  748. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  749. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  750. --- End of stack trace from previous location where exception was thrown ---
  751. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  752. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  753. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  754. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  755. --- End of stack trace from previous location where exception was thrown ---
  756. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  757. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  758. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  759. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  760. --- End of stack trace from previous location where exception was thrown ---
  761. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  762. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  763. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  764. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  765. --- End of stack trace from previous location where exception was thrown ---
  766. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  767. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  768. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  769. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  770. --- End of stack trace from previous location where exception was thrown ---
  771. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  772. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  773. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  774. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  775. --- End of stack trace from previous location where exception was thrown ---
  776. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  777. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  778. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  779. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  780. --- End of stack trace from previous location where exception was thrown ---
  781. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  782. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  783. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  784. at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  785. --- End of stack trace from previous location where exception was thrown ---
  786. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  787. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  788. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  789. at Microsoft.AspNetCore.Identity.RoleManager`1.<RoleExistsAsync>d__33.MoveNext()
  790. --- End of stack trace from previous location where exception was thrown ---
  791. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  792. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  793. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  794. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateRoles>d__5.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 39
  795. --- End of stack trace from previous location where exception was thrown ---
  796. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  797. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  798. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateDefaultUsersAndRoles>d__4.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 30
  799. ClientConnectionId:aee7aaca-8fc5-4169-bbc7-93df2e692919
  800. Error Number:208,State:1,Class:16<---
  801.  
  802. crit: Microsoft.AspNetCore.Hosting.Internal.WebHost[6]
  803. Application startup exception
  804. System.AggregateException: One or more errors occurred. (Invalid object name 'AspNetRoles'.) ---> System.Data.SqlClient.SqlException: Invalid object name 'AspNetRoles'.
  805. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  806. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  807. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  808. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  809. --- End of stack trace from previous location where exception was thrown ---
  810. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  811. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  812. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  813. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  814. --- End of stack trace from previous location where exception was thrown ---
  815. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  816. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  817. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  818. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  819. --- End of stack trace from previous location where exception was thrown ---
  820. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  821. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  822. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  823. --- End of stack trace from previous location where exception was thrown ---
  824. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  825. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  826. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  827. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  828. --- End of stack trace from previous location where exception was thrown ---
  829. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  830. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  831. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  832. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  833. --- End of stack trace from previous location where exception was thrown ---
  834. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  835. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  836. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  837. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  838. --- End of stack trace from previous location where exception was thrown ---
  839. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  840. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  841. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  842. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  843. --- End of stack trace from previous location where exception was thrown ---
  844. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  845. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  846. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  847. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  848. --- End of stack trace from previous location where exception was thrown ---
  849. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  850. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  851. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  852. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  853. --- End of stack trace from previous location where exception was thrown ---
  854. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  855. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  856. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  857. at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  858. --- End of stack trace from previous location where exception was thrown ---
  859. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  860. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  861. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  862. at Microsoft.AspNetCore.Identity.RoleManager`1.<RoleExistsAsync>d__33.MoveNext()
  863. --- End of stack trace from previous location where exception was thrown ---
  864. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  865. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  866. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  867. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateRoles>d__5.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 39
  868. --- End of stack trace from previous location where exception was thrown ---
  869. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  870. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  871. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateDefaultUsersAndRoles>d__4.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 30
  872. --- End of inner exception stack trace ---
  873. at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
  874. at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
  875. at System.Threading.Tasks.Task.Wait()
  876. at Restaurant.Server.Api.Startup.Configure(IApplicationBuilder app, ILoggerFactory loggerFactory, IConfiguration configuration, IUserBootstrapper userBootstrapper) in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Api\Startup.cs:line 104
  877. --- End of stack trace from previous location where exception was thrown ---
  878. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  879. at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
  880. at Microsoft.AspNetCore.Hosting.Internal.AutoRequestServicesStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder builder)
  881. at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
  882. ---> (Inner Exception #0) System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'AspNetRoles'.
  883. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__108_0(Task`1 result)
  884. at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  885. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  886. at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
  887. --- End of stack trace from previous location where exception was thrown ---
  888. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  889. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  890. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  891. at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
  892. --- End of stack trace from previous location where exception was thrown ---
  893. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  894. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  895. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  896. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__10.MoveNext()
  897. --- End of stack trace from previous location where exception was thrown ---
  898. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  899. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  900. at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
  901. --- End of stack trace from previous location where exception was thrown ---
  902. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  903. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  904. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  905. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__9.MoveNext()
  906. --- End of stack trace from previous location where exception was thrown ---
  907. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  908. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  909. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  910. at System.Linq.AsyncEnumerable.<FirstOrDefault_>d__165`1.MoveNext()
  911. --- End of stack trace from previous location where exception was thrown ---
  912. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  913. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  914. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  915. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()
  916. --- End of stack trace from previous location where exception was thrown ---
  917. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  918. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  919. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  920. at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.<MoveNextCore>d__7.MoveNext()
  921. --- End of stack trace from previous location where exception was thrown ---
  922. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  923. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  924. at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  925. at System.Linq.AsyncEnumerable.AsyncIterator`1.<MoveNext>d__10.MoveNext()
  926. --- End of stack trace from previous location where exception was thrown ---
  927. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  928. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  929. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  930. at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
  931. --- End of stack trace from previous location where exception was thrown ---
  932. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  933. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  934. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  935. at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<ExecuteSingletonAsyncQuery>d__23`1.MoveNext()
  936. --- End of stack trace from previous location where exception was thrown ---
  937. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  938. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  939. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  940. at Microsoft.AspNetCore.Identity.RoleManager`1.<RoleExistsAsync>d__33.MoveNext()
  941. --- End of stack trace from previous location where exception was thrown ---
  942. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  943. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  944. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  945. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateRoles>d__5.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 39
  946. --- End of stack trace from previous location where exception was thrown ---
  947. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  948. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  949. at Restaurant.Server.Core.Providers.UserBootstrapper.<CreateDefaultUsersAndRoles>d__4.MoveNext() in e:\Projects\Xamarin\Restaurant-App2\Restaurant-App\src\Server\Restaurant.Server.Core\Providers\UserBootstrapper.cs:line 30
  950. ClientConnectionId:aee7aaca-8fc5-4169-bbc7-93df2e692919
  951. Error Number:208,State:1,Class:16<---
  952.  
  953. An error occurred while calling method 'BuildWebHost' on class 'Program'. Continuing without the application service provider. Error: One or more errors occurred. (Invalid object name 'AspNetRoles'.)
  954. Unable to create an object of type 'DatabaseContext'. Add an implementation of 'IDesignTimeDbContextFactory<DatabaseContext>' to the project, or see https://go.microsoft.com/fwlink/?linkid=851728 for additional patterns supported at design time.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement