Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. 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 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 27th, 2006, 12:30 PM
Authorized User
 
Join Date: Jun 2006
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default asp errors with database recordset code

Hi, I have installed Windows 2000 server with IIS and am trying to run a simple asp page to make a connection to a database and create a recordset. I keep getting an error saying 'Could Not Find Installable ISAM'. Below is my code, thanks:

<%
'Create database connection the object
set actionsDB = Server.CreateObject("ADODB.Connection")
'Open the connection
actionsDB.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Inetpub\\wwwroot\\MergedActions.mdb;"," admin",""
'Create the recordset object
set actionSet = Server.CreateObject("ADODB.RecordSet")
mySQL = "Select * from QPTActions"
actionSet.Open mySQL, actionsDB ,adOpenForwardOnly
%>


<html>
<head><title>test</title></head>
<body>
this is a test new2
</body>
</html>


<%
actionSet.Close
set actionSet = Nothing
'Close the connection
actionsDB.Close
'Destroy the connection
set actionsDB = Nothing
%>

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recordset Errors nnrin Classic ASP Databases 5 December 11th, 2007 01:11 PM
Urgent :ASP code and Database ivanlaw Classic ASP Databases 14 September 21st, 2007 03:49 AM
Urgent need help: ASP Code for database ivanlaw Classic ASP Databases 4 August 10th, 2007 02:11 AM
ODBC Connection ASP code for Informix Database kapi.goel Classic ASP Databases 0 May 12th, 2006 06:19 AM
ASP Insert/Update code causes errors lewdogg Classic ASP Databases 4 January 25th, 2005 04:24 AM



All times are GMT -4. The time now is 06:05 AM.


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