Author: nadasgh | Posted on: 7/11/2008 5:49:27 AM | Views : 584

Hi, PLease can anyone help me in solving my problem..

Thanks in advance...

I am using asp.net 2.0 c# , the project that I am working on is uploading a document and saving it into database (SQL Server 2005).

The error message that i am getting when executing the query in the InsertFile function and the UpdateFile function is:" No mapping exists from object type System .Web.HttpinputStream to a known Managed provider native type"

I am using layering technique so i have a Class library that contain the functions that connect to the database and do all the transactions.
Function:
public int InsertFile(String FileName, Stream upload) Go to the complete details ...