Select to view content in your preferred language

The function ID is out of range

3694
12
08-07-2012 08:21 AM
Alaind_Espaignet
Emerging Contributor
Hi,

I have code that has been working from ArcObjects v 9.31 through 10.0 for more than a year.
I just rebuilt it for ArcObjects 10.1 and all my feature queries are broken because...

ISQLSyntax.GetSpecialCharacter(esriSQL_WildcardManyMatch) returns null
ISQLSyntax.GetSpecialCharacter(esriSQL_DelimitedIdentifierPrefix) returns empty string

ISQLSyntax.GetSpecialCharacter(esriSQL_DelimitedIdentifierSuffix) throws a COM exception with message

The function ID is out of range.

The source is esriDataSourceGDB.SdeWorkspace.1
Error code -2147215854

Is anyone seeing the same behavior?
Is this something that is known to be broken in ArcObjects 10.1?
0 Kudos
12 Replies
LauraSilsbee1
Deactivated User
We have a layer in 9.3 with joined tables that started throwing a drawing error pop-up in ArcMap 9.3 stating "One or more layers failed to draw. The field is not nullable." This happens when someone zooms in close enough for labels to turn on. There are no null values in any of the non-nullable fields in either the feature class or the joined tables, and all of the features do appear to draw.

I opened the same layer in ArcMap 10.1 and got the drawing error "The function ID is out of range" once I hit the scale where the labels turn on.  I went back to the original feature class and set the label specifications to the same parameters and I am not getting an error, so in our case, it does seem to have something to do with the layer that has joined tables rather then hitting the SDE 9.3 database from ArcMap 10.1.
0 Kudos
WangYuxiang
Deactivated User
Hi,

I have code that has been working from ArcObjects v 9.31 through 10.0 for more than a year.
I just rebuilt it for ArcObjects 10.1 and all my feature queries are broken because...

ISQLSyntax.GetSpecialCharacter(esriSQL_WildcardManyMatch) returns null
ISQLSyntax.GetSpecialCharacter(esriSQL_DelimitedIdentifierPrefix) returns empty string

ISQLSyntax.GetSpecialCharacter(esriSQL_DelimitedIdentifierSuffix) throws a COM exception with message

The function ID is out of range.

The source is esriDataSourceGDB.SdeWorkspace.1
Error code -2147215854

Is anyone seeing the same behavior?
Is this something that is known to be broken in ArcObjects 10.1?


Same problem occured,who can help me�?
0 Kudos
EmadAl-Mousa
Deactivated User
Per ESRI, this is a bug and has the following (Bug NIM-086535)

http://support.esri.com/en/bugs/nimbus/TklNMDg2NTM1

so, either user "direct connection" or don't User ArcGIS version 10.1
0 Kudos