I am running following code
/*Fetchinch Last CustID from custMaster*/ int ID = 0; try { con.Open(); da = new OleDbDataAdapter(\"select max(Id) from
I had a similar issue when opening a connection with the following connection string:
Data Source=.\SQLEXPRESS;Initial Catalog=master;Integrated Security=True
Changing Integrated Security=True to Integrated Security=SSPI in the connection string fixed the problem.
Integrated Security=True
Integrated Security=SSPI