| Author |
Topic  |
|
|
webtech
Starting Member
2 Posts |
Posted - 20 April 2007 : 10:14:36
|
I keep getting this error, I use go daddy for my web host and I am on a Linux Server. The Support says I can use asp. Plus I have created a webpage and a shopping cart for a friend that uses asp and it works great.
& _ "Database Setup....
" & _ "Your strDBType is not set, please edit your config.asp to reflect your database type." & _ " " & _ "Click here to retry.
My Config file shows. This is the one that is in my /forum/ on the server. I have check this 20 times I cannot see anything wrong.
For security reasons I xxxx the username and Password
Session.LCID = 1033 '## Do Not Edit Response.Buffer = true
Dim strDBType, strConnString, strTablePrefix, strMemberTablePrefix, strFilterTablePrefix '## Do Not Edit Dim counter, ConnErrorNumber, ConnErrorDesc, blnSetup '## Do Not Edit
'################################################################################# '## 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\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 5.0 Driver};option=16387;server=h50mysql5.secureserver.net;user=xxxx;password=xxxx;DATABASE=xxxx;" '##MySQL w/ MyODBC v5.0 'strConnString = "DSN_NAME" '## DSN
strTablePrefix = "FORUM_" strMemberTablePrefix = "FORUM_" strFilterTablePrefix = "FORUM_" 'used for BADWORDS and NAMEFILTER tables
'################################################################################# '## If you have deleted the default Admin account, you may need to change the '## value below. Otherwise, it should be left unchanged. (such as with a new '## installation) '#################################################################################
Const intAdminMemberID = 1
'################################################################################# '## intCookieDuration is the amount of days before the forum cookie expires '## You can set it to a higher value '## For example for one year you can set it to 365 '## (default is 30 days) '#################################################################################
Const intCookieDuration = 30
%> <!--#INCLUDE FILE="inc_iconfiles.asp"--> <% '################################################################################# '## Do Not Edit Below This Line - It could destroy your forums and lose data '################################################################################# |
|
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 20 April 2007 : 10:22:41
|
| You didn't tell us what the error was. I must say, however, that I find it hard that Godaddy suppors ASP on a Linux server. They have Windows servers for that purpose... |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
|
webtech
Starting Member
2 Posts |
Posted - 20 April 2007 : 11:17:37
|
I did specify the error in the top of the post! I included the congif setup to show how i set the strings up!
& _ "Database Setup....
" & _ "Your strDBType is not set, please edit your config.asp to reflect your database type." & _ " " & _ "Click here to retry. |
 |
|
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 20 April 2007 : 11:23:25
|
If you're seeing that error message like that then your host does not support ASP.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 20 April 2007 : 11:45:16
|
I'm not so sure, webtech says he's running other ASP applications
Perhaps it's an ODBC thing, or some other weird thing...I don't think he'd get the error message he's getting if the box didn't understand ASP at all.
However - it may be Sun One or something even less compliant. Webtech, what is the server running in order for you to use ASP? Linux does NOT run ASP natively, so you may find this a bit of a struggle... |
 |
|
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 20 April 2007 : 11:49:49
|
What's he's seeing is the error message as it appears in setup.asp; note the &_s and quotations. 
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 20 April 2007 : 12:13:52
|
We don't know what other ASP apps he is using. Maybe they don't use VBScript. There is Linux support to ASP, through something named Apache::ASP or similar, but you can't run Snitz in an Apache web server.
Again, I would find it strange that GoDaddy supported ASP, using a paid ASP support package, in Linux machines, when someone who wants to run ASP can simply resort to their Windows servers. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 20 April 2007 : 16:26:27
|
quote: Originally posted by Shaggy
What's he's seeing is the error message as it appears in setup.asp; note the &_s and quotations. 
Smartypants  |
 |
|
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 20 April 2007 : 16:29:10
|
quote: Originally posted by ruirib
We don't know what other ASP apps he is using. Maybe they don't use VBScript. There is Linux support to ASP, through something named Apache::ASP or similar, but you can't run Snitz in an Apache web server.
Again, I would find it strange that GoDaddy supported ASP, using a paid ASP support package, in Linux machines, when someone who wants to run ASP can simply resort to their Windows servers.
That's likely to be it - I tried Apache::ASP once, and found it only an ASP filter in name, it was too funky for me to be bothered translating everything. Sun One has some oddities with line breaks and spacing, but offers far more hope... |
 |
|
| |
Topic  |
|