Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database doesn't get created #11

Open
bartmaj opened this issue May 24, 2016 · 1 comment
Open

Database doesn't get created #11

bartmaj opened this issue May 24, 2016 · 1 comment

Comments

@bartmaj
Copy link

bartmaj commented May 24, 2016

Looks like you're missing 'await' in your Startup.cs

Should be:
public async void Configure(IApplicationBuilder app, IDatabaseInitializer databaseInitializer)
and
await databaseInitializer.Seed();

@ivanmariychuk
Copy link

ivanmariychuk commented Aug 4, 2016

When I do "await" like this I get exception:

An exception of type 'System.Data.SqlClient.SqlException' occurred in System.Private.CoreLib.ni.dll but was not handled in user code
Additional information: Invalid object name 'OpenIddictApplications'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants