Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP error while trying to access the page via IE

Status
Not open for further replies.

ScottNomus

Programmer
Jun 27, 2001
33
US
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=&quot;Content-Type&quot; CONTENT=&quot;text/html;charset=windows-1252&quot;>
<TITLE>LogIn Screen</TITLE>
</HEAD>
<BODY>
<% Set OBJdbConnection = Server.CreateObject(&quot;ADODB.Connection&quot;)
OBJdbConnection.Open Session(&quot;ConnectionString&quot;)
%>

Session.timeout = 5
If IsObject(Session(&quot;C:\intetpub\ Customer\WebCustomer.mdb_conn&quot;)) Then
Set conn = Session(&quot;C:\intetpub\ Customer\WebCustomer.mdb_conn&quot;)
Else
Set conn = Server.CreateObject(&quot;ADODB.Connection&quot;)
conn.open &quot;C:\intetpub\ Customer\WebCustomer.mdb&quot;,&quot;&quot;,&quot;&quot;
Set Session(&quot;C:\intetpub\ Customer\WebCustomer.mdb_conn&quot;) = conn
End If
%>
<OBJECT ID=&quot;LogIn Screen_alx&quot;
CLASSID=&quot;CLSID:812AE312-8B8E-11CF-93C8-00AA00C08FDF&quot;
STYLE=&quot;TOP:0;LEFT:0;&quot;>
<PARAM NAME=&quot;ALXPATH&quot; VALUE=&quot; Customer/LogIn Screenalx.asp&quot;>
</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..
 
check FAQ333-178

for ways to connect to a database.

leo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top