"Index not found" while Accessing DBF file in SQL Server 2000 using OpenDataSource.

Hi,

I am using following query

SELECT * FROM OpenDataSource ( 'Microsoft.Jet.OLEDB.4.0', 'Data Source="C:\fa45\0405";Extended Properties=dBASE IV;')...acctmast


I am getting follwoing error.

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error.  
[OLE/DB provider returned message: Index not found.]



I think it is not using ISAM... but how to set that I do not know... Need help

Rahul
khinvraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Racim BOUDJAKDJIDatabase Architect - Dba - Data ScientistCommented:
khinvraAuthor Commented:
I do not need connection string for VB.  this query i am running in SQLServer query analyzer
Racim BOUDJAKDJIDatabase Architect - Dba - Data ScientistCommented:
sorry...this looks like a problem of compatibilty between DBASE III and DBASE IV oledb provider when dealing whith indexes;  I suggest you use ODBC which has much more material you can chew on to find documentation.
5 Ways Acronis Skyrockets Your Data Protection

Risks to data security are risks to business continuity. Businesses need to know what these risks look like – and where they can turn for help.
Check our newest E-Book and learn how you can differentiate your data protection business with advanced cloud solutions Acronis delivers

Racim BOUDJAKDJIDatabase Architect - Dba - Data ScientistCommented:
khinvraAuthor Commented:
What is the syntax for ODBC to be used with opendatasource for dbase files.?
Racim BOUDJAKDJIDatabase Architect - Dba - Data ScientistCommented:
take a look at this ... not specifically for dBase but ISAM looking for other links...

http://support.microsoft.com/default.aspx?scid=kb;en-us;321686
Racim BOUDJAKDJIDatabase Architect - Dba - Data ScientistCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Applications

From novice to tech pro — start learning today.