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 / Current Version (Old)
 HELP!!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MEDAEMHCO
Starting Member

Bosnia And Herzegovina
7 Posts

Posted - 11 November 2007 :  04:22:29  Show Profile  Visit MEDAEMHCO's Homepage
In my site

'strDBType = "sqlserver"
strDBType = "access"
'strDBType = "mysql"

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

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/tools/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/MEDAEMHCO/db/snitz_forums_2000.mdb") '## MS Access 2000 on Brinkster
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=http://www.edukat.org/sf2k_v34_06/whereami.asp/db/snitz_forums_2000.mdb" '## MS Access 2000
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("snitz_forums_2000.mdb") '## MS Access 97 using virtual path
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/USERNAME/db/snitz_forums_2000.mdb") '## MS Access 97 on Brinkster
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 97
'strConnString = "Provider=SQLOLEDB;Data Source=SERVER_NAME;database=DB_NAME;uid=UID;pwd=PWD;" '## MS SQL Server 6.x/7.x/2000 (OLEDB connection)
'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=UID;pwd=PWD;database=DB_NAME" '## MS SQL Server 6.x/7.x/2000 (ODBC connection)
'strConnString = "driver=MySQL;server=SERVER_IP;uid=UID;pwd=PWD;database=DB_NAME" '## MySQL w/ MyODBC v2.50
'strConnString = "driver={MySQL ODBC 3.51 Driver};option=16387;server=SERVER_IP;user=UID;password=PWD;DATABASE=DB_NAME;" '##MySQL w/ MyODBC v3.51
'strConnString = "DSN_NAME" '## DSN

strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"
strFilterTablePrefix = "FORUM_" 'used for BADWORDS and NAMEFILTER tables

Help!

ME

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 11 November 2007 :  06:03:40  Show Profile  Send ruirib a Yahoo! Message
What can we help you with?


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

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 11 November 2007 :  09:58:20  Show Profile  Visit MaD2ko0l's Homepage
just by looking there are 3 strConnString's uncommentted whcih will mess things up? looke liek he needs to comment out 2 of them lines and get the correct db path

© 1999-2010 MaD2ko0l
Go to Top of Page

MEDAEMHCO
Starting Member

Bosnia And Herzegovina
7 Posts

Posted - 12 November 2007 :  03:36:46  Show Profile  Visit MEDAEMHCO's Homepage
ERROR ON SCREEN

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

Error Description :
Not a valid file name.

ME
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 12 November 2007 :  04:49:17  Show Profile  Send ruirib a Yahoo! Message
As MaD2kool wrote, you have 3 uncommented lines in config.asp, and you can have only one. Which is the one you want to use?


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

MEDAEMHCO
Starting Member

Bosnia And Herzegovina
7 Posts

Posted - 12 November 2007 :  04:56:34  Show Profile  Visit MEDAEMHCO's Homepage
NEW 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

Error Description :
'C:\domains\edukat.org\wwwroot\MEDAEMHCO\www.edukat.org\sf2k_v34_06\db\snitz_forums_2000.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.


ME
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 12 November 2007 :  05:02:04  Show Profile  Send ruirib a Yahoo! Message
Does your host provide a folder, above wwwroot, for you to store databases?


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

MEDAEMHCO
Starting Member

Bosnia And Herzegovina
7 Posts

Posted - 26 November 2007 :  14:23:31  Show Profile  Visit MEDAEMHCO's Homepage
Could you please write out the exact path to my database (snitz_forums_2000.mdb)?

ME
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 26 November 2007 :  14:28:30  Show Profile  Visit MaD2ko0l's Homepage
in the snitz download (sf2k_v34_06.zip) there is another zip called tools.zip, open this and there is a file called whereami.asp uplaod thsi to your root folder and run it in the browser, thsi shoudl give u the path to the database

hope that helps

© 1999-2010 MaD2ko0l
Go to Top of Page

MEDAEMHCO
Starting Member

Bosnia And Herzegovina
7 Posts

Posted - 27 November 2007 :  13:10:36  Show Profile  Visit MEDAEMHCO's Homepage
NEW ERROR
---------
Microsoft VBScript compilation error '800a03ee'

Expected ')'

/sf2k_v34_06/config.asp, line 52

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(http://www.edukat.org/sf2k_v34_06/cgi-bin/whereami.asp?dbname=snitz_forums_2000.mdb)
-------------------------------------------------------------------------------------^
Help??

ME
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 27 November 2007 :  15:45:14  Show Profile  Send ruirib a Yahoo! Message
Did you use whereami.asp?


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

AnonJr
Moderator

United States
5765 Posts

Posted - 27 November 2007 :  16:17:28  Show Profile  Visit AnonJr's Homepage
The whereami.asp page doesn't go in the connection string - you type in the URL to the whereami.asp page in your browser and use the connection string it tells you to use.

http://www.edukat.org/sf2k_v34_06/cgi-bin/whereami.asp

Also, you're going to want to change the name of the database to something other than "snitz_forums_2000.mdb" - and don't tell anyone what you re-named it to.
Go to Top of Page

AnonJr
Moderator

United States
5765 Posts

Posted - 27 November 2007 :  16:18:13  Show Profile  Visit AnonJr's Homepage
Also, you might want to put it in a different folder and remove the whereami.asp page when you are done....
Go to Top of Page

MEDAEMHCO
Starting Member

Bosnia And Herzegovina
7 Posts

Posted - 29 November 2007 :  11:25:17  Show Profile  Visit MEDAEMHCO's Homepage
thank you very much

ME
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.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07