Hi Team
Who can help me, i am unable to launch my web application, i am getting database.sqlclient exception : login failed for user. Here is my logic below, this is on my AppStart folder(AuthConfig.cs);
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Web;
- using Microsoft.Web.WebPages.OAuth;
- using WebMatrix.WebData;
- namespace eNtsaPortalWebsiteProject
- {
- public class AuthConfig
- {
- public static void RegisterAuth()
- {
- WebSecurity.InitializeDatabaseConnection("MyString", "eNtsaMemberRegistrationDB", "UserId", "UserName", autoCreateTables: true);
- }
- }
- }
I have so far try to grant the permission to allow for execution on my sql database, using the sql syntax below;
use eNtsaMemberRegistrationDB
go
grant all on TestUser to Users;
I am getting this error on my DB
The ALL permission is deprecated and maintained only for compatibility. It DOES NOT imply ALL permissions defined on the entity.
Jignesh KumarPosted Jan 22, 2020, 8:19 PM
Guest UserPosted Jan 22, 2020, 1:36 PM
Ramachandran MPosted Jan 22, 2020, 12:51 PM