Quantcast
Channel: SCN: Message List - SAP Advantage Database Server
Viewing all articles
Browse latest Browse all 997

Slow startup on Windows Server 2008

$
0
0

Hello,

 

I have an application that has been working great until the customer moved it to Windows Server 2008. It only uses ADS_LOCAL_SEVER to access a table. It uses Advantage 10.1. I created some test code that simply tries to open a local connection.  It is taking over 90 seconds to complete the request. From other posts I saw other users having this issue and mentioned that IGMP must be turned on and that Power Management must be set to "High Performance".  I have done both of these to no avail.  What else can I try?

 

My ADS.INI

 

[SETTINGS]

MTIER_LOCAL_CONNECTIONS=1

ADS_SERVER_TYPE=1

 

 

My code snippet:

 

      myConnection := TAdsConnection.Create(nil);

      myConnection.AdsServerTypes := [stADS_LOCAL];

      myConnection.LoginPrompt := False;

      myConnection.Name := 'requestDb';

      myTable := TAdsTable.Create(nil);

      myTable.DatabaseName := myConnection.Name;

 

      logPath := 'c:\somepath';

 

      myConnection.ConnectPath := logPath;

      if myConnection.IsConnected = False then myConnection.IsConnected := True;

      myConnection.IsConnected := False;



The code is hanging a long time on myConnection.IsConnected := True;


Viewing all articles
Browse latest Browse all 997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>