🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.aspdotnet.components.using
Article #49

Re: Error when using AccessDataSource

#49
From: John Moshakis
Date: Fri, 09 May 2008 14:45
38 lines
1697 bytes
Kaboose wrote:

> Hi,
> 
> I get an error when i try to connect to a mdb when using the
> AccessDataSource component.
> 
> The errors are :
> 
> "The file '~/BioData.mdb' either does not exist or could not be
> mapped to a local file that could be read." when using root or path
> relative.
> 
> or
> 
> "Database schema could not be retrieved for this connection. Please
> make sure the connection settings are correct and that the database
> is online.
> 
> No metadata could be loaded for: MS Jet."
> 
> When slecting user specify.
> 

Hi Shaun,

I think ~ should be mapped to the root of your project directory at
runtime. If the mdb is there and the connection can't be opened then I
guess it isn't supported at designtime.

The data explorer needs meta data support to be able to see database
schema information and I don't believe ms jet is supported. That would
be why you get "No metadata could be loaded for: MS Jet.""

Cheers,
John

-- 
Technical Details
Message-ID: <4824636b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <4824266a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 21665a,9a773402da931b5b
X-Google-Attributes: gid21665a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John Moshakis" <john@moshakis.com>
Subject: Re: Error when using AccessDataSource
Newsgroups: borland.public.delphi.aspdotnet.components.using
References:  <4824266a@newsgroups.borland.com>
Date: Fri, 9 May 2008 10:45:23 -0400
User-Agent: XanaNews/1.18.1.9
NNTP-Posting-Host: 67.69.157.228
Message-ID: <4824636b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1210344299 67.69.157.228 (9 May 2008 07:44:59 -0700)
Lines: 39
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail