problem with linked server authentication

Hello,
The attached snippet is code I use to try to create a linked server to an Access database file.  I can run it, it runs without errors and the linked server shows up in the linked servers list.

Problem is when I try to query it, with for example:

select * from UTILITYDB...worklist

I see this in the output window:

OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "UTILITYDB" returned message "Cannot start your application. The workgroup information file is missing or opened exclusively by another user.".
Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "UTILITYDB" reported an error. Authentication failed.
Msg 7303, Level 16, State 1, Line 1      
Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "UTILITYDB".

How do I resolve this?

Thanks!

EXEC master.dbo.sp_addlinkedserver @server = N'UTILITYDB', @srvproduct=N'Access 97', @provider=N'Microsoft.Jet.OLEDB.4.0', @datasrc=N'E:\utility\utility.mdb'
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'UTILITYDB',@useself=N'True',@locallogin=NULL,@rmtuser=username,@rmtpassword=password
 
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'collation compatible', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'data access', @optvalue=N'true'
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'dist', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'pub', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'rpc', @optvalue=N'true'
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'rpc out', @optvalue=N'true'
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'sub', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'connect timeout', @optvalue=N'0'
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'collation name', @optvalue=null
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'lazy schema validation', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'query timeout', @optvalue=N'0'
GO
EXEC master.dbo.sp_serveroption @server=N'UTILITYDB', @optname=N'use remote collation', @optvalue=N'true'

Open in new window

PMH4514Asked:
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.

Aneesh RetnakaranDatabase AdministratorCommented:
can you close all the connections to that access 97 database and try again
0
PMH4514Author Commented:
there are no active connections to the database when I try this.
0
Aneesh RetnakaranDatabase AdministratorCommented:
did you cross chek the path 'N'E:\utility\utility.mdb''
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Aneesh RetnakaranDatabase AdministratorCommented:
this is the sp to test the linked server

sp_testlinkedserver  'UTILITYDB','Access 97'
0

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
PMH4514Author Commented:
yes the path is correct.

when I run sp_testlinkedserver against it, I see the same output as in my first post.  I also found this thread:

http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_24075537.html

which went unanswered and seems to describe my problem but shows no solution. The database file is password protected, and I have given 'everyone' full control permissions on it.
0
PMH4514Author Commented:
additionally - I removed the password from the Access file, and still have the same results.
0
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 SQL Server 2005

From novice to tech pro — start learning today.