Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 26th, 2003, 12:37 PM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to VerdaFolio
Default Error 7399 when accessing remote db ?!

Need Help! Problem illustrated as below.
NorthWind.mdb (MS sample) is located on a
remote drive (U:) thru network. There is
no access restrictions on it. But after
the Linked Server is built, we can never
access it. Error message follow.
Appreciate it if you can directly reply to
[email protected]
-----------------------------------
USE master
GO
EXEC sp_addlinkedserver
   @server = 'northU',
   @provider = 'Microsoft.Jet.OLEDB.4.0',
   @srvproduct = 'OLE DB Provider for Jet',
   @datasrc = 'U:\northwind.mdb'
GO

EXEC sp_addlinkedsrvlogin
@rmtsrvname = 'northU',
@useself = false,
@locallogin = 'sa',
@rmtuser = 'admin',
@rmtpassword = NULL
GO

USE master
GO
SELECT * FROM OPENQUERY( northU, 'select * from shippers')

Server: Msg 7399, Level 16, State 1, Line 2
OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error.
[OLE/DB provider returned message: Could not find file
    'C:\WINDOWS\system32\NorthU'.]
 
Old June 2nd, 2004, 10:47 AM
Registered User
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

try using the UNC instead of U: (ie. \\computername\share).






Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing a remote sqlserver Through Proxy Server? mizimizi Classic ASP Databases 0 July 23rd, 2006 05:49 AM
Business Delegate Pattern for Accessing Remote EJB mlumsden BOOK: Expert One-on-One J2EE Design and Development 1 September 25th, 2003 03:31 PM
Accessing a remote web site Ray Pinnegar Access VBA 2 July 24th, 2003 08:34 PM
Error 7399 when accessing REMOTE .mdb VerdaFolio SQL Server 2000 2 July 9th, 2003 01:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.