Google Answers Logo
View Question
 
Q: SNITZ forum on GODADDY.COM. ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: SNITZ forum on GODADDY.COM.
Category: Computers > Internet
Asked by: drappier-ga
List Price: $35.00
Posted: 05 Jul 2005 19:26 PDT
Expires: 04 Aug 2005 19:26 PDT
Question ID: 540383
I need help on how to set up a SNITZ forum on GODADDY.COM.

I uploaded the software and am ready to install the database. If I
type www.(mydomain.com)/forum/setup.asp, I get:
The database needs to be installed!
Click here to create the tables in the database.

Next, I?ll get
Installation of forum-tables in the database., prompting me for
username and password.

And then, I get the ?The Installation has NOT been completed !?, and
?There were 13 Critical Errors...?

I understand this has something to do with write access rights to the
database, but I?m not sure what needs to be done.

Currently, the hosting account is set up as ASP, type ?MS SQL?

Config.asp right now says: strDBType = "mysql"

I have tried the Access option on config,asp, but could not get to work it either.

I need a step-by-step walkthrough for this, so please be patient.
Please don't answer until you are fairly confident that the board will
work.

Generous tip if mission accomplished.

Request for Question Clarification by sublime1-ga on 05 Jul 2005 23:18 PDT
drappier...

I can't be sure if this is relevant at this point, but
this post on the Snitz Forum FAQs might be of interest:

"In order to install Snitz Forums using SQLServer or mySQL,
 start setup with the following:

 http://www.yourserver.com/forum/setup.asp?RC=5

 Follow the instructions from there."

From:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=16411

sublime1-ga

Clarification of Question by drappier-ga on 06 Jul 2005 17:12 PDT
Hi sublime1,

I tried that, and still get 'There were 13 Critical Errors...'

It could be that the standard Snitz script needs to be modified to
accommodate some Godaddy specifications, or that I need to create a
database on Godaddy's windows hosting account.

Request for Question Clarification by sublime1-ga on 06 Jul 2005 19:45 PDT
I wonder, since your GoDaddy account is described as MS SQL,
whether you need to tailor the installation for that. You
note that config.asp says "strDBType = 'mysql'", and, while
I'm not clear on the significance of that, the difference
makes me wonder. I wasn't able to find anything about the
config.asp file on the Snitz Forum, and I'm not clear why
your config file would say mysql and not MSSQL, or the 
like.

It seems that GoDaddy hosts SQL Server 2000, which is noted
to be compatible with Snitz, and I assume you've leased an
account which provides this service.

sublime1-ga

Clarification of Question by drappier-ga on 06 Jul 2005 21:33 PDT
My config.asp file looks as follows:

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

I have modified the strConnString to this:

strConnString = "driver={SQL
Server};server=xxx.yyy.zzz.secureserver.net;uid=myUID;pwd=myPWD;database=
dbNameGivenByGodaddy" '## MS SQL Server 6.x/7.x/2000 (ODBC connection)

The xxx.yyy.zzz.secureserver.net address shows up on the Godaddy
screen when setting up databases.

And now the error says:

 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 :
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database
requested in login ' DB_11921'. Login fails.

Request for Question Clarification by sublime1-ga on 06 Jul 2005 22:29 PDT
I've found two strings for use with SQL Server:

'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 = "Provider=SQLOLEDB;Data
Source=SERVER_NAME;database=DB_NAME;uid=UID;pwd=PWD;"
 '## MS SQL Server 6.x/7.x/2000 (OLEDB connection)

These are from a script by Michael Anderson and Pierre Gorissen
on this page:
http://www.aiccw.org/forum/config.asp

Yours resembles the first, though you have inserted a URL for
the SERVER_NAME, and I wonder if simply a name is needed. If
the DB_NAME given by GoDaddy is other than a URL, e.g., it 
would make it seem more likely that only a name is needed for 
the SERVER_NAME, and not a URL. I'm also not sure of the 
function of the _'_ symbol at the beginning of these strings,
and I notice you left it off of mysql in the config.asp file:

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

Are you familiar with the use of _'_ here? Perhaps it needs
to be added in front of the "mysql" entry, as well as the
strConnString entries. I don't believe
it acts to comment out an entry, but if it does, then you 
might want the file to read:

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

...assuming you want to comment out all but what you're using.


Also, based on the script from that page, I wonder if you're not
supposed to comment out unused software in the config.asp file
in the following way:

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

or even

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

both of the above assuming that _'_ does *not* serve to 
comment out an entry.

I'm feeling my way in the dark here, but these sorts of tiny
details can make a world of difference in code. I've set up
a PHP forum before, but this is a different animal, and I've
no personal experience with it. I'm just hoping to trigger an
insight or offer you some possibilities you can experiment with.

sublime1-ga

Request for Question Clarification by sublime1-ga on 06 Jul 2005 23:12 PDT
The more I ponder your last post, the more I'm wondering about
what you said here:

"The xxx.yyy.zzz.secureserver.net address shows up on the Godaddy
 screen when setting up databases."

