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 October 15th, 2003, 08:38 AM
Authorized User
 
Join Date: Oct 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access Database: Open or closed??

Hello people!

I've got some asp pages linked to an Access database. Whenever the database is open and users access the pages the following messages comes up:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Could not use '(unknown)'; file already in use.

/mis/WebData/ResultsTopFrame.asp, line 7

I realise that the error message is coming up because the database is open. What i wanted to ask was is there a function or an if........than statement that can be used to determine if the database is already open and if so then redirect the user to another page?

Any help on this would be much appreciated. Thanks in advance peeps.
 
Old October 17th, 2003, 06:21 AM
Registered User
 
Join Date: Oct 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I willgive you 2 tips for this error. I received same error message one year ago.

1. Move your database to another folder like "c:\database" and reconfigure ODBC.

2. Download This TOOLS,

http://securityresponse.symantec.com...r/Fixnimda.com
http://www.microsoft.com/technet/sec...n/ms00-078.asp
http://www.microsoft.com/technet/sec...n/MS01-020.asp
http://www.microsoft.com/technet/sec...n/MS01-044.asp

These will help u I thought,
Best Regards
Burak Balibey






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open different access database from code TomW Access VBA 2 May 6th, 2008 11:49 AM
Open access database with pwd saikrishnan Pro VB Databases 1 October 9th, 2005 10:45 PM
Detect Access Version of Closed Database argeedblu Access VBA 8 April 6th, 2005 01:45 PM
Microsoft Access can't open the database because. vinodkalpaka Classic ASP Components 2 August 4th, 2004 06:27 PM
Microsoft Access can't open the database because. vinodkalpaka Classic ASP Databases 2 July 24th, 2004 04:37 PM





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