Three-tier structure: a small question about automatically starting the Application Service of the server.

Source: Internet
Author: User
Three-tier structure, a small problem in automatically starting the Application Service of the server. Ask prawn Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiNetwork/html/delphi_20061212143313139.html
The client communicates with the application server through the iappserver interface, socketconnetion, and clientdateset.
The application server uses remotedatamodule and datesetprovider.
After scktsrvr.exe is started (copied from the Delphi7 installation directory ),
1. If you first start the Application Server ProgramThe client connection and data access are normal (normal)
2. if you start the client first, the application server automatically starts and closes the application together with the closing of the connected client. (This is okay. The key is as follows) but data access is not allowed, prompting '% 1 cannot be found. '(abnormal)

How can I enable the automatically started application server to interact with data normally? Thank you.
If you are not clear about the first question, please forgive me.

I have never met you in that situation! It may be an error in your server or client program.

The most serious problem I have encountered is that the connection between the client and the server cannot be disconnected as the client is closed, occupying a large amount of resources, resulting in low server efficiency.

The TCP/IP connection is normal. The connection information of the client is displayed in scktsrvr.exe, that is, when the data is accessed, the system prompts '% 1.' cannot be found .'

If you start the service first, you will not be able to solve this problem.

I have never encountered this problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.