Advertisement

06.25.2007 at 02:35PM PDT, ID: 22656959
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

SQL 2005 Connection Problem

Asked by sblackford in SQL Server 2005

Tags: , ,

I have a Citrix farm running on 2003 Server with all the latest updates.
I have a SQL box on the same swithc without a firewall between them.
I have both SQL Server 2000 and 2005 installed on the SQL box.
I have a test VB6 program that uses this test connection:

Dim LIBSDSN As String
Dim connLib As New ADODB.Connection
If connLib.State = 1 Then connLib.Close
Err.Clear
LIBSDSN = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Libs;Data Source=" & Trim(Me.txtSvrName) & ";User Id=acs3\administrator;Password=R#queste6"
'LIBSDSN = "Provider=SQLNCLI.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Libs;Data Source=" & Trim(Me.txtSvrName) & ";User Id=acs3\sblackford;Password=123!@#qwe"
connLib.CursorLocation = adUseClient
If connLib.State = adStateClosed Then connLib.Open LIBSDSN
If Err.Number <> 0 Then MsgBox Err.Number & vbCrLf & Err.Description Else  MsgBox "Success"

It works perfectly on the SQL box for both 2000 & 2005, BUT, from the Citrix box it only works correctly on the 2000 instances... I get the old "Server does not exist or access is denied" error.

The 2005 install is the Dev. edition, and I have run:

sp_configure 'remote admin connections', 1;
GO
RECONFIGURE;
GO

and it changed the default from 0 to 1. Stopped the Server and restarted. No success....

HELP!!!


Start Free Trial
[+][-]06.26.2007 at 01:03AM PDT, ID: 19361580

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Server 2005
Tags: 2005, sql, connection
Sign Up Now!
Solution Provided By: imran_fast
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy