Hello guys, i am using this string to connect to our iseries database from a asp.net c# application:
connectionString="DataSource=192.9.200.1; UserID=xxx; Password=xxx; ConnectionTimeout=35; DefaultCollection=LIBBF; LibraryList=LIBBF, LIBBFINV, PRODUCTEST;"
When the app runs the first time in a day and does an open() to the connection, it takes about 2 minutes to connect. After that, it doesn't matter if i wait some hours or even stop the webserver, it loads quickly.
Is there some tweaking i can do to the connection to make it connect quicker the first time ?
connectionString="DataSource=192.9.200.1; UserID=xxx; Password=xxx; ConnectionTimeout=35; DefaultCollection=LIBBF; LibraryList=LIBBF, LIBBFINV, PRODUCTEST;"
When the app runs the first time in a day and does an open() to the connection, it takes about 2 minutes to connect. After that, it doesn't matter if i wait some hours or even stop the webserver, it loads quickly.
Is there some tweaking i can do to the connection to make it connect quicker the first time ?
Comment