QueryTask Error on Joined Layer in Map Service

Discussion created by u0281276 on Feb 9, 2011
Latest reply on Mar 27, 2012 by lesserj
I have a map service with a layer that is joined to an external SDE database. When I try to perform a query through the services directory I get the error message, "Unable to perform query. Please check your parameters." The server logs two error messages, "General GeoDatabase Error." & "Method failed.HRESULT = 0x80070057 : The parameter is incorrect. ."

Here is my test:'BILL+BARRETT+CORP'&returnGeometry=true&outSR=&outFields=&f=html

Just wondering if anyone else has had this problem.