Do you mean that this is the URL in the browser when setting up
databases, or that this is on the page, and somehow indicated to
be the servername you should use. I have a strong suspicion that
the servername you should use would be your own domain name. This
was the case with the bulletin board that I set up. The server was:

localhost/mysql.MyDomainName.com

Of course, I was using MySQL rather than MSSQL or SQLServer.

See if you can't find something similar on the domain manager
when you log into your account at GoDaddy, under SQL on a menu
somewhere.

Let me know...

sublime1-ga

Clarification of Question by drappier-ga on 07 Jul 2005 20:45 PDT
Thank you so much for your help, sublime1

The apostrophe _'_ is used as a comment.
I uncommented strDBType = "sqlserver" as you suggested, but still get
the same error.

I believe the difference between using an Access database and MySQL is
that the Access database would be uploaded to my domain, while MySQL
would be hosted at the secure Godaddy server secureserver.net
(explained here: http://ftphelp.secureserver.net/hosting_tutorial.html#)
This additional security is the reason why I?d prefer to use MySQL over Access.

Godaddy provides me with a link to the database that looks like this:
Some.Random.Characters.Secureserver.Net, and I provide the user name
and password.

So I believe I need to use the full URL in the setup script.

The original setup script looks like this:
http://drappier.tripod.com/config.asp

As recommended by SNITZ, I am using Aranea
(http://www.ornj.net/software/araneae/) to view and edit the script.

And I am supposed to uncomment and edit just a few lines, as explained here:
http://drappier.tripod.com/readme.htm

(the drappier.tripod links are temporary)

It all looks quite straightforward, but this is over my head, I?m afraid?

Request for Question Clarification by sublime1-ga on 07 Jul 2005 22:39 PDT
drappier...

Your last post makes it clear about your choices for the database
address, but you seem to have overlooked what I said about the
server address:

"I have a strong suspicion that the servername you should use
 would be your own domain name. This was the case with the
 bulletin board that I set up. The server was:

localhost/mysql.MyDomainName.com

This is, in fact confirmed in the ReadMe file:

"You will need the following information to connect to
 your database:
 SERVER_NAME: This is usually 'localhost', an IP address
 such as '198.0.1.163' or a server address such as
 'mysql.server.com', depending on your host. This is not
 the url for your website."
http://drappier.tripod.com/readme.htm

As I said before, the address for your SQLServer database
should be noted somewhere on the site where you log in to
manage your GoDaddy account. It's going to be an address
relative to the site on which your forum is hosted, but
independent of the forum itself. So if you're hosting the
forum on drappier.com, it might be, e.g.,

localhost/mysql.drappier.com


Also, in the ReadMe file, they note that you can use either
of the two following scripts for accessing MS SQL, and that
they recommend the first for efficiency:

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)

So, while you indicate you've uncommented the 2nd one,
and clarified the entry you're using for the database,
I believe you're still not using the correct SERVER_NAME,
plus you have the option of using uncommenting the 1st
string above, instead, and seeing if that works.

In summary, continue using the change you made:

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

Then go to your GoDaddy account page and log in to find
out the correct address for your SQL server. Since you
continue to confuse MySQL with MS SQL (= SQL Server),
you might also check to make sure precisely which one
you have available on GoDaddy. If you discover you're
actually using MySQL instead of MS SQL, then make the
appropriate change in commenting the strDBType above.

Then uncomment either of the strConnString strings above,
inserting the SQL server location as follows:

strConnString = "Provider=SQLOLEDB;Data
Source=localhost/mysql.drappier.com;database=Some.Random.Characters.Secureserver.Net;uid=UID;pwd=PWD;"
 '## MS SQL Server 6.x/7.x/2000 (OLEDB connection)

or

strConnString = "driver={SQL
Server};server=localhost/mysql.drappier.com;uid=UID;pwd=PWD;database=Some.Random.Characters.Secureserver.Net"
 '## MS SQL Server 6.x/7.x/2000 (ODBC connection)

Let me know where this takes you...

sublime1-ga

Clarification of Question by drappier-ga on 09 Jul 2005 15:19 PDT
Hi sublime1-ga,

Success!

You were correct with your suspicion that I confused MySQL with MS
SQL, when I uncommented the MySQL strDBType and then used an MS SQL
strConnString (My account at GoDaddy supports both types, so I
experimented with both).

In addition, though, Godaddy seems to be different from the norm, as
they do not accept ?localhost? as server name. Instead, I had to use
an IP address they provided and that is outside of my domain.

So the entries that ended up working for me are:

strDBType = "mysql"

strConnString = "driver={MySQL ODBC 3.51
Driver};option=4;server=mysql17653.secureserver.net;user=UID;password=PWD;DATABASE=DB_NAME;"
'##MySQL w/ MyODBC v3.51

(I slightly changed the name of the server)

Many thanks for your help. You can answer the question now.
Answer  
Subject: Re: SNITZ forum on GODADDY.COM.
Answered By: sublime1-ga on 09 Jul 2005 18:38 PDT
Rated:5 out of 5 stars
 
