I am getting the following error:
*********
Login failed for user 'AUM\ASPNET'.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Data.Sql Client.SqlExcep tion: Login failed for user
'AUM\ASPNET'.
*********
It is failing on the dbConnection.Op en(); line
I am using the following to connect (this is from a tutorial in a book):
************
string connectionStrin g =
ConfigurationSe ttings.AppSetti ngs["ConnectionStri ng"];
System.Data.IDb Connection dbConnection = new
System.Data.Sql Client.SqlConne ction(connectio nString);
string queryString = "Select count([Fans].[FanEmail]) from [Fans] where
([Fans].[FanEmail] = @FanEmail)";
System.Data.IDb Command dbCommand = new System.Data.Sql Client.SqlComma nd();
************
I am using a local SQL server (installed with my VS.Net 2003. How can I
allow it to login or use the dbo user to do the database stuff?
Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com