I'm not sure what's going on here. I have a tool that uses a boolean value that if checked will performe some simple tasks( Select By Attribute, Copy Features). This tool is published (in Async mode) and I can use it in arcmap as a geoprocessing service. When I bring this tool into the Viewer, it will execute successfully and add the output to the TOC. However, the output dataset is empty. If I remove the Select By Attribute tool, leaving Copy Features tools, the geoprocessing service works fine. Is it somehow not performing the selection? But then why would it work in arcmp as a geoprocessing tool?
Any thoughts?
EDIT: I removed the Select By Attribute tool and simply used the Query Builder function in the Make Feature Layer Tool. Again, once published it works as a geoprocessing service in arcmap but does not in the Viewer.
ArcGIS 10.0
ArcGIS Server 10.0
ArcGIS Viewer for Silverlight 3.1