TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
2.1k
472.8k
System.ArgumentNullException:DatabaseSqlClient
Jan 22 2020 12:39 PM
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.
Reply
Answers (
3
)
file upload to one drive
Asp.net Web Inputform not alligned in some browsers