Код: Выделить всё
public static bool ProbarVinculacionEnkontrol(string nombreOrigen, string usr, string psw, int UsuarioOperacion)
{
bool resultado = false;
try
{
string con = $"ServerName=serv_v9;DatabaseName={nombreOrigen};UID={usr};PWD={psw};LINKS=tcpip(Host=MyIp:2630)";
File.WriteAllText("E:\\conexion.log", con);
using (SAConnection connection = new SAConnection(con))
{
connection.Open();
resultado = true;
connection.Close();
}
}
catch (Exception ex)
{
File.AppendAllText("E:\\conexion.log", ex.ToString());
Inserta.Error(ex, "consultaProbarVinculacion", UsuarioOperacion);
}
return resultado;
}
Код: Выделить всё
Cannot find the language resource file dblgen11.dll
Cannot find the language resource file dblges11.dll

Подробнее здесь: https://stackoverflow.com/questions/790 ... lgen11-dll