-
Notifications
You must be signed in to change notification settings - Fork 26
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
trying to login admin panel error #2
Comments
Hello @techliferestore , Regards. |
Can you help me how to connect the db with the project or how to get started with the project. I didn't know R49_MyEcommerceDB file and MyEcommerceDbContext is the same? I have restored R49_MyEcommerceDB in sql server; add new model of data with R49_MyEcommerceDB in visual studio but can't not run. It has the error like this System.Data.Entity.ModelConfiguration.ModelValidationException: 'One or more validation errors were detected during model generation: MyEcommerceAdmin.Models.admin_Employee: : EntityType 'admin_Employee' has no key defined. Define the key for this EntityType. |
The view 'Login' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/admin_Login/Login.aspx
~/Views/admin_Login/Login.ascx
~/Views/Shared/Login.aspx
~/Views/Shared/Login.ascx
~/Views/admin_Login/Login.cshtml
~/Views/admin_Login/Login.vbhtml
~/Views/Shared/Login.cshtml
~/Views/Shared/Login.vbhtml
The text was updated successfully, but these errors were encountered: