What is on line blah blah blah?
If it's a line with a path and filename on it, rem it out put in a print line to display what path and filename is on that line and a Wait Key - so you know exactly what it is that DB is actually trying to load.
The chances are you are not using relative paths and when the exe is compiled with the media, the filename doesn't exist anymore at that original location.
For this reason, you should avoid loading media from locations like My Documents for example. Move them into a Media folder inside your project directory instead. Then, everything is loaded from there using, 'Media\Filename'.
TDK