May 6, 2008 at 2:11 pm
Hi,
I am new to SQL so this may be a lack of understanding on how things work.
The below batch file fails:
start \\emailsignature2\NETLOGON\sign.exe Provider=sqloledb;Data Source=EMAILSIGNATURE2;Initial Catalog=eMailSignatures;User Id=Standard_User;Password=******;
However if I use Provider=SQLNCLI the batch file works which is great but I'm not keen on having to install sql native client on all the domain computers.
Can someone confirm if sqloledb can be used to connect to sql2005 db and if so some ideas on why it's not connecting.
Any tips much appreciated.
Thanks
Megan.
May 9, 2008 at 11:39 am
Why do you not like the SQL Native Client? It is actually just the updated version of the MDAC dll's for OLE DB and ODBC in one DLL. Here is a great Microsoft BLOG talking about the Native Client Library.
http://blogs.msdn.com/sqlnativeclient/archive/2006/09/27/774282.aspx
May 11, 2008 at 2:08 pm
Hi,
Absolutely nothing again sql native client. I just don't want to have to deploy it if it's not necessary. Turned out my connection string was wrong and sqloledb is now working.
Thanks for your help.
November 13, 2008 at 8:34 am
Hi Megan, in what way was your connection string incorrect?
I have the same problem. Someone had reinstalled SQL 2005 without my knowledge. Subsequently, connections did not work until I found reference to SQLNCLI.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy