I’m trying to connect to a MSSQL database on another server (host) so I have to use a connection string. Below is what I’m trying to use. Is this format correct?
I was using Dreamweaver to create the connection code and it must have caused a syntax problem. I entered the code on the page myself and it now appears to work. Here’s the connection string I eventually used:
I had issues with above when connecting via dreamweaver for local binding etc. I found the solution that worked to enable local table view and binding at http://connectionstrings.com/Articles/Show/define-sql-server-network-protocol
Check out connection via IP. However their string hasn’t got Provider=SQLOLEDB.1; at the beginning of the syntax, which I needed to make connection.
Then When uploading to production, I ammended the str to use db server nameservers. Hope that helps if youre having grief.