Wrox Programmer Forums
| 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 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 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

this is a test new2

set actionSet = Nothing
'Close the connection
'Destroy the connection
set actionsDB = Nothing

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

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