V
vivek
Hello Bill,
Following situation is really confusing me and I am unable
to solve this issue. Could you please kindly go through
this.
I have a client written in Visual C# which accesses SQL
Server database and updates the tables.
This is the connection string:
string connectionString = @"Data Source=560dbserver;"+
@"Initial Catalog=cisdb;"+@"user
id=ASPNET;"+@"password=guest;"+@"Integrated
Security=false";
I have commented "authorization", "authentication"
and "impersonate" elements in my web.config i.e., neither
am I using Windows Integrated Security nor trusted
connections to access my SQL Server.
I have my SQL Server setup at mixed mode authentication
and I have created account for "ASPNET" user with a
password "guest".
Now, when I run the web application it gives
me the following error:
Exception Details: System.Data.SqlClient.SqlException:
Login failed for user 'ASPNET'.
I am surprised why access is denied to ASPNET even though
my SQL Server is on Mixed mode with account created for
ASPNET. Can you please clarify me on this issue?
Thanks
Following situation is really confusing me and I am unable
to solve this issue. Could you please kindly go through
this.
I have a client written in Visual C# which accesses SQL
Server database and updates the tables.
This is the connection string:
string connectionString = @"Data Source=560dbserver;"+
@"Initial Catalog=cisdb;"+@"user
id=ASPNET;"+@"password=guest;"+@"Integrated
Security=false";
I have commented "authorization", "authentication"
and "impersonate" elements in my web.config i.e., neither
am I using Windows Integrated Security nor trusted
connections to access my SQL Server.
I have my SQL Server setup at mixed mode authentication
and I have created account for "ASPNET" user with a
password "guest".
Now, when I run the web application it gives
me the following error:
Exception Details: System.Data.SqlClient.SqlException:
Login failed for user 'ASPNET'.
I am surprised why access is denied to ASPNET even though
my SQL Server is on Mixed mode with account created for
ASPNET. Can you please clarify me on this issue?
Thanks