Click here to Skip to main content
15,911,715 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
When i wanna run Application in other computers in network The following error occurs.

error : System.Data.SqlClient.SqlException: Login failed for user 'Suren-PC\Guest'.

ConnectionStr = "Data Source=SUREN-PC\\MSSQLSERVER,1433;Initial Catalog=WorkFlow;Integrated Security=True";
Posted
Updated 9-Jun-15 19:05pm
v2

1 solution

The error indicates that user does not have access to the database. Either give that user access or use an account that does have access.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900