Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi

Status
Not open for further replies.

javed007

Programmer
Joined
Mar 8, 2001
Messages
10
Location
US
i am trying to acces sql-servetr over internet.it gives error [dbnmpntw] connectionopen(creat fie()...) but it's working fine on those m/c that have sql-server installed.

pls help me
my connection string
cn.Open "Provider=SQLOLEDB;DATA SOURCE=host.domain.com;UID=sa;DATABASE=name
 
try this instead

<%
Set Conn = server.CreateObject(&quot;ADODB.Connection&quot;)
Conn.Open &quot;driver=SQL Server;server=host.domain.com;uid=sa;pwd=password;database=name;&quot;
Set RS1 = Conn.Execute(&quot;SELECT * From yourtable Where ....&quot;)
%> DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 
Thanks to reply but the things is sql driver should in client m/c how i can push that driver into cleint m/c

Pls help me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top