Hi Team
I am experience an error closed day and half now and cant seem to find any resolution to this issue. Who can help me to fix this error? "System.Data.SqlClient.SqlException:Login failed for user. Here is my logic below.
- 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", "Users", "UserName", "FullName", autoCreateTables: true);
- }
- }
- }