Author |
Topic  |
wolfenasp
Starting Member
11 Posts |
Posted - 21 August 2002 : 14:59:35
|
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
|
Remove the ' from the start of these lines
'strConnString = "snitz_261514" '## DSN 'strDBType = "access"
|
Edited by - Hamlin on 21 August 2002 15:06:03 |
 |
|
wolfenasp
Starting Member
11 Posts |
Posted - 21 August 2002 : 17:20:22
|
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... 
|
 |
|
Rasco
Advanced Member
    
Germany
3192 Posts |
Posted - 21 August 2002 : 17:54:50
|
What version of the forum are you using?
|
German Snitz Forum
|
 |
|
wolfenasp
Starting Member
11 Posts |
Posted - 22 August 2002 : 12:30:59
|
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  |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 22 August 2002 : 12:38:47
|
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 |
 |
|
wolfenasp
Starting Member
11 Posts |
Posted - 22 August 2002 : 14:09:43
|
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. |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
wolfenasp
Starting Member
11 Posts |
Posted - 22 August 2002 : 14:23:00
|
I've used the Notepad to edit Config.asp. But I didn't edit inc_top.asp. |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
wolfenasp
Starting Member
11 Posts |
|
wolfenasp
Starting Member
11 Posts |
Posted - 22 August 2002 : 14:39:34
|
I didn't change the default Admin password yet. Maybe that's why it doesn't work |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 22 August 2002 : 14:48:54
|
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 |
 |
|
wolfenasp
Starting Member
11 Posts |
Posted - 22 August 2002 : 15:07:00
|
Thanks now it works!  |
 |
|
wolfenasp
Starting Member
11 Posts |
Posted - 22 August 2002 : 15:08:50
|
But how can I change my admin login/password? |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Topic  |
|