Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 February 2nd, 2004, 03:47 PM
Registered User
 
Join Date: Jan 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default odbc link across a network

I hope someone here can help with this, because I've been looking for a solution for a LONG time.

I have a front facing web server running win2k advanced server which has an asp application on it. The application needs to use the same databases that are on our intranet web server running win2k server. The front facing server is an AD Domain Controller.

I've given the IUSR_machinename account full control to the databases and tried to both map a drive from one server to the other and to use full UNC paths, but the odbc link still fails. When trying to browse the sight the error message is:

[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.

Of course, the database isn't opened by another user, so I'm assuming it must be a rights issue.

My question is: what else can I do, other than granting full control rights to the anonymous user on the front facing server as I already have done, to allow the asp pages to access the databases on our intranet?

Any help would be appreciated, I'm getting nowhere fast.
 
Old February 3rd, 2004, 05:25 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

See the archive http://p2p.wrox.com/topic.asp?TOPIC_ID=8791 and http://support.microsoft.com/?kbid=161333

Also, you are using the wrong driver. For ASP you should use the Jet OLEDB driver, not the ODBC driver.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Rob2001 BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 1 July 22nd, 2007 06:53 PM
Network settings gwilliam Visual Basic 2005 Basics 2 April 23rd, 2007 01:13 PM
Network Assistance DuncanFinney C# 6 August 1st, 2005 06:42 PM
ODBC - insert on a linked field - [microsoft][ODBC chimp MySQL 0 April 7th, 2005 04:44 AM
ODBC link to SQL database from Access mlwallin SQL Server 2000 2 January 24th, 2005 05:30 PM





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