HighDots Forums  

Connection string problem

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Connection string problem in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jim
 
Posts: n/a

Default Connection string problem - 11-07-2004 , 10:21 AM






Hi.

I am using the server map path function in DWMX04 to set up a connection string to an Access database (stored locally) but on the same path as the online version. This is what I get in the Connection file.

Dim MM_connLocal_STRING
MM_connLocal_STRING = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("cgi-bin/localtest.mdb")


DW tells me that it is unable to retrieve any tables from the database, yet it still works locally and on the web. When I test the connection in the 'Define' part, it connects OK. Any ideas? I am using WinXP Pro (SP2).

Thanks. Jim

Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Connection string problem - 11-07-2004 , 11:34 AM






You might get a better visibility for this on the appdev forum.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Jim" <jim.mills (AT) dsl (DOT) pipex.com> wrote

Hi.

I am using the server map path function in DWMX04 to set up a connection
string to an Access database (stored locally) but on the same path as the
online version. This is what I get in the Connection file.

Dim MM_connLocal_STRING
MM_connLocal_STRING = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" &
Server.MapPath("cgi-bin/localtest.mdb")


DW tells me that it is unable to retrieve any tables from the database, yet
it still works locally and on the web. When I test the connection in the
'Define' part, it connects OK. Any ideas? I am using WinXP Pro (SP2).

Thanks. Jim



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.