ScottNomus
Programmer
I am new to this and I just learning how to do this. I have tried many different things but I am getting this error.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/Web customer/LogIn Screen.asp, line 8
Here is the code for this.
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=windows-1252">
<TITLE>LogIn Screen</TITLE>
</HEAD>
<BODY>
<% Set OBJdbConnection = Server.CreateObject("ADODB.Connection"
OBJdbConnection.Open Session("ConnectionString"
%>
Session.timeout = 5
If IsObject(Session("C:\intetpub\ Customer\WebCustomer.mdb_conn") Then
Set conn = Session("C:\intetpub\ Customer\WebCustomer.mdb_conn"
Else
Set conn = Server.CreateObject("ADODB.Connection"
conn.open "C:\intetpub\ Customer\WebCustomer.mdb","",""
Set Session("C:\intetpub\ Customer\WebCustomer.mdb_conn" = conn
End If
%>
<OBJECT ID="LogIn Screen_alx"
CLASSID="CLSID:812AE312-8B8E-11CF-93C8-00AA00C08FDF"
STYLE="TOP:0;LEFT:0;">
<PARAM NAME="ALXPATH" VALUE=" Customer/LogIn Screenalx.asp">
</OBJECT>
</BODY>
<%
OBJdbConnection.Close
Set OBJdbConnection = Nothing
%>
</HTML>
Like I said I am new and I tryint to learn.
What I am trying to do is take the database our president has created for our customers and make it accessiable to our customers via the internet..
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/Web customer/LogIn Screen.asp, line 8
Here is the code for this.
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=windows-1252">
<TITLE>LogIn Screen</TITLE>
</HEAD>
<BODY>
<% Set OBJdbConnection = Server.CreateObject("ADODB.Connection"
OBJdbConnection.Open Session("ConnectionString"
%>
Session.timeout = 5
If IsObject(Session("C:\intetpub\ Customer\WebCustomer.mdb_conn") Then
Set conn = Session("C:\intetpub\ Customer\WebCustomer.mdb_conn"
Else
Set conn = Server.CreateObject("ADODB.Connection"
conn.open "C:\intetpub\ Customer\WebCustomer.mdb","",""
Set Session("C:\intetpub\ Customer\WebCustomer.mdb_conn" = conn
End If
%>
<OBJECT ID="LogIn Screen_alx"
CLASSID="CLSID:812AE312-8B8E-11CF-93C8-00AA00C08FDF"
STYLE="TOP:0;LEFT:0;">
<PARAM NAME="ALXPATH" VALUE=" Customer/LogIn Screenalx.asp">
</OBJECT>
</BODY>
<%
OBJdbConnection.Close
Set OBJdbConnection = Nothing
%>
</HTML>
Like I said I am new and I tryint to learn.
What I am trying to do is take the database our president has created for our customers and make it accessiable to our customers via the internet..