Home > database >  PB SQL SERVER client connection problems
PB SQL SERVER client connection problems

Time:09-24

PB + SQL SERVER program, the client logs in, the ini file can sometimes use IP address to login, sometimes not, why?

CodePudding user response:

Used when the configuration of the ODBC data source also encounter this problem, has nothing to do with the program, related to computer systems and networks,

CodePudding user response:

Agent service start??

CodePudding user response:

Should be network problems, not is to test the network, the network is normal,

CodePudding user response:

Using the ini file you must pay attention to get the full path to the ini

1. Such as Setup. Ini in the current program directory, in the program you have no direct use ProfileInt (" Setup. Ini, "section, the key, the default) code

2. To use a similar "d: \ myapp \ setup ini" that the full path

3. Because you use the relative path, when using the program itself will automatically switch to the full path, he can directly use GetCurrentDirectory () + the name of the ini know GetCurrentDirectory () will change

CodePudding user response:

Written in what INI, the registry is not such a trouble,

CodePudding user response:

Or the cause of the INI file
  • Related