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!

Newbie TO ASP

Status
Not open for further replies.

ScottNomus

Programmer
Jun 27, 2001
33
US
I have done some HTML coding over the years but I new to the VB/ or ASP side of things. I have been given a project concerning a ACCESS database that we are wanting to give our customers access to via the web.
I export the table ,forms and query's need into "ASP" files. I try to run any thing and I get messages back similar to this.

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

/webcustomer/LogIn Screen.asp, line 12


Here is copy of the code pertaining to this above

<HTML>
<HEAD>
<META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html;charset=windows-1252&quot;>
<TITLE>LogIn Screen</TITLE>
</HEAD>
<BODY>
<%
If IsObject(Session(&quot;C:\intetpub\ Then
Set conn = Session(&quot;C:\intetpub\Else
Set conn = Server.CreateObject(&quot;ADODB.Connection&quot;)
conn.open &quot;WebCustomer.mdb&quot;,&quot;Admin&quot;,&quot;nomus1&quot;
Set Session(&quot;WebCustomer.mdb_conn&quot;) = conn
End If
%>
<OBJECT ID=&quot;LogIn_Screenalx&quot;
CLASSID=&quot;CLSID:812AE312-8B8E-11CF-93C8-00AA00C08FDF&quot;
STYLE=&quot;TOP:0;LEFT:0;&quot;>
<PARAM NAME=&quot;ALXPATH&quot; VALUE=&quot;LogIn Screenalx.asp&quot;>
</OBJECT>

</BODY>
</HTML>

Any Help would be greatly appreciated.

Thanks
Scott W.
 
Your connection string is all wrong. You've got the right idea, you're just using the wrong syntax.

check out this FAQ for more info:
faq333-178

good luck
leo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top