473,396 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Fresh SQL Server 2005 giving problem in accessing access 97 file through Jet Ole DB Provider

Problem:Jet 4.0 Ole DB Provider stops working the momemt SQL 2005
server is installed.

Environmental steps:

1.Installed XP Sp2

2.Installed SQL 2005 Server with SP1

3.Trying to import data from an access 97 file

Actual problem:The linked server gets created but when try to read
data we get attached error
The problem displayed is following

[02/19/07 18:24:47]: Cannot initialize the data source object of OLE
DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "MGMTREPORTS".
OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server
"MGMTREPORTS" returned message "Cannot open database ''. It may not
be a database that your application recognizes, or the file may be
corrupt.".


Steps to recreate
USE [master]
GO

EXEC sp_addlinkedserver
@server = 'PROLMDB',
@provider ='Microsoft.Jet.OLEDB.4.0' ,
@srvproduct ='OLE DB Provider for Jet',
@datasrc = 'c:\PRO_LM_DB.MDB'
GO

-- Set the DBF files' logins.
EXEC sp_addlinkedsrvlogin
@rmtsrvname = 'PROLMDB'
, @useself = false
, @locallogin = NULL
, @rmtuser = NULL
, @rmtpassword = NULL
GO

SELECT [TRACK_ID]
, [EQUIP_ID]
, [PROD_ID]
, [SERIAL_NO]
, [TOP_BOTTOM]
, [START_TIME]
, [END_TIME]
, [TIME_STAMP]
, [LMNC_NAME]
, [Archive]
, [PAGERID]
, [ENDTIME_STAMP]
, [PROD_NAME]
FROM PROLMDB...TRACKDATA
GO

Feb 19 '07 #1
0 2318

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: AlexDP | last post by:
My program has to access an SQL Server DB file that is in the same folder as the executable. i dont want to setup a server. i was able to do this on my own computer, the program would access any...
4
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at...
7
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at...
18
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.