>How is the file being created? If you're creating it, make sure you're explicitly closing it as well. How is this code being triggered?
>
>Also, I'd suggest putting the Close() in a Finally section of a Try/Catch.
Those files are images that are stored on a server to be used in Web pages in the application. My assumption is that this is a collision and I adjusted it to deal with it in the same way I deal when reading or created a file, thus by implementing a retry mechanism. I will see if that helps.