I want to connect my application page with the sql server so that I can read the data from the SQL server. TO create the connection string I have used:
string cnn = ConfigurationManager.ConnectionStrings["SharePointFBA"].ConnectionString;
using (SqlConnection conn2 = new SqlConnection(cnn))
{
cnn.open();
}
But when I execute the code, I get following error:
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON