472,127 Members | 1,944 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

How to connect to .mdb file on Server using DreamweaverMx2004

Re: Dreamweaver Mx 2004 ASP vbscript:

1. The following is my connection script at "conn.asp"

Dim MM_connDWDynamicServer_STRING
MM_connDWDynamicServer_STRING = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=E:\kunden\homepages\28\d153929211\db\nationaEx .mdb;"
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.connectionstring = MM_connDWDynamicServer_STRING
Conn.Open %>

The path actually is supplied by the host, but its not working. Is there any error on the script?

2. If I would like to define the connection by going thru ( insert > application objects > recorset > define .....what should I type in at connection string text box to generate the code / script shown above (#`1) in the "connection.asp" page ?
May 14 '07 #1
0 1119

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Kevin Sage | last post: by
3 posts views Thread by Dave F. | last post: by
2 posts views Thread by Mondal | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.