ReceiveHeader : Net packets out of order : received[0], expexted[1]
ReceiveHeader : Net packets out of order : received[0], expexted[1]
some times I get the error message
ReceiveHeader : Net packets out of order : received[0], expexted[1]
My software then stops working
any ideas ?
- Exact version of Delphi : Delphi 7.0 (Build 8.1) Enterprise
- Exact version of MyDAC430d7.exe
- Exact version of MySQL version 5.0.18-win32
ReceiveHeader : Net packets out of order : received[0], expexted[1]
My software then stops working
any ideas ?
- Exact version of Delphi : Delphi 7.0 (Build 8.1) Enterprise
- Exact version of MyDAC430d7.exe
- Exact version of MySQL version 5.0.18-win32
-
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59
Swierzbicki is right. This information isn't enough. First of all please check if this problem appears if you don't use Direct mode. Try to determine what component causes this error (MyQuery, MyCommand etc.), what queries are you executing when this error happens (single or multiple), how much times do you call Execute method without changing SQL property. But the best of all would be sending us complete simple example that demonstrates this error.
Re: ReceiveHeader : Net packets out of order : received[0], expexted[1]
Just an hint:CFaiga wrote:some times I get the error message
ReceiveHeader : Net packets out of order : received[0], expexted[1]
My software then stops working
any ideas ?
I got this problem when I forgot the same connection inside different thread ( maybe a global connection or just one connection passed as parameter ).
Only a connection in the main program, called by a timer or inside the ActionList.Update method lead to this problem.
I hope this should help
If you work with threads, you should use a connection for each thread. MyDac isn't thread-safe, this is probably what induces your problem.
Part of my system is running under Midas
I only have one connection to the database
As the MyDac isn't thread-safe are rthey compatable with Midas ?
what must be done to make them thread safe ?
> As the MyDac isn't thread-safe ...
MyDAC can work in multithreaded applications, so it is thread safe. But the restriction is that you cannot use one component for more than one thread simultaneously.
> are rthey compatible with Midas ?
Yes, MyDAC is compatible with Midas. Please see Midas demo for example.
> what must be done to make them thread safe ?
In your case using one instanse of TMyConnection per thread must be helpful.
MyDAC can work in multithreaded applications, so it is thread safe. But the restriction is that you cannot use one component for more than one thread simultaneously.
> are rthey compatible with Midas ?
Yes, MyDAC is compatible with Midas. Please see Midas demo for example.
> what must be done to make them thread safe ?
In your case using one instanse of TMyConnection per thread must be helpful.
Using MIDAS with MyDac
Antaeus wrote:> As the MyDac isn't thread-safe ...
MyDAC can work in multithreaded applications, so it is thread safe. But the restriction is that you cannot use one component for more than one thread simultaneously.
With this limitation
> you can only use one component per thread simultaneously.
In my MIDAS App I have more than one TRemoteDataModule (RDM)
Does this mean I need a Connection for each RDM ?
i HAve the same
i'm getting in both DBS 2006 and 2007.
ReceiveHeader : Net packets out of order : received[0], expexted[1]
this is mainly when i use Delete SQL and in Disconnect mode
it's very hard to reproduce but for sure there is a problem here and it very annoying.
ReceiveHeader : Net packets out of order : received[0], expexted[1]
this is mainly when i use Delete SQL and in Disconnect mode
it's very hard to reproduce but for sure there is a problem here and it very annoying.
I could not reproduce the problem.
Please try to make a small application that demonstrates it and send it to me at evgeniyD*crlab*com; include script to create and fill table.
Also supply me the following information:
- exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor;
- exact version of MySQL server and MySQL client. You can see it in the Info sheet of TMyConnection Editor.
Please try to make a small application that demonstrates it and send it to me at evgeniyD*crlab*com; include script to create and fill table.
Also supply me the following information:
- exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor;
- exact version of MySQL server and MySQL client. You can see it in the Info sheet of TMyConnection Editor.
this become a standard answer guys,
we are you customers not your QA team.
if i could reproduced it each time i would send it already but not, we are handling very complex systems so put an application is not feasible.
couple hints:
1. it happened when i try to delete from already empty table ( no all the time)
2. this is happening in Execute command in TMYQuery
3. it's not happening in version 4
thanks for understanding.
we are you customers not your QA team.
if i could reproduced it each time i would send it already but not, we are handling very complex systems so put an application is not feasible.
couple hints:
1. it happened when i try to delete from already empty table ( no all the time)
2. this is happening in Execute command in TMYQuery
3. it's not happening in version 4
thanks for understanding.