Author |
Topic |
fimi
Starting Member
Canada
39 Posts |
Posted - 02 June 2001 : 10:18:16
|
HI.
My Config.asp looks like this ___________________________________________________________________________ 'strDBType = "sqlserver" strDBType = "access" 'strDBType = "mysql"
'## Make sure to uncomment one of the strConnString lines! 'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 97 'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/fpdb/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Inetpub\wwwroot\forumi\tools\snitz_forums.mdb;" '## MS Access 2000 'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=SQL_USER;pwd=PASSWORD;database=DATABASE_NAME" '## MS SQL Server 7 'strConnString = "driver=MySQL;server=SERVER_NAME;uid=MYSQL_USER;pwd=PARRWORD;database=DATABASE_NAME" '## MySQL
strTablePrefix = "FORUM_" strMemberTablePrefix = "FORUM_" ______________________________________________________________________________ AND I STILL GET THE ERRROR MESSAGE:
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.
I DON'T KNOW WHAT TO DO CAN SOMEONE HELP ME HERE
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
|
fimi
Starting Member
Canada
39 Posts |
Posted - 02 June 2001 : 10:48:20
|
the path to the database is correct!
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 02 June 2001 : 11:21:42
|
What was the path it gave you?
|
|
|
fimi
Starting Member
Canada
39 Posts |
Posted - 02 June 2001 : 13:47:07
|
it was "C:\Inetpub\wwwroot\forumi\tools\whereami.asp"
and forumi means Forum
Edited by - fimi on 03 June 2001 09:03:11 |
|
|
giggss
Starting Member
7 Posts |
Posted - 02 June 2001 : 13:48:04
|
Same problem encountered too!
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 02 June 2001 : 18:49:51
|
Have you checked that you typed in the correct name of the database? Also, double check to make sure the database file is in the tools folder.
|
|
|
Deleted
deleted
4116 Posts |
Posted - 02 June 2001 : 18:54:19
|
And has the correct file name... And is not password protected...
Think Pink |
|
|
mafifi
Junior Member
USA
308 Posts |
Posted - 02 June 2001 : 19:56:32
|
quote: it was "C:\Inetpub\wwwroot\forumi\tools\whereami.asp"
Is this misspelling forumi?
Thanks,
Mo |
|
|
Deleted
deleted
4116 Posts |
Posted - 02 June 2001 : 20:11:42
|
quote:
quote: it was "C:\Inetpub\wwwroot\forumi\tools\whereami.asp"
Is this misspelling forumi?
Thanks,
Mo
I assumed it is a foreign language version of the word, because its consistent in two places.
What is the database version? Do you use PWS to run it? Is necessary drivers for Jet etc loaded?
Must be something with the setup.
Think Pink |
|
|
fimi
Starting Member
Canada
39 Posts |
Posted - 03 June 2001 : 18:26:39
|
YES IT WORKS AND IT IS RUNNING, BUT I NEED TO CHANGE THE ADMIN USERNAME AND PASSWORD how do i do that
|
|
|
Deleted
deleted
4116 Posts |
Posted - 03 June 2001 : 18:50:05
|
quote:
YES IT WORKS AND IT IS RUNNING, BUT I NEED TO CHANGE THE ADMIN USERNAME AND PASSWORD how do i do that
Congurats. 1. Now go to the members page and change the profile of admin. Change the password, do not delete it. 2. Define another user with any desired name (using the register link on the top menu) 3. Login back as admin, go to the members page, click the edit users profile icon on the right, give the new user ADMIN rights (last field named Member Level).
So, ADMIN will stay as a backup user with admin rights, and you will use the other one normally.
Hope this helps.
Think Pink |
|
|
fimi
Starting Member
Canada
39 Posts |
Posted - 03 June 2001 : 22:37:47
|
Hi again, I installed MY SNITZ on my forum and when i run my.asp i get The page cannot be displayed error message. the path is correct if you have any solutions please reply
|
|
|
giggss
Starting Member
7 Posts |
Posted - 04 June 2001 : 00:49:15
|
It still can't work for me! But I confirm all the paths are correct!
I got the below when I tried to enter default.asp:
quote: Microsoft JET Database Engine error '80004005' Could not find file 'd:\www\digitalrice\members\giggss\db\snitz_forum_2000.mdb'.
/members/giggss/forum/inc_top.asp, line 42
And when I go to setup.asp, I got this:
quote: 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.
PLEASE HELP!!!
|
|
|
fimi
Starting Member
Canada
39 Posts |
Posted - 04 June 2001 : 20:39:45
|
HI again, I Registerd to my forum if it works, but i didn't get an email form My forum. Who knows Why. Maybe Someone Can halp me
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 04 June 2001 : 21:40:31
|
giggss, make sure you have the correct spelling of the database. The database in the zip file is spelt "snitz_forums_2000.mdb", but in the config.asp file it is spelt "snitz_forum_2000.mdb" without the s on forum.
|
|
|
Topic |
|