Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 30th, 2003, 03:56 PM
Authorized User
 
Join Date: Jul 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nvillare
Default Unable to solve error!!

Can someone please help me?

I keep getting this message and I do not know how to fix it.
This is the error for line 33:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x3d4 Thread 0xbac DBC 0x2284024 Jet'.

This is the Code:

<table align="center" width="75%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td colspan="3" align="center">Contact Information
  </tr>
  <tr>
    <th>Contact</th><th>Phone Number</th><th>E-Mail</th>
  </tr>
<%
  set MyConn=Server.CreateObject("ADODB.Connection")

'line 33
MyConn.Open ("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ="& Server.MapPath("\nvillare\db\geo.mdb"))

  mySQL = "SELECT CONTACT_NAME, CONTACT_PHONE, EMAL FROM CONTACTS WHERE LOCATION=Geoscience and Engineering ORDER BY CONTACT_NAME ASC"
  'RS=recordset
  set RS = MyConn.Execute(mySQL)

 While RS.Eof = false
%>
  <tr>
    <td><%=RS("CONTACT_NAME").Value%></td>
    <td><%=RS("CONTACT_PHONE").Value%></td>
    <td><a href="mailto:<%=RS("EMAIL").Value%>"><%=RS("EMAIL" ).Value%></a></td>
  </tr>
</table><p>
<%
   RS.MoveNext
   wend

  RS.Close
  RS = null
%>
</center>

I appreciate any help


Thanks!

nvillare
__________________
Thanks!

N
 
Old July 31st, 2003, 01:53 AM
Authorized User
 
Join Date: Jul 2003
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sankar
Default

You can change the connection string and rerun the code. Add the following code:
Dim strConn
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" _
    & "Data Source=" & Server.MapPath("\nvillare\db\geo.mdb")
Hope this will solve your problem






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to solve this error? ramk_1978 Classic ASP Components 1 June 27th, 2006 02:51 AM
Can anyone help me to solve this error vikaspa VB How-To 1 October 5th, 2005 04:43 AM
Error Type unable to solve hayley Classic ASP Databases 4 January 25th, 2005 05:17 AM
Error that I could not solve sajjad27 VS.NET 2002/2003 0 August 17th, 2003 11:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.