Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread C0000006 error codes on Delphi5 network application using Client/Server
Fri, Sep 27 2019 4:47 AMPermanent Link

Kees Lagendijk

Hello everyone,

We are receiving random error codes "C0000006" with our Delphi5 Application using DBISAM 3.24 by our customers. The error always occurs totally random, at random times on random locations by random users.They all have our Delphi5 application running on a networkshare with the Client/Server installed on the server computer that handles the database connections.

We tried several things to solve this, but none of them has worked so far. Does anyone have any experience on how to solve this?

I Would be really grateful to know


Bart
Fri, Sep 27 2019 9:25 AMPermanent Link

Raul

Globestar Systems

Team Elevate Team Elevate

On 9/27/2019 4:47 AM, Kees Lagendijk wrote:
> Hello everyone,
>
> We are receiving random error codes "C0000006" with our Delphi5 Application using DBISAM 3.24 by our customers. The error always occurs totally random, at random times on random locations by random users.They all have our Delphi5 application running on a networkshare with the Client/Server installed on the server computer that handles the database connections.
>
> We tried several things to solve this, but none of them has worked so far. Does anyone have any experience on how to solve this?
>
> I Would be really grateful to know
>

Bart,

C0000006 is Windows OS error and more specifically looks to be In-page
I/O error.

This most likely is caused by the fact that you're app is loaded from
network share and at some point windows needs to page in more of the exe
but there is a problem with network connection to the share.

In your case i would suggest setting the IMAGE_FILE_NET_RUN_FROM_SWAP PE
Flag on exe

for example

https://stackoverflow.com/questions/13588057/how-does-image-file-net-run-from-swap-in-an-exe-file-affect-runtime-libraries

Raul





Mon, Sep 30 2019 3:57 AMPermanent Link

Kees Lagendijk

Raul wrote:

>Bart,
>
>C0000006 is Windows OS error and more specifically looks to be In-page
>I/O error.
>
>This most likely is caused by the fact that you're app is loaded from
>network share and at some point windows needs to page in more of the exe
>but there is a problem with network connection to the share.
>
>In your case i would suggest setting the IMAGE_FILE_NET_RUN_FROM_SWAP PE
>Flag on exe
>
>for example
>
>https://stackoverflow.com/questions/13588057/how-does-image-file-net-run-from-swap-in-an-exe-file-affect->runtime-libraries
>
>Raul

Hello Raul,

The suggestion you have send is something I already tried to apply. We have a Delphi5 application and setting that flag proves to be quit difficultly and impossible. I downloaded a program called "EditBin" to set the PE flags on the finished ".exe". However, this did not solve the problem.

We also tried to bypass the share by using the direct IP address to the location of the program. This doesn't work either. Im going to try this again but this time I will also try to set the flag on the "DBISAM_server.exe". If you have any idea on how to solve this in Delphi5 I would love to know

Thank you for your time.


Bart
Image