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)
 Error : "The database could not be opened !!"
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

wolfenasp
Starting Member

11 Posts

Posted - 21 August 2002 :  14:59:35  Show Profile
Hi,

I use an ASP/Access Hosting but the script doesn't work. I get this 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 : 80004005


And here's the config.asp script :

'#################################################################################
'## SELECT YOUR DATABASE TYPE AND CONNECTION TYPE (access, sqlserver or mysql)
'#################################################################################
'strDBType = "access"

'## Make sure to uncomment one of the strConnString lines and edit it so that it points to where your database is!

'strConnString = "snitz_261514" '## DSN

strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"

Thanks for your help!

Edited by - ruirib on 22 August 2002 15:26:43

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 21 August 2002 :  15:05:47  Show Profile
Remove the ' from the start of these lines


'strConnString = "snitz_261514" '## DSN
'strDBType = "access"


Edited by - Hamlin on 21 August 2002 15:06:03
Go to Top of Page

wolfenasp
Starting Member

11 Posts

Posted - 21 August 2002 :  17:20:22  Show Profile
Thanks a lot for your help! The setup has been completed.

But when I'm going to Default.asp I get this error message :

Microsoft VBScript compilation error '800a0411'

Name redefined

/forum/inc_top.asp, line 63

dim mLev, strLoginStatus, MemberID
----^


If you have any ideas...
Go to Top of Page

Rasco
Advanced Member

Germany
3192 Posts

Posted - 21 August 2002 :  17:54:50  Show Profile  Send Rasco an ICQ Message
What version of the forum are you using?

German Snitz Forum
Go to Top of Page

wolfenasp
Starting Member

11 Posts

Posted - 22 August 2002 :  12:30:59  Show Profile
I think it's the last one : Snitz Forums 2000 Version 3.3.05

Should I change something about Administrator login/password? Cause I didn't change anything yet.

Thanks for your help
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 August 2002 :  12:38:47  Show Profile  Send ruirib a Yahoo! Message
That's not the last one. The last one is 3.4.
What changes have you done to the code? What is happening now means that inc_top.asp is being included twice and that cn only happen through some error editing the files.


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

wolfenasp
Starting Member

11 Posts

Posted - 22 August 2002 :  14:09:43  Show Profile
I've just edit config.asp (see the first post). That's why I don't understand why I get this error on this page.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 August 2002 :  14:12:55  Show Profile  Send ruirib a Yahoo! Message
What did you use to edit the file?


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

wolfenasp
Starting Member

11 Posts

Posted - 22 August 2002 :  14:23:00  Show Profile
I've used the Notepad to edit Config.asp. But I didn't edit inc_top.asp.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 August 2002 :  14:29:02  Show Profile  Send ruirib a Yahoo! Message
Can you save config.asp as config.txt, upload it to your site and post a link to it?


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

wolfenasp
Starting Member

11 Posts

Posted - 22 August 2002 :  14:33:20  Show Profile
Ok thanks for your help, here the file :

http://www.danielphoto.com/config.txt

Go to Top of Page

wolfenasp
Starting Member

11 Posts

Posted - 22 August 2002 :  14:39:34  Show Profile
I didn't change the default Admin password yet. Maybe that's why it doesn't work
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 August 2002 :  14:48:54  Show Profile  Send ruirib a Yahoo! Message
How can this be? You tell us you are using 3.3.05, inc_top.asp is used with Snitz 3.3.05 and yet your config.asp is from Snitz 3.4?

Do me a favor: backup all files in your forum folder, once this is done delete them all. After that extract all Snitz 3.4 files into a new folder in your computer, edit config.asp from this folder, so that it uses the proper values for strDBType (are you using SQL Server, by the way?) and strConnString), and save it.
After this upload all the files from this new folder to your site and run setup.asp.


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

wolfenasp
Starting Member

11 Posts

Posted - 22 August 2002 :  15:07:00  Show Profile
Thanks now it works!
Go to Top of Page

wolfenasp
Starting Member

11 Posts

Posted - 22 August 2002 :  15:08:50  Show Profile
But how can I change my admin login/password?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 August 2002 :  15:12:27  Show Profile  Send ruirib a Yahoo! Message
Login as admin, click Profile at the top of your page, and change it there.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
Page: of 2 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 0.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07