Ask a Question related to ASP Database, Design and Development.
-
SteveB #1
Error 500 on second Open to Access Database
Using ASP under IIS (Win2k3 Server), latest patches.
I have an simple page that accesses an Access database via a system
DSN. The first Open works fine, but each subsequent time (page
reload, relogin, etc) I get either an Error 500 (HTTP error) or an ASP
"Unspecified error" message on the Open line.
* The IUSR account has Full Privs to the directory containing the
Access database
* the IUSR account has Full Privs to the database itself
* Even tried giving full access to the IWAM account, but that didn't
matter
* Am setting the objConnection.Mode property to 3 (adModeReadWrite)
Problem goes away after the database has a minute or two to
(apparently) unlock something, I guess: as soon as I do another Open
it works, but then stops working again until I let it sit. Privs are
fine, but I know I've had this problem before and resolved it on other
sites.
Thoughts? And yes, I've been to ASPFAQ.com; couldn't find anything
that helped.
Jack
SteveB Guest
-
Access database error
I'm trying to add an Access data source in coldfusion following step for step a guide from lynda.com. When I try to submit, this is what I get: ... -
Insert to Access database error*** Please Help
When trying to insert into access database with a form created by the standard MX2004 Insert and form wizard, get the "Syntax " error as below. Line... -
Database access error. Please help!
I finially manages to get my Access database to connect with Coldfusion, however when i run a simple 'Select * from ' statement, i get this error. ... -
Problem connecting to local Access database - Unable to open registry key 'Temporary (volatile) Jet DSN ...
Hi I get the following error sporadically when running a sample in an MSDN ASP tutorial: Microsoft OLE DB Provider for ODBC Drivers: General... -
database open Error -761 : INFORMIXSERVER does not match either DBSERVERNAME or DBSERVERALIASES.
Hello I have the following problem. Due an old program limitation the size of the servername can no be larger than 6 characters in the client and... -
Ken Schaefer #2
Re: Error 500 on second Open to Access Database
Hi,
a) Please uncheck "Show Friendly HTTP Errors" in your copy of Internet
Explorer (Tools -> Options -> Advanced)
b) Reload the page and post the exact error message you are seeing.
Also, you need to make sure you are explicitly closing your ADO connection
objects - so that they are returned to the ODBC Connection pool. If you are
implicitly creating connection objects (by using Recordset.Open
<connectionString>) you should adjust your code so that you explicitly
create a connection object and use that when opening your recordset.
Cheers
Ken
"SteveB" <mcse4cash@hotmail.com> wrote in message
news:6b35f956.0406132019.3e7b344b@posting.google.c om...
: Using ASP under IIS (Win2k3 Server), latest patches.
:
: I have an simple page that accesses an Access database via a system
: DSN. The first Open works fine, but each subsequent time (page
: reload, relogin, etc) I get either an Error 500 (HTTP error) or an ASP
: "Unspecified error" message on the Open line.
: * The IUSR account has Full Privs to the directory containing the
: Access database
: * the IUSR account has Full Privs to the database itself
: * Even tried giving full access to the IWAM account, but that didn't
: matter
: * Am setting the objConnection.Mode property to 3 (adModeReadWrite)
:
: Problem goes away after the database has a minute or two to
: (apparently) unlock something, I guess: as soon as I do another Open
: it works, but then stops working again until I let it sit. Privs are
: fine, but I know I've had this problem before and resolved it on other
: sites.
:
: Thoughts? And yes, I've been to ASPFAQ.com; couldn't find anything
: that helped.
:
: Jack
Ken Schaefer Guest



Reply With Quote

