Hi there...Did I read this correctly, are you trying to insert an image into a field defined as a long type in SQL Server? If you need to store an image in the DB, use BLOB type. There are several discussion threads here discussing that topic.
Jason
http://www.k2distillery.com/