mattboy_slim
04-30-2003, 05:11 PM
Trying to use Dreamweaver to set up my database connection and queries, but it's not going well.
Getting the following standard message:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/reporting/Default.asp, line 5
<%
// FileName="Connection_odbc_conn_dsn.htm"
// Type="ADO"
// DesigntimeType="ADO"
// HTTP="false"
// Catalog=""
// Schema=""
var MM_Quarantine_STRING = "dsn=Quarantine;"
%>
<%
var Recordset1 = Server.CreateObject("ADODB.Recordset");
Recordset1.ActiveConnection = MM_Quarantine_STRING;
Recordset1.Source = "SELECT * FROM tblMsgCatalog";
Recordset1.CursorType = 0;
Recordset1.CursorLocation = 2;
Recordset1.LockType = 1;
Recordset1.Open();
var Recordset1_numRows = 0;
%>
The problem line is:
Recordset1.ActiveConnection = MM_Quarantine_STRING;
If you need more information let me know. Thanks.
Getting the following standard message:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/reporting/Default.asp, line 5
<%
// FileName="Connection_odbc_conn_dsn.htm"
// Type="ADO"
// DesigntimeType="ADO"
// HTTP="false"
// Catalog=""
// Schema=""
var MM_Quarantine_STRING = "dsn=Quarantine;"
%>
<%
var Recordset1 = Server.CreateObject("ADODB.Recordset");
Recordset1.ActiveConnection = MM_Quarantine_STRING;
Recordset1.Source = "SELECT * FROM tblMsgCatalog";
Recordset1.CursorType = 0;
Recordset1.CursorLocation = 2;
Recordset1.LockType = 1;
Recordset1.Open();
var Recordset1_numRows = 0;
%>
The problem line is:
Recordset1.ActiveConnection = MM_Quarantine_STRING;
If you need more information let me know. Thanks.