Hello Seingalt,
Welcome to the forum.
We need more information especially the source code. If you're not willing to publicize your project, you can write a test project that can produce the problem.
Copy all the necessary files including the database to a new folder, except: the lib folder, *.bak, *.exe. Compress the folder and send the zip file to the forum.