Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Query Timeout Expired

$
0
0
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???

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>