Error 6316: The Advantage server version is older than the Advantage client version. The Advantage server must be the same version or newer than the Advantage client. axServerConnect
hatası veriyor. Neyden kaynaklı olabilir. Versiyon değişikliği yaptığım halde yine aynı hatayla karşılaşıyorum.
Windows form kodu;
try
{
AdsConnection conn = new AdsConnection();
conn.ConnectionString = "data source=D:\\***\\data\\demo\\2022\\DEMO.add; " + "user id = adssys; password = '' " + "ServerType=REMOTE; TrimTrailingSpaces = true";
conn.Open();
using (AdsCommand cmd = conn.CreateCommand())
{
cmd.CommandText = "Select * from STOK";
using (AdsDataReader reader = cmd.ExecuteReader())
{
label2.Text = "Gotovo ažuriranje";
}
conn.Close();
}
}
catch (Exception ex)
{
label2.Text = ex.Message;
}