Connecting a database in Dreamweaver using asp
From: cb3431 (cb3431_at_discussions.microsoft.com)
Date: 12/28/04
- Next message: Mr. Malloc: "OpenEx( )"
- Previous message: Dmitri Ivanov: "Re: Using Microsoft Text Driver with CSV files"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 28 Dec 2004 13:31:01 -0800
This may be in the wrong group, but any help would still be appreciated.
I have connected my database using DNS in Dreamweaver using the following
code:
<%
' FileName="Connection_odbc_conn_dsn.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_Development_STRING
MM_Development_STRING = "dsn=Development;uid=userID;pwd=password;
DATABASE=database; Server=server; DRIVER=SQL Server;"
%> (I put the correct values in all the fields)
When I try and validate my form I keep getting the following error message:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default
driver specified
/home.asp, line 14
line 14 is as follows:
MM_rsUser.ActiveConnection = MM_Development_STRING
Thank you
- Next message: Mr. Malloc: "OpenEx( )"
- Previous message: Dmitri Ivanov: "Re: Using Microsoft Text Driver with CSV files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|