Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/WebSite/checklogin.asp, line 22
is the error that I am getting, here is my code, I am usign a global.asa file
dim rs, c, cstring, sql
cstring =Application("ConnectionString"
sqlEasyQuery = "SELECT * FROM CARRIER WHERE ID_NUMBER ='" & Request.Form("id"
& "' AND PASSWORD ='" & Request.Form("pass"
& "';"
set c = server.CreateObject("adodb.connection"
set rs = server.CreateObject("adodb.recordset"
c.Open cstring
in my global.asa file I have to following
Application("ConnectionString"
= "Provider=MSDASQL.1;Password=;User ID=sa;DRIVER=SQL Server;SERVER=TEST;UID=sa;APP=Microsoft Development Environment;DATABASE=Test2"";"
can anyone help me? My global.asa file and my asp file are in the same directory and for some reason I can't get a connection to the database.
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/WebSite/checklogin.asp, line 22
is the error that I am getting, here is my code, I am usign a global.asa file
dim rs, c, cstring, sql
cstring =Application("ConnectionString"
sqlEasyQuery = "SELECT * FROM CARRIER WHERE ID_NUMBER ='" & Request.Form("id"
set c = server.CreateObject("adodb.connection"
set rs = server.CreateObject("adodb.recordset"
c.Open cstring
in my global.asa file I have to following
Application("ConnectionString"
can anyone help me? My global.asa file and my asp file are in the same directory and for some reason I can't get a connection to the database.