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)
 strDBtype error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

eriadoc
Starting Member

8 Posts

Posted - 17 November 2004 :  11:17:39  Show Profile  Send eriadoc a Yahoo! Message
OK, I did a search on the boards and found several people listing the same problem, but usually because they hadn't taken comment lines out properly, etc. Here is my config.asp (pertinent portion anyway). Please point me in the right direction. Thank you.

'#################################################################################
'## 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 and edit it so that it points to where your database is!
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("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\snitz\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=4;server=SERVER_IP;user=UID;password=PWD;DATABASE=DB_NAME;" '##MySQL w/ MyODBC v3.51
'strConnString = "DSN_NAME" '## DSN


I have been careful to make sure there are no spaces in the paths. Where I have highlighted yellow, I have tried a leading quotation mark and without. Also, this is just a test install, so paths will be changed at a later date. Thanks in advance!

Edited by - eriadoc on 17 November 2004 11:20:36

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 17 November 2004 :  11:19:24  Show Profile  Send ruirib a Yahoo! Message
Have you run whereami.asp, as explained in the readme file?


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

eriadoc
Starting Member

8 Posts

Posted - 17 November 2004 :  11:24:04  Show Profile  Send eriadoc a Yahoo! Message
yes.
Go to Top of Page

eriadoc
Starting Member

8 Posts

Posted - 17 November 2004 :  11:39:26  Show Profile  Send eriadoc a Yahoo! Message
Ah ha! I found my mistake! Thank you for the rapid reply. I was modifying the incorrect instance of the ASP file LOL. oops.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 17 November 2004 :  11:42:56  Show Profile  Send ruirib a Yahoo! Message
Ok, glad you fixed it :).


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