12
Answers

Failed to convert parameter value from a String to a Byte[].


hi,
in cs page i am going to insert some values and the coversion of bytefile to the sql table using stored procedure. i assign the value to the parameter.when i execute it
cmd.executenonquery()//Failed to convert parameter value from a String to a Byte[].
this error will occur.How to solve this

Answers (12)

0
Photo of Karthik Elumalai
NA 5.4k 309.3k 8y
http://www.c-sharpcorner.com/blogs/fix-to-retrieving-the-com-class-factory-for-component-with-clsid-error
Hope the above blog ,will solve your problem