Hi all. i am executing in a Dynamics NAV 2015 a store procedure. The following message appears after 30 secs. have parameterized the connection string
txtConnectionString := '';
txtConnectionString += 'Provider=SQLOLEDB.1';
txtConnectionString += ';Persist Security Info=TRUE';
txtConnectionString += ';Data Source=Servername;
txtConnectionString += ';Initial Catalog=DatabaseName;
//txtConnectionString += ';CONNECT TIMEOUT=0';
//txtConnectionString += ';COMMAND TIMEOUT=0';
txtConnectionString += ';User ID=' + 'User ID';
txtConnectionString += ';Password=' + 'User ID';
txtConnectionString += ';Trusted Connection=TRUE';
txtConnectionString += ';Encrypt=FALSE';
Also parameterized the service but nothing. In SQL Server the procedure runs without issue.
Any help please???
txtConnectionString := '';
txtConnectionString += 'Provider=SQLOLEDB.1';
txtConnectionString += ';Persist Security Info=TRUE';
txtConnectionString += ';Data Source=Servername;
txtConnectionString += ';Initial Catalog=DatabaseName;
//txtConnectionString += ';CONNECT TIMEOUT=0';
//txtConnectionString += ';COMMAND TIMEOUT=0';
txtConnectionString += ';User ID=' + 'User ID';
txtConnectionString += ';Password=' + 'User ID';
txtConnectionString += ';Trusted Connection=TRUE';
txtConnectionString += ';Encrypt=FALSE';
Also parameterized the service but nothing. In SQL Server the procedure runs without issue.
Any help please???