Ask a Question related to Dreamweaver AppDev, Design and Development.
-
singh83 #1
problem defining a custom connection string
Hi,
could someone please help with a problem I am having. When I try to create a
connection string using DW's custom connection string dialog/interface I get an
error.
The string I typed is:
"Driver={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("bugdb.mdb")
Error I get:
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry
key 'Temporary (volatile) Jet DSN for process 0x10cc Thread 0xa84 DBC
0x12295254 Jet'.
[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry
key 'Temporary (volatile) Jet DSN for process 0x10cc Thread 0xa84 DBC
0x12295254 Jet'.
[Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.
I would really appreciate if somebody could help me out.
Thanks,
Sarb.
singh83 Guest
-
Problem in defining next stage
Hi all, I provide a simple login screen to the user, the username and password will be sent to Java that will deal with MySQL The code above... -
Custom Control with Connection String
I have a custom control that makes connections to a SQL db. The controls works fine at run time, but it not able to get the connection string in my... -
Defining a variable problem
I need some input on a relatively simple script problem, since I've been working it for 3 days .. checking the manual and this site with a... -
String not available/custom cursor
Hi! I have problem when loading a .dcr file on web. I use WinNT, Director 8.0, and IE6.0 An error message saying "String not available"... -
connection string problem (going nutz)
Can someone please provide me with an example conntection string to connect to an access database that is using jet security (mdw file)? I want... -
Nancy Gill #2
Re: problem defining a custom connection string
> The string I typed is:
Server.MapPath("bugdb.mdb")> "Driver={Microsoft Access Driver (*.mdb)};DBQ=" &
try this string instead:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
Server.Mappath("\foldername\bugdb.mdb") & ";"
--
Nancy Gill
Team Macromedia Volunteer for Dreamweaver MX/UltraDev
[url]http://www.macromedia.com/go/team/[/url]
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development
Nancy Gill Guest
-
singh83 #3
Re: problem defining a custom connection string
Hi,
I tried the new string and it did not work. I got the following error msg:
Could not find file 'd:\user\tlbugtracker\_mmServerScripts\bugdb.mdb
The exact string i typed was:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+Server.Mappath("bugdb.mdb") +
";"
I changed '&' to '+' as i'm using javascript not vbscript.
Is there anything else I can try??
Thanks very much,
Sarb.
singh83 Guest



Reply With Quote

