Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection. 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.OleDb.OleDbException: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
using (OleDbConnection con3 = new OleDbConnection("Provider=SQLOLEDB;Data Source=192.168.2.4;Persist Security Info=True;User ID=sa;Initial Catalog=PCGWORK"))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)