Forum Moderators: open

Message Too Old, No Replies

change string

         

stevelibby

11:43 am on Jun 18, 2005 (gmt 0)

10+ Year Member



hi all
how can i change this connection string:

<% dim dblocation

' Enter the location of the database below

dblocation = "..\private\fpdb\test.mdb"

%>

<%
Dim MM_test_STRING
MM_test_STRING = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("\" & dblocation & "")
%>

to one that will connect to a mssql db?

aspdaddy

6:29 pm on Jun 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



SQL is a little different depending on te security model, installation type and actual location of the SQL server, check out these example strings for info:

[carlprothman.net...]