![]() |
#9 |
Участник
|
Цитата:
[spoiler] Код: <?xml version="1.0" encoding="UTF-8"?> <configuration> <appSettings> <!-- Name of the machine hosting the Microsoft Dynamics Nav Server to be connected to. --> <add key="Server" value="localhost"></add> <!-- Name of the Microsoft Dynamics NAV Server instance to connect to (for client) or listen on (for server). --> <add key="ServerInstance" value="DynamicsNAV"></add> <!-- The listening TCP port for the Microsoft Dynamics NAV Server. This is part of the server's URL. Valid range: 1-65535 --> <add key="ServerPort" value="7046"></add> <!-- The security services used to protect the client/server data stream. Valid options: EncryptAndSign, Sign, None --> <add key="ProtectionLevel" value="EncryptAndSign"></add> <!-- Collection of past servers that have been connected to. This setting should not be edited by the user. --> <add key="UrlHistory" value=""></add> <!-- Threshold for when to start compressing data sets to avoid that they consume prohibitive amounts of memory. --> <add key="CompressionThreshold" value="64"></add> <!-- Sets the default size of a chunk, in KB. Should be a value between 4 and 80. --> <add key="ChunkSize" value="28"></add> <!-- Specifies whether NTLM fallback is permitted when autenticating. To require Kerberos authentication, set this value to false --> <add key="AllowNtlm" value="true"></add> <!-- Specifies whether the service requires an SPN. If true, the connection will only be made to a service with an SPN <SerververInstance>/<Server>:<ServerPort> If false, the connection will be attempted to a service with or without an SPN. --> <add key="ServicePrincipalNameRequired" value="False"></add> <!-- Specifies the maximum amount of time to establish a connection to the server. Time span format: [dd.]hh:mm:ss[.ff] dd: days hh: hours mm: minutes ss: seconds ff: fractions of a second Or "MaxValue" to indicate there is no timeout. --> <add key="OpenConnectionTimeout" value="00:00:30"></add> <!-- The type of client credential used for authentication. (Values are Windows/UserName) --> <add key="ClientCredentialType" value="Windows"></add> <!-- One of the initial checks when a client authenticates a server is to compare the value of the Subject field to the Uniform Resource Identifier (URI) used to contact the service: the DNS of both must match. For example, if the URI of the service is "net.tcp://NavServer.com:7046/DynamicsNav/Service." then the Subject field must also contain the value "NavServer.com". Most commonly, the initialization is "CN" for common name, for example, "CN = NavServer.com". It is also possible for the Subject field to be blank, in which case the Subject Alternative Name field can contain the DNS Name value. The DnsIdentity configuration settings can be used to associate and endpoint with the specified Dns name. --> <add key="DnsIdentity" value=""></add> </appSettings> </configuration> |
|