godaddy sql connection string

Posted on 2009-04-22
Medium Priority
Last Modified: 2012-05-06
Trying To  make a SQL Connection String With The Following code (MM_ForoMembers_STRING = "dsn=mssql_data.dsn;uid=USER;pwd=pass;"
) but is not working with Goddady Hosting
Dim sErrMsg 
sErrMsg= "<b> Si Ves Esta Pagina Tu Quiniela Fue Metida." & chr(10) 
sErrMsg= sErrMsg & "Estoy trabajando en este error." & chr(10) 
sErrMsg= sErrMsg & "Buena Suerte, Puedes Regresar A la Pagina principal. </b>" 
Dim MM_ForoMembers_STRING
MM_ForoMembers_STRING = "dsn=mssql_data.dsn;uid=USER;pwd=pass;"
if request.QueryString("a")="1" then 
	set Command1 = Server.CreateObject("ADODB.Command")
	Command1.ActiveConnection = MM_GamesOmar_STRING
	dim fArray
	fArray = Session("SessForecast")
	uArray = Session("SessUserInfo")
	'response.write uArray(0) & " **" &  uArray(1)
	dim sData
	sData = " " 
	dim sMember 
	for i = 0 to 8
		Set Recordset1 = Server.CreateObject("ADODB.Recordset")
		Set rsGameInfox = Server.CreateObject("ADODB.Recordset")
		Recordset1.ActiveConnection = MM_ForoMembers_STRING
'		Recordset1.Source = "SELECT *  FROM dbo.pgd_Members  WHERE Login = '" & request.Form("Nombre" ) &  "' AND Email = '" & request.Form("Email") & "'"   
		Recordset1.Source = "SELECT *  FROM dbo.pgd_Members  WHERE Email = '" & uArray(1) & "'"

Open in new window

Question by:Windows95
  • 5
  • 3
LVL 31

Expert Comment

by:Wayne Barron
ID: 24212014
see if the following sites will give you some info on your issue.

3rd post on this one

2nd and 3rd links here

Good Luck

Author Comment

ID: 24212162
Forgot To Mention My File is .asp & NOT asp .NET
LVL 31

Expert Comment

by:Wayne Barron
ID: 24212184
That sucks.
I am sorry, my fault.
I knew that 2 of them were .net, but thought that the top one was classic.
So sorry.

Please have a look here for the Version of SQL Server that GoDaddy has.

Once again, I am very sorry for the .net links.

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 24212459
Under The SQL Server Config Godaddy Give You The Diferent Strings For you need to sign in to your account to see this

Driver={SQL Server}; Server=SERVER; Database=DATABASE; Uid=DATABASE; Pwd='your password';

OLE DB, OleDbConnection (.NET):

SqlConnection (.NET):

Publishing Wizard Connection:
LVL 31

Accepted Solution

Wayne Barron earned 1500 total points
ID: 24213408
Taken from the link above that I provided is the same thing.
Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;

LVL 31

Expert Comment

by:Wayne Barron
ID: 24221060
Never got a reply back on the code that I displayed that is the same as what [NEW-CHEF]
Has shown.

Regardless of where you got the code from, you could atleast do a:
[Accept] http:Q_24347856.html?cid=1066#a24212459  (On yours)
[Assisted] http:Q_24347856.html?cid=1066#a224212184 (On Mine)
You do not get points for it, but you Question does show as Answer.

That would be the more reasonable way of doing this.
Due to the fact that my link has the same idential code as what you presented that you got from GoDaddy. AND I presented the link Prior to your presenting your Code resolved.


Author Closing Comment

ID: 31573644
Yes is similar
LVL 31

Expert Comment

by:Wayne Barron
ID: 24221661
Wish you the best with the GoDaddy server.

Author Comments:
Yes is similar

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question