Subagent dbquery and database Sql Server 2012 can't do query
-
Hi, I have version 1.2.16, with the subagent dbquery.nsm and database Sql Server 2012 I can't do query:
[07-Nov-2014 12:00:26.318] DBQUERY: cannot connect to database db ([Microsoft][O
DBC Driver Manager] Data source name not found and no default driver specified)
[07-Nov-2014 12:00:26.318] DBQUERY: Query::poll(queryTEST): no connection handle
for database dbin the config file of agent I wrote this:
SubAgent = dbquery.nsm
*DBQUERY
Database = id=db;driver=mssql.ddr;server=myIP;dbname=myDBname;login=mylogin;password=mypassword
Query = queryTEST:db:15:select * from ......I can work only with odbcquery.nsm but It's deprecated and I have other problems...
Thankyou for all!
-
-
-
Hi,
yes, it's a bug in mssql.ddr - it cannot work with MS SQL 2012 Native Client. It is already fixed, and agent 2.0-M1 will work correctly. IN the meantime, you can try to install earlier version of MS SQL Native Client (not sure if they can coexist on one machine though).
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login