Interview Question in SQL Server Data Services (SSDS)
Interview Question :: Asp.net - connection to sql server problem
hi
conString = " Data Source=myservername;"+ "Initial Catalog=databasename;" + "Integrated Security=True;";
my sql server is configured for windows authentication only. no sql authentication.
when i debug my application i am getting an error
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
i have used the following command in my query analyzer.
exec sp_grantlogin 'NT AUTHORITY\NETWORK SERVICE'
as i found in some asp.net forums.
but still i am getting the same error. i have sql server developer edition installed. and there is sql server express edition that comes with visual studio 2005.
when i am trying to connect to the database from my web application, using the Connect to database wizard it is giving only sql express server in the list.
Please help me.
thankx

Loading ...