Re: SQL 2005 linked server to Access 97

Tech-Archive recommends: Speed Up your PC by fixing your registry



Access 97 is a tough nut because it's not supported any more. When you
run sp_addlinkedsrvlogin, try Admin with a blank '' password and see
if that helps.

By any chance is the A97 mdb you're trying to link to secured using
user-level security? That is a stumbling block with linked servers.
You can get around it by tinkering with registry entries, but if I
remember correctly, it only works for one mdb. IOW, if you have
another Access mdb you can't create a linked server to link to it.

-Mary

On Thu, 6 Dec 2007 17:47:00 -0800, wvmitchell
<wvmitchell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Need to create a linked server from SQL 2005 to Access 97. I am using the
following:

EXEC master.dbo.sp_addlinkedserver
@server = N'TEST97',
@provider = N'Microsoft.Jet.OLEDB.4.0',
@srvproduct = N'Microsoft Access',
@datasrc = N'C:\BILL\Test97.mdb'

EXEC master.dbo.sp_addlinkedsrvlogin
@rmtsrvname=N'TEST97',
@useself=N'False',
@locallogin=NULL,
@rmtuser=NULL,
@rmtpassword=NULL
GO

Using Win 2003 R2 Standard with SQL 2005 Standard, it all works. But on dev
PC:
Win XP Pro SP2 with SQL 2005 Developer, it appears to create the linked
server, but cannot access any of the data in the Access file.

It works with an Access 2000 file on both systems. The Access 97 is a
3rd-party app, so can't upgrade the version.

Is this a limitation of Developer, or is there a config problem on dev PC?

Thanks, Bill Mitchell
.



Relevant Pages

  • Re: a question regarding separate mdbs in Access
    ... All of the rest put into a front end mdb including Queries, ... You can separate 'code' from the actual data. ... Access Database Application with compiled VBA'). ... MS Access when it comes to various 'developer' versions hasn't been quite as ...
    (microsoft.public.data.ado)
  • Re: MDE/Blank forms
    ... I have rarely been much concerned with Access' security over the years, except for using server database security to protect the user's data, because the vast majority of Access applications are such that a competent developer can observe the application being run and re-create it in just a fraction of the original development time. ... The OP states that the MDE works fine but in the MDB the forms are blank and the only basic code to resize the form. ... Break the VBA project password,, or hire someone ...
    (comp.databases.ms-access)
  • Re: Help with Office Package Selection
    ... That also goes for creating an MDE from an MDB, ... > I should purchase to make the best use out of it. ... > even in the developer category. ...
    (microsoft.public.access.devtoolkits)
  • Re: How To Deploy Access 2000 appl. developed using Access 2000 .m
    ... Answer is you need the developer edtion to install a runtime of Access. ... work with the mdb. ... one .mdb file. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Linked Servers
    ... .mdb than it is to use linked servers. ... because i'm quite new to SQL-Server and Access ... >i created a new access project and have my database on SQL-Server. ...
    (microsoft.public.sqlserver.clients)