Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 December 20th, 2006, 07:59 AM
Registered User
Join Date: Dec 2006
Location: Manchester, United Kingdom, United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connecting to a database

Apologies in advance if this is the wrong forum.

When i try to access an access database, the server returns an error saying it can't find it and returns a path which refers to a windows machine. I'm using a mac!

Here is the code i use:

objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=Movie.2000.mdb;" & "Persist Security Info=False"

( The movie2000.mdb is in the same folder as my asp page. )

The error i get is:
Microsoft JET Database Engine error '80004005'

'c:\windows\system32\inetsrv\asp\chapter12\Movie20 00.mdb' is not a valid path.

How come its returning a windows file path when the actual .mdb is located in a different place.

There is obviously something i'm doing wrong here.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to Database bryantms ASP.NET 3.5 Basics 3 July 9th, 2008 12:34 AM
connecting to database stealthdevil Visual Basic 2005 Basics 2 November 5th, 2007 01:31 PM
connecting to a database nehalw VB.NET 0 January 5th, 2005 05:59 AM
database connecting princeofdhump Classic ASP Databases 3 August 7th, 2004 02:46 AM
Connecting To DataBase in WAN simsimlhr C# 3 March 29th, 2004 04:41 PM

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