Is the remote server visible to the WWW? If so, you might have a security
issue. I suggest opening a VPN connection to it.And I would never permit SA
access from the web--why people use that as an example I'll never
know--unless they're trying to get you to expose the SA account. You'll also
need to determine the TCP port(s) that it's using. While these might be
1433/1434 your server instance might be using other ports and your firewall
might block access to these ports. Make doubly sure that the SA account has
a strong password--not a bad idea for the other accounts too. I would also
ensure that the server is configured for mixed-mode security--setup does not
default to this mode.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva www.betav.com www.sqlreportingservices.net Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
[quoted text, click to view] "Online" <ohaugum@online.no> wrote in message
news:COOdndBPHrO-Qcbe4p2dnA@telenor.com...
>I have a VB6 applikation that is connecting to av msSql database. I am
>using a ODBC connecion. The database is on a remote server.
>
> Now I try to build a connectionstring to the same database in dotNet. I
> prefer not to use ODBC. Can anyone help me with av example of a correct
> connectionstring? I know the IP-address, username and password.
>
> Thanks
>
> OddA
>
>
>