SunQuest
 
           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:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old March 14th, 2003, 12: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, 11:03 AM
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: 6
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 20th, 2003, 11:10 PM
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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway