capesean / openiddict-test

Example ASP.NET V5 project that issues & validates JWT tokens
61 stars 16 forks source link

Database doesn't get created #11

Open bartmaj opened 8 years ago

bartmaj commented 8 years ago

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 commented 8 years ago

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'.