Here is what my server is telling me, if any of this info is sensitive
and can be used by hackers...please edit it out for me...but i withheld
the username/password...i can log in through "open manager" option in
my databases using this username/password to see the "tree" for my
databases - so that works...but here is the information the server is
giving me and i'm pluggin it into sql_server_connection.asp:
Database Name: DB_17542
Type: MS SQL
Status: Active
Host Name: <edit>
Size: 0mb
| Server name : |
whsql-v03 |
| Server version : |
Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: )
|
| Language : |
us_english |
Now....i have not created my own database or modified
anything other than the SQL_server_connection.asp page and then
reloaded it up to my ftp, i simply used the one they assigned to me
(DB_17542)...and put in the four things it required in between the
green quotation marks...saved it...ran the page
sql_server_connection.asp file on ie..and it said done...then tried to
run the mssql_server_setup.asp file and got the following...
Error Connecting to database on SQL Server
Check the following is set up and correct:-
SQL Server User Name SQL Server Password Name of the SQL Server Database name set up by you on the server Empty Database set up by you on the SQL Server
Check also that you have entered the correct details in the file 'SQL_server_connection.asp' found in the admin directory. |
Here is specifically what i put in the sql_server_connection.asp page..
strSQLServerName = "whsql-v03" 'Holds the name of the SQL Server
strSQLDBUserName = "username(same as godaddy to enter database tree)" 'Holds the user name (for SQL Server Authentication)
strSQLDBPassword = "password(same as godaddy to enter database tree)" 'Holds the password (for SQL Server Authentication)
strSQLDBName = "DB_17542" 'Holds name of a database on the server
'Please note the forum has been optimised for the SQL OLE DB Driver using another driver
'or system DSN to connect to the SQL Server database will course errors in the forum and
'drastically reduce the performance of the forum!
'The SQLOLEDB driver offers the highest performance at this time for connecting to SQL Server databases from within ASP.
'MS SQL Server OLE Driver (If you change this string make sure
you also change it in the msSQL_server_setup.asp file when creating the
database)
strCon = "Provider=SQLOLEDB;Server=" &
strSQLServerName & ";User ID=" & strSQLDBUserName &
";Password=" & strSQLDBPassword & ";Database=" &
strSQLDBName & ";"
Edited by dj air - 15 September 2005 at 1:52pm