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)
 Need Help Please!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

swilson
Starting Member

USA
9 Posts

Posted - 04 May 2006 :  16:19:43  Show Profile  Visit swilson's Homepage
I need help with my setup.asp at my website. It is saying " Your strDBType is not set, please edit your config.asp to reflect your database type.

This is how I am doing it below.


'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("cgi-bin/tools/pfiles_new420.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={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("cgi-bin/database/pfiles_new420.mdb") '## MS Access 97 using virtual path
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/USERNAME/db/snitz_forum._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=4;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

Please tell me what I am doing wrong.
Thanks!


swilson

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 May 2006 :  16:24:26  Show Profile  Send ruirib a Yahoo! Message
Everything looks ok. Are you sure that's the file you are uploading?


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

swilson
Starting Member

USA
9 Posts

Posted - 04 May 2006 :  18:21:55  Show Profile  Visit swilson's Homepage
Yes. I rename the file to pfiles_new420 but it keeps saying "Your strDBType is not set, please edit your config.asp to reflect your database type."
I don't know what is wrong. It looks right to me too.

swilson
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 04 May 2006 :  18:45:06  Show Profile  Visit leatherlips's Homepage
Have you tried this?

'## 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("cgi-bin/tools/pfiles_new420.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={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("cgi-bin/database/pfiles_new420.mdb") '## MS Access 97 using virtual path
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/USERNAME/db/snitz_forum._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=4;server=SERVER_IP;user=UID;password=PWD;DATABASE=DB_NAME;" '##MySQL w/ MyODBC v3.51
'strConnString = "DSN_NAME" '## DSN

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 04 May 2006 18:45:28
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 May 2006 :  19:12:25  Show Profile  Send ruirib a Yahoo! Message
Can you post a link to a text version of your config.asp file? You can mask the detailed location of your .mdb file.


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

swilson
Starting Member

USA
9 Posts

Posted - 04 May 2006 :  19:45:01  Show Profile  Visit swilson's Homepage
Sorry. I went to store with my wife and daughter. I'll try it and get back @ you.

swilson
Go to Top of Page

swilson
Starting Member

USA
9 Posts

Posted - 04 May 2006 :  20:47:29  Show Profile  Visit swilson's Homepage
Ok. I copy and paste your idea above and change my folders on the web to inetpub and dboot. I think I was suppose to do that.
2nd How can I make a text version? Can explain what you mean by that? I am new to web design and some things I am still learning.

swilson
Go to Top of Page

swilson
Starting Member

USA
9 Posts

Posted - 04 May 2006 :  21:11:35  Show Profile  Visit swilson's Homepage
ruirib,

Try this link and see what I see. http://forum.homegeekstech.com/setup.asp

Is this right or wrong? Please reply if you can.

swilson

Edited by - swilson on 04 May 2006 21:21:08
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 04 May 2006 :  22:37:13  Show Profile  Visit muzishun's Homepage
Looking at that page, it doesn't seem that ASP is enabled on your server. I'm seeing *all* of the code in setup.asp. That means that it isn't being parsed at all.

Check with your web host to make sure you are using a server / plan that supports ASP pages.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 05 May 2006 :  01:12:59  Show Profile  Send ruirib a Yahoo! Message
muzishun is correct. You are using an Apache web server and Apache cannot run ASP with VbScript unless something called Sun One ASP is installed. You will need to use a board that Apache can run. I would suggest a PHP based board.


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

swilson
Starting Member

USA
9 Posts

Posted - 05 May 2006 :  07:50:48  Show Profile  Visit swilson's Homepage
Thanks for the advise and I will look into it. I'll call my web host as soon as possible.

swilson
Go to Top of Page

swilson
Starting Member

USA
9 Posts

Posted - 05 May 2006 :  08:07:59  Show Profile  Visit swilson's Homepage
You all are right and are a very great help. My hosting company says it is impossible to run asp. I have already try to run a php board and was having trouble. I try to run your asp and that doesn't run either so I guess I need to look for a better option. Thanks for all your help and I hope you all can forgive me for my stupidness in posting that extra topic. Sorry!

swilson
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 05 May 2006 :  13:01:30  Show Profile  Send ruirib a Yahoo! Message
If you need to have a look at possible competitors that can run in your board, have a look at http://forum.snitz.com/competition.asp


Snitz 3.4 Readme | Like the support? Support Snitz too
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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07