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)
 Brinkster, databases and connection strings
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rlpendleton
Starting Member

USA
17 Posts

Posted - 10 May 2002 :  18:24:27  Show Profile  Visit rlpendleton's Homepage  Send rlpendleton an AOL message  Send rlpendleton an ICQ Message
Here is my trauma:

I use Brinkster, for those who want to know. Let's assume that my URL is http://www14.brinkster.com/mysite I have Snitz in my /db directory. I used the find.asp file (it's in the same directory) and this is what it says:

quote:

This file currently resides on this server at: \\genfs1\www14\rlp2183\db\

If you are uploading the database to this directory and have not changed the database name(snitz_forums_2000.mdb) your path is:
\\genfs1\www14\rlp2183\db\snitz_forums_2000.mdb



Can anyone tell me what my full connection string should be? And also, how do I know what type of database I'm using? I'm thinking that I am using MS Access but how do I determine it?

"In the palace of the virgin
Lies the chalice of the soul
And it's likely you might find the answer there"

--Ronnie James Dio

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 10 May 2002 :  18:31:19  Show Profile  Send ruirib a Yahoo! Message
If your URL is http://www14.brinkster.com/mysite just use

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("\mysite\db\snitz_forums_2000.mdb")


You should put the database (snitz_forums_2000.mdb) inside the db folder.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

rlpendleton
Starting Member

USA
17 Posts

Posted - 10 May 2002 :  22:15:14  Show Profile  Visit rlpendleton's Homepage  Send rlpendleton an AOL message  Send rlpendleton an ICQ Message
I changed the string but setup.asp still doesn't work. Here is what my actual config.asp file looks like:

quote:

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


'## Make sure to uncomment one of the strConnString lines!
'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("\rlp2183\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=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("/USERNAME/db/snitz_forums_2000.mdb") '## MS Access 2000 on Brinkster
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 2000
'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=UID;pwd=PWD;database=DB_NAME" '## MS SQL Server 7
'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=UID;pwd=PWD;database=DB_NAME" '## MS SQL Server 2000
'strConnString = "driver=MySQL;server=localhost;uid=heptite;pwd=justtesting;database=heptite" '## MySQL
'strConnString = "DSN=mysqldsn" '## MySQL

strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"




Can you see a problem with this?

"In the palace of the virgin
Lies the chalice of the soul
And it's likely you might find the answer there"

--Ronnie James Dio
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 10 May 2002 :  22:31:23  Show Profile
try using this strConnString instead:

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/rlp2183/db/snitz_forums_2000.mdb") '## MS Access 2000 on Brinkster
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 10 May 2002 :  22:46:49  Show Profile
ok, looks like that fixed it.

Make sure you rename the database to something that no one can guess (kinda like a password.) You'll not only need to rename the actual database file, but update the strConnString in the config.asp file as well.

Also, you need to change the Admin password to something other than admin. Best way to do this is to logout first(if you have already logged in), then click on the Profile link at the top right hand side of the page. Enter Admin/admin and then on the Edit Profile page, you can update the e-mail address and change the password.

The next important thing to do is to visit this forum:

Announcements: Security Related Bug Fixes

and apply the fixes listed there. Also, try to visit that forum on a regular basis to stay up to date.
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.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07