Author |
Topic  |
clynn
Starting Member
36 Posts |
Posted - 28 April 2002 : 17:58:51
|
Get this error when running setup.asp.
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
|
|
crash
Advanced Member
    
Netherlands
2064 Posts |
Posted - 28 April 2002 : 18:01:20
|
do as it says...
 Crash's Site | Crash is from 
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 28 April 2002 : 18:21:17
|
Read the Installation Help by clicking in the link in my signature below.
If you still have problems correcting the strConnstring, go here and get whereami.asp: http://www.heptite.com/snitzinfo/whereami.zip
Extract whereami.asp, put in the folder where your database is located, execute it, and use the string it will show on your strConnString value in config.asp.
Crash: if she knew what the error message means she wouldn't be asking for help, don't you think?
------------------------------------------------- Installation Guide | Do's and Dont's | MODs |
 |
|
crash
Advanced Member
    
Netherlands
2064 Posts |
Posted - 28 April 2002 : 18:23:06
|
clynn, ruirib: sorry...
 Crash's Site | Crash is from 
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 28 April 2002 : 18:26:56
|
quote:
clynn, ruirib: sorry...
 Crash's Site | Crash is from 
It's Ok, I know you don't do it on purpose . But sometimes what's so obvious for us is not that obvious for "our helpees"... Sometimes our language is just too criptic for them (heck, sometimes is too criptic for me also ).
------------------------------------------------- Installation Guide | Do's and Dont's | MODs
Edited by - ruirib on 28 April 2002 18:27:39 |
 |
|
crash
Advanced Member
    
Netherlands
2064 Posts |
Posted - 28 April 2002 : 18:29:23
|
LOL! i will take a note of that!!
 Crash's Site | Crash is from 
|
 |
|
clynn
Starting Member
36 Posts |
Posted - 28 April 2002 : 18:32:27
|
Its actually Chris (a guy) 
This is mine:
Session.LCID = 1033 '## Do Not Edit Response.Buffer = true
dim 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\wwwroot\cgi-bin\snitz_forums_2000.mdb" '## MS Access 2000
strTablePrefix = "FORUM_" strMemberTablePrefix = "FORUM_"
'################################################################################# '## Do Not Edit Below This Line - It could destroy your forums and lose data '#################################################################################
|
 |
|
crash
Advanced Member
    
Netherlands
2064 Posts |
Posted - 28 April 2002 : 18:36:15
|
quote: C:\Inetpub\wwwroot\cgi-bin\snitz_forums_2000.mdb
so you host your forum on your own computer then?
 Crash's Site | Crash is from 
|
 |
|
clynn
Starting Member
36 Posts |
Posted - 28 April 2002 : 18:38:42
|
yepper!
My job was so kind as to give me an IP on their T1. 
I actually had this working once, but after a failed mod attempt, it was never the same. I format/reloaded earlier. Now I can't get the default forum to install.
Using IIS 5.0 Could it be a permission issue?
Edited by - clynn on 28 April 2002 18:42:20 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 28 April 2002 : 18:41:40
|
quote:
Its actually Chris (a guy) 
Chris, I'm really sorry .
quote:
This is mine:
Session.LCID = 1033 '## Do Not Edit Response.Buffer = true
dim 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\wwwroot\cgi-bin\snitz_forums_2000.mdb" '## MS Access 2000
strTablePrefix = "FORUM_" strMemberTablePrefix = "FORUM_"
'################################################################################# '## Do Not Edit Below This Line - It could destroy your forums and lose data '#################################################################################
That was the path you got from whereami.asp, or you had created it before? Check that the cgi-bin execution has read/write permissions for the Internet Guest Account.
------------------------------------------------- Installation Guide | Do's and Dont's | MODs |
 |
|
crash
Advanced Member
    
Netherlands
2064 Posts |
Posted - 28 April 2002 : 18:42:02
|
are you sure your DB is Access 2000 and not 97? when you open it in access 2000, doesn't it tell you to convert it?
if not, then use the tool whereami.asp to track down the exact location of your DB...
 Crash's Site | Crash is from 
|
 |
|
crash
Advanced Member
    
Netherlands
2064 Posts |
Posted - 28 April 2002 : 18:42:55
|
you got there before me... 
 Crash's Site | Crash is from 
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 28 April 2002 : 18:46:48
|
Chris:
If I were you I would put my database in a folder above wwwroot: c:\inetpub\database, for example, so that the database file could not be accessible from the Web. If you do that you still need to change permissions on the database folder, so that the Internet Guest Account has read/write permissions for it.
Crash: 
------------------------------------------------- Installation Guide | Do's and Dont's | MODs
Edited by - ruirib on 28 April 2002 18:47:57 |
 |
|
clynn
Starting Member
36 Posts |
Posted - 28 April 2002 : 18:55:41
|
I converted the DB to 2000 format.
I placed whereami.asp in CGI-BIN folder, ran it from a web browser:
www.dndhost.com/cgi-bin/whereami.asp
It worked, so I copied the strConnString line to it, no go.
Moved the database as you said, set permission to everyone: full control. Same error. 
current config: Session.LCID = 1033 '## Do Not Edit Response.Buffer = true
dim 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\snitz_database\snitz_forums_2000.mdb" '## MS Access 2000
strTablePrefix = "FORUM_" strMemberTablePrefix = "FORUM_"
Edited by - clynn on 28 April 2002 18:59:41 |
 |
|
Rune
Starting Member
31 Posts |
Posted - 28 April 2002 : 19:05:02
|
Just wanted to chime in here. I'm new to Snitz as of a few hours ago and I'm having the exact same problem. No matter where I put that sucker, it just won't find it. (I did get the db converted to 2000, though)
|
 |
|
clynn
Starting Member
36 Posts |
Posted - 28 April 2002 : 19:06:11
|
least i'm not all alone 
|
 |
|
Topic  |
|