the problem is caused by code order.
the code for inserting the record in the DB is before the code for uploading the file.
move the file upload code:
<%
WA_DFP_SetupUploadStatusStruct "WA_UploadResult1"
If((Request.ServerVariables("Request_Method") = "POST") AND (inStr(Unescape(cStr(Request.ServerVariables("HTTP_REFERER"))),Unescape(Request.ServerVariables("SERVER_NAME")&Request.ServerVariables("SCRIPT_NAME"))) > 0)) Then
WA_DFP_UploadFile "WA_UploadResult1", "Image", "", "../Images/Uploaded_Logos/", "[FileName]", "3", "[FileName]_[Increment]", "1024", "true", "0", "0"
End If
%>
to line 31 so that the file will be uploaded before storing the information in the database.