Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS Access
 Cannot open accesss database error
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 4

chiefcook
Starting Member

USA
30 Posts

Posted - 04 August 2006 :  06:39:16  Show Profile
I am new to Snitz and this Forum and am completely stumped at this point. I have tried looking through all of the help forums that looked like they might have an answer (that I could find searching Snitz)for the last three days.

I am running ver. 3.4.05 on Windows 2003 server. I cannot get the setup page to open the database. I get the following error -

The database could not be opened !!
Check your config.asp file and set the
strConnString so it points to the database.
Also check if strDBType is set to the right databasetype.

Code : 424


The database type is set correctly and so is the path (I used whereami to double check). I have edited config trying all of the Access options. Iusr access is set to read write. I even went so far as to try giving Iusr full access to the entire root of the web drilling down to make sure of inheritance, no go. I managed to get past the ASP enabling option to at least get to the setup page to get this error.

This is on an Intranet so I cannot link.

Everything is easier when it is someone else's responsibility

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 04 August 2006 :  06:43:01  Show Profile  Visit HuwR's Homepage
have you got the correct permissions set on the database and it;s directory
Go to Top of Page

chiefcook
Starting Member

USA
30 Posts

Posted - 04 August 2006 :  06:57:52  Show Profile
Yeah, I even went so far as to give "everyone" full to the entire directory.

Everything is easier when it is someone else's responsibility
Go to Top of Page

chiefcook
Starting Member

USA
30 Posts

Posted - 07 August 2006 :  06:20:49  Show Profile
Anyone know what Code: 424 is?

Everything is easier when it is someone else's responsibility
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 August 2006 :  06:31:22  Show Profile  Send ruirib a Yahoo! Message
Is it just that, 424?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

chiefcook
Starting Member

USA
30 Posts

Posted - 07 August 2006 :  07:59:34  Show Profile
It also says this:
The database could not be opened !!
Check your config.asp file and set the
strConnString so it points to the database.
Also check if strDBType is set to the right databasetype.


Everything is easier when it is someone else's responsibility
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 August 2006 :  09:31:28  Show Profile  Send ruirib a Yahoo! Message
Seems like that is an object not available error. I really don't know what could cause that...

Do you have desktop access to that Windows server? If you do, try the advice here. Even if it was originally given for SQL Server, you can use it for Access. Just choose the Jet OLEDB provider and pick the path to where the database is localed. Then click the test connection button and let me know if you have success.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

chiefcook
Starting Member

USA
30 Posts

Posted - 07 August 2006 :  10:34:05  Show Profile
So that I am sure I followed instructions properly...

I chose jet 4.0 as my provider (after creating udl file), selected my database name, and tested connection. The test works, but when I enter the string from the udl I get the following error:

Microsoft VBScript compilation error '800a0409'

Unterminated string constant

/forum/config.asp, line 53

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\RootDrive\WEB\Forum\NHVH_Forum.mdb;Persist Security Info=False

I don't think I missed any of the instructions/ applying them to access instead of SQL

Everything is easier when it is someone else's responsibility
Go to Top of Page

Roger Fredriksson
Average Member

Sweden
556 Posts

Posted - 07 August 2006 :  11:58:36  Show Profile  Visit Roger Fredriksson's Homepage
A missing " after False could explain a lot ;)

rf/www.avgifter.com
Go to Top of Page

chiefcook
Starting Member

USA
30 Posts

Posted - 07 August 2006 :  12:08:29  Show Profile
Thanks, but I missed copying the end of the string. Sorry, the (") is there. here is the full string:

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\RootDrive\WEB\Forum\NHVH_Forum.mdb;Persist Security Info=False" '## MS Access 2000

Everything is easier when it is someone else's responsibility
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 August 2006 :  13:38:44  Show Profile  Send ruirib a Yahoo! Message
Which is line 53? Please post a link to a text version of your config.asp file.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

chiefcook
Starting Member

USA
30 Posts

Posted - 07 August 2006 :  14:55:53  Show Profile
I am new to this forum, so if there is a way I can upload a text file and link it I am unaware of it. I am operating within an Intranet and cannot make files available outside of it by linking to my network (I am a tree in someone else's Forest...). I am willing to upload, FTP, or email a copy of the text file though.

Here is the content of line 53: strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\RootDrive\WEB\Forum\NHVH_Forum.mdb;Persist Security Info=False" '## MS Access 2000

If it helps... I have only modified this line and the Database type.

Everything is easier when it is someone else's responsibility
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 August 2006 :  19:47:58  Show Profile  Send ruirib a Yahoo! Message
You can email me the file then. Email me through thr forum, I'll reply, and then you zip and send me the file.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 07 August 2006 :  20:25:51  Show Profile
Make sure there is a space between the " and ' after False

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

chiefcook
Starting Member

USA
30 Posts

Posted - 08 August 2006 :  05:51:18  Show Profile
The space is there, I hope it turns out to be syntax though. I am rechecking my edits again just to be sure...

Everything is easier when it is someone else's responsibility
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 August 2006 :  06:18:51  Show Profile  Send ruirib a Yahoo! Message
The file seems ok to me. Try using the conn string like this:

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\RootDrive\WEB\Forum\NHVH_Forum.mdb"


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.81 seconds. Powered By: Snitz Forums 2000 Version 3.4.07