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:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old February 6th, 2003, 11:15 PM
fijjit fijjit is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 2 fijjit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ASP Database Problem

I hope there's a genius ASP programmer out there somewhere. I'm having a real problem with a client's ASP website that I just cannot understand or solve.<br><br>Ten points to the anyone that can help!!<br><br>The site is a car sales website which has an Access database with car details (make, model, price, etc). There is a basic search tool on the site that accepts a string and matches it against the make/model and displays the results.<br><br>Now, this is normally fine, but on the odd occasion, it will produce an error when trying to connect:<br><br>[Microsoft][ODBC Microsoft Access Driver]General error Unable to open<br>registry key 'Temporary (volatile) Jet DSN for process 0x854 Thread 0x980<br>DBC 0x2255c84 Jet'.<br><br>The 'Unable to open registry key' error, as I understand it, normally means that the script was unable to open the database. But I can't understand why it can on some occasions, but not on others. Every time the search is complete and results have been shown, the script closes the recordset and connection and frees the resources. So the database should never be locked.<br><br>My host says it must be a code problem as other websites on the same server are not having a problem. I don't see how it can be the code, because the problem is very intermittent - there is no pattern to the error log file I've set up.<br><br>Anyone got any ideas? <br><br>Paul<br><br>[- Please add your name at www.fijjit.com -]

Reply With Quote
  #2  
Old February 9th, 2003, 11:39 PM
MAS MAS is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 1 MAS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Just a thought - Are you returning your ADODB.Recordset as a forward only, client cursor, & disconnected?

Reply With Quote
  #3  
Old February 10th, 2003, 06:00 PM
Giuseppe Giardina Giuseppe Giardina is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 4 Giuseppe Giardina User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The Error is sent when you try to access to msaccess memo fields ? The memo field are many problem. <br><br>If you use msaccess database try to convert in 2002 format.<p> </p><p><hr size="1" width="50%" align="left" />Giuseppe Giardina<br>http://www.storeportal.com<br>Media Online Italia s.r.l.<br>Via Nino Bixio, 27/a<br>70017 Putignano (BA)<br>Italy<br>Email: info@storeportal.com</p>

Reply With Quote
  #4  
Old February 23rd, 2003, 03:37 PM
fred fred is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 4 fred User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I would have to disagree with what is been written above about the memo fields. Memo fields are a major problem but i don't think it is the cause of your error.<br><br>Just had a quick look at MS Support its just a quick thought but try repairing your database under Tools menu in Access, point to Database Utilities, then Repair.<br><br>Keep in touch would like to know about your search and if it is dynamic and will search through memo fields<br>L8r

Reply With Quote
  #5  
Old February 26th, 2003, 01:30 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: 6
Memo fields shouldn't cause any kind of connectivity problem and are fully searchable through SQL or ASP. Are you sure no-one else is opening the DBase? Are there any webAccess pages being used? Does the Dbase backup regularly on some kind of auto schedule? Any of these things could fail the connection. Are you opening a recordest object or just a connection object - is the Dbase used to feed dynamic pages elsewhere and how many concurrent connections could there be? If the pages are taking a bit of time to load have you tried using getRows and searching the array rather than iterating the Dbase?

Reply With Quote
  #6  
Old February 28th, 2003, 03:55 PM
fijjit fijjit is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 2 fijjit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks, guys.<br><br>I eventually solved this by upgrading the DB to Access 2000 (well done, Giuseppe). A pain in the ***, but it appears to have worked. <br><br><br>Paul<br><br>[- Please add your name at www.fijjit.com -]

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > ASP Database Problem


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 5 hosted by Hostway