Query where statement error

420
1
03-01-2013 01:36 PM
DonCaviness
New Contributor III
I have run into an issue trying to perform a query on a service using a where query expression.  I am trying to query a text field in the service based on user input in a textbox.  This is a query that is working (index Like '%house%').  This query returns all features that have house in the index field.  The error I'm getting is when the query is (index Like '%1421%') or something similar with numbers.  The query is also working on expressions similar to this (index Like '%house 1421%').  I believe the errors I'm getting has to do with url encoding but I'm not positive.  Does anyone know of a work around to this error I'm getting?
0 Kudos
1 Reply
DonCaviness
New Contributor III
It turns out it is not the code but the server.  I have tried the exact same code against a service running on another server and it works perfectly.  So, does anyone have any ideas what might be causing an issue with the server? I know this isn't that type of forum but some of you may have run into this problem before.
0 Kudos