If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > MDAC 2.6 with SQL Server 7 clustered (delay in connect)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-21-03, 16:20
SushiFrito SushiFrito is offline
Registered User
 
Join Date: May 2003
Location: Sao Paulo, Brazil
Posts: 6
MDAC 2.6 with SQL Server 7 clustered (delay in connect)

After I installed the MDAC 2.6 in COM+ Server, I'd a problem with a long delay to connect the COM+ with SQL 7 clustered.

I had some tests, explained below:

* COM+ in server 1
* SQL Server in server 2

1) Try COM+ connect in SQL Server with thrust authentication
ConnectionString: " Provider=SQLOLEDB;Server=SERVER1;Database=master;P
ersist Security Info=False;Integrated Security=SSPI"

(this SQL Server is Sort Order 52)
--> connect in 10 seconds


2) try COM+ connect in SQL Server with SQL authentication
ConnectionString: " Provider=SQLOLEDB;Server=SERVER1;Database=master;P
ersist Security Info=False"

--> connect in 0,1 seconds


3) Try COM+ connect in SQL Server with thrust authentication
ConnectionString: " Provider=SQLOLEDB;Server=SERVER2;Database=master;P
ersist Security Info=False;Integrated Security=SSPI"

(this SQL Server is Sort Order 54)
--> connect in 0,1 seconds



CODE:

Dim cnnData As ADODB.Connection

Set cnnData = New ADODB.Connection

Trace "Before cnnData.Open"

cnnData.Open "Provider=SQLOLEDB;" _
& "Server=SERVER1;" _
& "Database=master;" _
& "Persist Security Info=False;" _
& "Integrated Security=SSPI"

Trace "After cnnData.Open"

cnnData.Close
set cnnData = Nothing


All answers will be welcome.
Thanks,
Sushi
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On