hi
I have created a login page and a table in sql server using windows authentication and a stored procedure to insert the values from login form
But when I click on the login button it shows the following error
Server Error in '/WebSite1' Application.
Login failed for user 'vikas-PCikas'.
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.SqlClient.SqlException: Login failed for user 'vikas-PCikas'.
[SqlException (0x80131904): Login failed for user 'vikaskriti'.]
My connection string is as follows--------->>>>
string strcon = "Data source= -.; User id=vikas-PC\vikas; initial catalog =master";
Please help me in resolving the above error
Thanks
kritika Rana