I'm able to create a controller / CRUD views through EntityFramework. WIth previous versions of ASP.net, I would normally be able to open the index view and click-on create and begin entering data. Instead I get the following error.
Is this normal for Core...added security built in?
How would I resolve this?
Error below...
An unhandled exception occurred while processing the request.
SqlException: Cannot open database "Project1" requested by the login. The login failed.
Login failed for user 'WINDOWS-7K4ATOS\3v3rh'.
Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, object providerInfo, string newPassword, SecureString newSecurePassword, bool redirectedUserInstance,
SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, bool applyTransientFaultHandling, string accessToken, DbConnectionPool pool, SqlAuthenticationProviderManager sqlAuthProviderManager)
Member
361 Points
823 Posts
First Core Application - login error
Feb 06, 2020 12:32 PM|3v3rhart|LINK
I'm able to create a controller / CRUD views through EntityFramework. WIth previous versions of ASP.net, I would normally be able to open the index view and click-on create and begin entering data. Instead I get the following error.
Is this normal for Core...added security built in?
How would I resolve this?
Error below...
An unhandled exception occurred while processing the request.
SqlException: Cannot open database "Project1" requested by the login. The login failed.
Login failed for user 'WINDOWS-7K4ATOS\3v3rh'.
Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, object providerInfo, string newPassword, SecureString newSecurePassword, bool redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, bool applyTransientFaultHandling, string accessToken, DbConnectionPool pool, SqlAuthenticationProviderManager sqlAuthProviderManager)
Member
361 Points
823 Posts
Re: First Core Application - login error
Feb 06, 2020 12:57 PM|3v3rhart|LINK
This is the error given when you have not run the first migration / update-database