Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SqlCe : "@Payload : Byte array truncation to a length of 8000 bytes" #136

fredrikjohannesen opened this Issue Oct 29, 2012 · 2 comments


None yet
3 participants


Im using SqlCe 4 as the persistence engine and I´m having problems when trying to commit anything larger than 8000 bytes.

When using SqlCe I think that the SqlDbType.Image type must be explicitly specified on the command parameter even when the column "Payload" in the database is of type Image. In the current implementation DbType.Binary is specified for all command parameters from what I can see.

This old support thread explains the problem:

Anyone else having this problem and are there any workarounds?

Hi frederik,
I have problem to config eventstore to work with SQLCE - (joliver#136) can you share your setup, it looks like it works for you.

Thank you

@damianh damianh was assigned May 9, 2013


damianh commented May 11, 2013

Merged PR #155

@damianh damianh closed this May 11, 2013

@damianh damianh removed their assignment May 4, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment