使用Advantage.Data.Provider .NET应用程序中不使用广告服务器设置 [英] Ads Server settings not used in .net application using Advantage.Data.Provider

查看:155
本文介绍了使用Advantage.Data.Provider .NET应用程序中不使用广告服务器设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在连接到广告服务器与.NET应用程序使用的优势.NET数据提供程序。

We're connecting to an Ads server with a .net application using the Advantage .NET Data Provider.

的服务器类型=远程。最大。在服务器上的连接被设置为150

The ServerType = REMOTE. The max. connections on the server is set to 150.

当我们从一个客户端连接,我们得到了6303最大的优势数据库服务器连接超时的错误。原来它使用默认50最大。为应用程序的连接。

When we connect from a client we get a "6303 Maximum Advantage Database Server connections exceeded" error. Turns out it uses the default 50 max. connections for an application.

当我们把一个ads.ini文件与.NET应用程序的文件夹(也Advantage.Data.Provider.dll坐)的设置为150 MAX_CONNECTIONS,使用这些设置。

When we place an ads.ini file with MAX_CONNECTIONS set to 150 in the folder of the .net application (where also the Advantage.Data.Provider.dll sits), these settings are used.

它不回落到服务器类型= LOCAL,因为我们通过去除adsloc.dll和adslocal.cfg文件测试这一点。

It doesn't fall back to ServerType = LOCAL, because we tested this by removing the adsloc.dll and adslocal.cfg files.

为什么不AdsConnection使用服务器设置(即150)?

Why doesn't the AdsConnection use the server settings (being 150)?

推荐答案

在客户端和服务器有不同数量允许的连接。他们有单独的设置。

The client and server have a different number of allowed connections. They have separate settings.

的客户端设置限制连接的总数目的客户端应用程序可以打开到一个或多个服务器。

The client side setting limits the total number of connection the client application can open to one or more servers.

在服务器端设置限制连接总数的服务器可以从所有连接的客户开放。

The server side setting limits the total number of connection the server can have open from all connected clients.

在较新的服务器(自10.0?)的连接数是软限制,并且可以提高时必要

On newer servers (since 10.0?) the number of connections is a soft limit and may be raised when necessary.

这篇关于使用Advantage.Data.Provider .NET应用程序中不使用广告服务器设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