drappier...

Excellent! I'm so glad our extended dialog proved successful
in clarifying the changes needed to make your forum work!

I will reiterate the more relevant points of my input here,
for the sake of future readers:

-----------------------------------------------------------

I wonder, since your GoDaddy account is described as MS SQL,
whether you need to tailor the installation for that. You
note that config.asp says "strDBType = 'mysql'", and, while
I'm not clear on the significance of that, the difference
makes me wonder. I wasn't able to find anything about the
config.asp file on the Snitz Forum, and I'm not clear why
your config file would say mysql and not MSSQL, or the 
like.

It seems that GoDaddy hosts SQL Server 2000, which is noted
to be compatible with Snitz, and I assume you've leased an
account which provides this service.

...

I've found two strings for use with SQL Server:

'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 = "Provider=SQLOLEDB;Data
Source=SERVER_NAME;database=DB_NAME;uid=UID;pwd=PWD;"
 '## MS SQL Server 6.x/7.x/2000 (OLEDB connection)

These are from a script by Michael Anderson and Pierre Gorissen
on this page:
http://www.aiccw.org/forum/config.asp

Yours resembles the first, though you have inserted a URL for
the SERVER_NAME, and I wonder if simply a name is needed. If
the DB_NAME given by GoDaddy is other than a URL, e.g., it 
would make it seem more likely that only a name is needed for 
the SERVER_NAME, and not a URL. I'm also not sure of the 
function of the _'_ symbol at the beginning of these strings,
and I notice you left it off of mysql in the config.asp file:

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

Are you familiar with the use of _'_ here? Perhaps it needs
to be added in front of the "mysql" entry, as well as the
strConnString entries. I don't believe it acts to comment
out an entry, but if it does, then you might want the file
to read:

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

...assuming you want to comment out all but what you're using.


I'm feeling my way in the dark here, but these sorts of tiny
details can make a world of difference in code. I've set up
a PHP forum before, but this is a different animal, and I've
no personal experience with it. I'm just hoping to trigger an
insight or offer you some possibilities you can experiment with.

...

I'm wondering about what you said here:

"The xxx.yyy.zzz.secureserver.net address shows up on the Godaddy
 screen when setting up databases."

Do you mean that this is the URL in the browser when setting up
databases, or that this is on the page, and somehow indicated to
be the servername you should use. I have a strong suspicion that
the servername you should use would be your own domain name.
This was the case with the bulletin board that I set up. The server
was:

localhost/mysql.MyDomainName.com

This is, in fact, confirmed in the ReadMe file:

"You will need the following information to connect to
 your database:
 SERVER_NAME: This is usually 'localhost', an IP address
 such as '198.0.1.163' or a server address such as
 'mysql.server.com', depending on your host. This is not
 the url for your website."
http://drappier.tripod.com/readme.htm

Of course, I was using MySQL rather than MSSQL or SQLServer.

See if you can't find something similar on the domain manager
when you log into your account at GoDaddy, under SQL on a menu
somewhere.

It's going to be an address relative to the site on which your forum
is hosted, but independent of the forum itself. So if you're hosting the
forum on drappier.com, it might be, e.g.,

localhost/mysql.drappier.com

...

Also, in the ReadMe file, they note that you can use either
of the two following scripts for accessing MS SQL, and that
they recommend the first for efficiency:

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)

So, while you indicate you've uncommented the 2nd one,
and clarified the entry you're using for the database,
I believe you're still not using the correct SERVER_NAME,
plus you have the option of using uncommenting the 1st
string above, instead, and seeing if that works.

In summary, continue using the change you made:

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

Then go to your GoDaddy account page and log in to find
out the correct address for your SQL server. Since you
continue to confuse MySQL with MS SQL (= SQL Server),
you might also check to make sure precisely which one
you have available on GoDaddy. If you discover you're
actually using MySQL instead of MS SQL, then make the
appropriate change in commenting the strDBType above.

Then uncomment either of the strConnString strings above,
inserting the SQL server location as follows:

strConnString = "Provider=SQLOLEDB;Data
Source=localhost/mysql.drappier.com;database=Some.Random.Characters.Secureserver.Net;uid=UID;pwd=PWD;"
 '## MS SQL Server 6.x/7.x/2000 (OLEDB connection)

or

strConnString = "driver={SQL
Server};server=localhost/mysql.drappier.com;uid=UID;pwd=PWD;database=Some.Random.Characters.Secureserver.Net"
 '## MS SQL Server 6.x/7.x/2000 (ODBC connection)

...

Since you discovered that GoDaddy is hosting MySQL, rather
than MS SQL, you uncommented and made appropriate changes
to your strDBType and strConnString entries and the problem
was resolved!

May your forum be a great success, and a source of much 
satisfaction to you and its members!

sublime1-ga
drappier-ga rated this answer:5 out of 5 stars and gave an additional tip of: $15.00
Thank you for the handholding during this journey!

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy