
06-16-2006, 08:14 PM
|
|
Junior Contributor
|
|
Join Date: Mar 2006
Posts: 370
|
|
"Disk Error"
|
Ok, this will probably be vague, but I will give it a shot.
I have a database connection string that links me to my database. It all works great...but I found a bug. My app shows a dialog. In the dialog, you select a picture file, and it will save it in a set location. Later, I can view the pictures. Everything works...BUT, when I get a picture off a floppy disc, take the disc out....... the next time I try to pull up a picture, I get "Disk Error". It refers to the databasecommand.executereader() after the connection string. Apparently, the connection string somewhow changed after the picture was taken from the floppy. When I take it out and then use the app, it tries to access the floppy. Funny thing is the datapath on the file and the pic were saved in the correct location on my computer, so why would it even try this? Now, if I leave the disk in the entire time, it will work like normal...but it accesses the floppy everytime I view a picture. If anyone has the slightest idea as to why this may happen, please tell me. I can't figure this out. Thanks
|
|