Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 14th, 2003, 01:47 AM
rayala25 rayala25 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 2 rayala25 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Error Openning database.

Hello everybody...<br><br>My web application works fine, but when some different people try to open the databse, I get the following error...<br><br>Microsoft JET Database Engine error '80004005' <br>Cannot open database ''. It may not be a database that your application recognizes, or the file may be corrupt. <br>/fotografia/despliegafotoeng.asp, line 310 <br><br>The line of code where the error appears is when I try to open the database.<br><br>The application works fine, but when I put a link to my application in a public forum (when two or more people are trying to open the database, it crashes.)<br><br>I'm using Access 97 database.<br><br>I have contacted with support area , and they tell me that this error happens when 2 or more people are trying to open the database at the same specific time, but the problem is that the error remains until the server is restarted.<br><br>Is there any solution??<br><br>please help.<br><br>Roberto Ayala.
Comments on this post
JimmyGosling agrees!

Reply With Quote
  #2  
Old March 20th, 2003, 12:03 PM
Colin Colin is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 43 Colin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
If people are actually opening the database I'm not surprised this is happening. It is actually the server that is opening the application and creating a lock file. When the user is finished the server still has the Dbase open and doesn't receive an instruction to close it. <br><br>If you want to provide info from a dbase to users you should use a connection object rather than accessing the dbase directly - this will allow you to open the connection, get the info and then close the connection. It also allows multiple concurrent connections which you cannot have if you open the dbase to an exclusive user.
Comments on this post
JimmyGosling agrees!

Reply With Quote
  #3  
Old March 21st, 2003, 12:10 AM
rayala25 rayala25 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 2 rayala25 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks Colin... <br>I'm using objects and yes, I'm closing them every time I open them, I found a solution , that is updating my database from Access 97 to Access 2002, I think the problem has been corrected doing this.<br><br>Thanks.<br><br>Roberto Ayala.<br>www.digitalfx3d.com

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > Error Openning database.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek