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: General / Classic ASP versions(v3.4.XX)
 again: The database could not be opened... help.
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

btokarchuk
Starting Member

5 Posts

Posted - 21 May 2002 :  11:47:03  Show Profile
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 : 80004005

Is the error i'm getting over and over and over again :(

UGH! I could really use some help. I've followed this thread (http://forum.snitz.com/forum/topic.asp?TOPIC_ID=27074) through and tried all of the things it suggests. I'm running Windows 2000 Professional and am trying to setup this forum through my IIS.

Here is my other goods.

Checking the file forum.mdb (what i called my converted Access 2000 file) the internet user has both read and write access on that file as well as the directory too. Also i have tried it with both the "Web Sharing" on and off... but as expected that didn't make much of a difference.

Here is my config.asp

Session.LCID = 1033 '## Do Not EditResponse.Buffer = truedim strDBType, strConnString, strTablePrefix, strMemberTablePrefix '## Do Not Edit'#################################################################################'## SELECT YOUR DATABASE TYPE AND CONNECTION TYPE (access, sqlserver or mysql)'#################################################################################strDBType = "access"'## Make sure to uncomment one of the strConnString lines!strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\Inetpub\dbroot\forum.mdb" '## MS Access 2000strTablePrefix = "FORUM_"strMemberTablePrefix = "FORUM_"

i wish i was simply editing the wrong file ;) but unfortunately i am updating the correct config.asp file. Is there something i'm supposed to install in windows 2000 to properly run it? ... i do have Access 2000 installed :) ..

Moving the file to the C:\Inetpub\ directory doesn't seem to help.

And i have run the whereami.asp script and confirmed the directory that the script thinks the database is in. So i'm convinced it must be a permission thing or some setting in IIS or something i need to have installed that i don't?

ANY suggestions would be greatly greatly appreciated. Is there something really stupid i'm missing?

In addition, why i really think it is permissions or some stupid setting in windows is cuz i also tried installing some other ASP scripts that use a database... such as a minipoll and a comment board and they both give similar errors. Here is the one from the comment board.

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Error Type:
Microsoft JET Database Engine (0x80004005)
Unspecified error
/cboard/Default.asp, line 16


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; DigExt; Q312461)

Page:
GET /cboard/Default.asp

Time:
Tuesday, May 21, 2002, 8:44:05 AM


More information:
Microsoft Support

Any help would be mucho appreciated.

Thanks

Brent


Doug G
Support Moderator

USA
6493 Posts

Posted - 21 May 2002 :  15:48:57  Show Profile
Maybe you can find some help here

http://www.dougscode.com/faq/default.asp?id=q1039


======
Doug G
======
Go to Top of Page

btokarchuk
Starting Member

5 Posts

Posted - 21 May 2002 :  18:08:13  Show Profile
ok hopefully people are still reading this.

I did some further investigation and alot of reading on MS sites etc. And i found the bit about how when an ASP script hits an Access database it creates a tempfile. Well i was looking and it does infact create a JET temp file in the windows\temp directory. Which i tried giving full control to everyone and it still gives me the same error. This tells me that the setup.asp IS finding the file, just that it can't properly open it. I have set up full control for the dbroot and the windows\temp and the forum directory (for user Everyone... for now ;), which you would think covers it all) and still nothing.

Is there something in win2k professional that i am missing setting up?

Thanks in advance...

Brent

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 May 2002 :  18:16:41  Show Profile  Send ruirib a Yahoo! Message
Do one thing, go to Microsoft's site and search for MDAC. Download and install the latest one. That may solve your problem...

Here, this is the page: http://www.microsoft.com/data/

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

btokarchuk
Starting Member

5 Posts

Posted - 21 May 2002 :  21:04:02  Show Profile
oh i could just kiss you right now... heheheheh ... i know that doesn't sound nearly as exciting to you....

The setup worked!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* doing a dance of joy *

Now lets go see if i can have some new problems! :) !!!




Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 May 2002 :  21:31:00  Show Profile  Send ruirib a Yahoo! Message
Glad to know that you got it working ... but no kissing please .

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page
  Previous Topic Topic Next Topic  
 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 0.46 seconds. Powered By: Snitz Forums 2000 Version 3.4.07