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 June 24th, 2004, 01:03 PM
Authorized User
 
Join Date: Oct 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default connect from web server to remote database

I have created an asp page that makes a database connection through DSN (I have also tested with a connection string) to connect to a database on another server, which happens to be a Novell box.

The database has no ID or password set for it. It works fine . . . UNTIL . . . we turn off anonymous login for that directory on the web server. Then anytime we try to connect to that asp page we get the :

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver]'(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

error.

If we turn back on anonymous login it works fine once more.

If I put a copy of the database on the web server (above the web root) it all functions well regardless of the anonymity setting. It is just a problem when the database resides in a different box.

Any ideas for a solution to connecting to a remote DB?






Similar Threads
Thread Thread Starter Forum Replies Last Post
connect to remote acccess database aasheesh_jha Pro VB Databases 1 October 30th, 2007 01:57 PM
can not connect to the web-service remote server? okll .NET Web Services 4 May 24th, 2006 06:08 PM
Connect Remote SQLServer Database krajdyal ADO.NET 1 December 21st, 2005 02:47 PM
can't connect to remote server alyeng2000 ASP.NET 1.0 and 1.1 Basics 4 February 9th, 2004 11:24 AM
Connect to remote database sankar Pro VB Databases 0 July 31st, 2003 01:43 AM





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