aspnet / MusicStore

[Archived] MusicStore test application that uses ASP.NET/EF Core. Project moved to https://github.com/aspnet/AspNetCore
1.3k stars 878 forks source link

Database is created but then there is an error (ASPNET5 project) #482

Closed punkouter2021 closed 5 years ago

punkouter2021 commented 9 years ago

Any idea what is happening here? Here is the output.

A database operation failed while processing the request.

AggregateException: One or more errors occurred. AggregateException: One or more errors occurred. AggregateException: One or more errors occurred. AggregateException: One or more errors occurred. AggregateException: One or more errors occurred. AggregateException: One or more errors occurred. AggregateException: One or more errors occurred. AggregateException: One or more errors occurred. SqlException: Invalid object name 'Album'.

There are pending model changes for MusicStoreContext

Scaffold a new migration for these changes and apply them to the database from the command line:

dnx . ef migration add [migration name] dnx . ef migration apply

mkArtakMSFT commented 5 years ago

Closing this issue as there was no community involvement for quite a while now.