I have a problem like this. Please help.An error occurred while reading from the store provider's data reader.See the inner exception for detalis

please click on detailed report tab and paste what was in the error.

Hello, the problem is caused by SQL Server Compact 4.0. This error occurs when the memory reaches 257 MB. When the low memory SQL sdf file is replaced, the program works normally. I have written various SQL Server 2012 Express updates, but the program did not work there either.
Also, in the software, they say that when written in SQL Server CE type, it has 257 MB memory, and when written in BE type, it has 4 GB memory. However, I couldn’t understand how to do it. Please, can someone explain this to me?


We no longer support CE. or Version 4. Update to version 5 and SQL Server Express for the current supported version.

I understand you. If there is anything to temporarily fix the v4 sql server memory problem, please tell me. And how to integrate v4 memory with v5. Thank you very much in advance.

You’ll have to get V4 running off of SQL Server before migrating to V5.

I found this thread, perhaps it will help (backup database file somewhere before attempting anything):

I have upgraded to samabpos v5. But I want to solve the problem of v4 as well.I will check this out, thank you very much for your attention.

There may only be 3 or 4 active users here who worked with v4 and I’m sure the dev team hasn’t touched that code in the better part of a decade.

I am not one of those 3 or 4.

If the issue seems to be with the size of the SDF, then migrating to full SQL Server may be what’s needed.