public Stream RetrieveFile()
SqlDataReader reader = command.ExecuteReader(System.Data.CommandBehavior.SequentialAccess);
You cannot declare a method to say that it returns a
object, and then try to return a
from it. You need to convert the result of the SQL query into a stream, or some other object that the caller can send from the web service.