<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ORA-00920 errors in ArcGIS Server log files in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/ora-00920-errors-in-arcgis-server-log-files/m-p/626205#M35402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Open the map document (i.e., MXD) for this particular map service and check to see if the layer referenced in the error messages shows a red exclamation mark.&amp;nbsp; If so, then you have a broken data source that needs to be repaired for the map service to stop throwing errors.&amp;nbsp;&amp;nbsp; It looks like the underlying data source for that layer in the map document might be the SY_DES_CLEANSING.Mech_Gritting_CWays_Pri1 table within Oracle.&amp;nbsp; Which user are you using in your ArcSDE connection file for the map document's layer connections?&amp;nbsp; Does that user have permission to see the base table &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;AND&lt;/SPAN&gt;&lt;SPAN&gt; the A, D, S and F tables for that particular object class?&amp;nbsp; If the user does have the right permissions on all 5 tables and/or you are connecting as the schema owner (i.e., SY_DES_CLEANSING), then I'd be curious to know if you are using Oracle Spatial (i.e., SDO geometry) based on the error content.&amp;nbsp; I have heard of a number of issues with successfully getting layers to register with ArcSDE.&amp;nbsp; I know there are many other individuals on these forums with much more Oracle Spatial knowledge than myself.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2013 16:52:31 GMT</pubDate>
    <dc:creator>WilliamCraft</dc:creator>
    <dc:date>2013-09-13T16:52:31Z</dc:date>
    <item>
      <title>ORA-00920 errors in ArcGIS Server log files</title>
      <link>https://community.esri.com/t5/data-management-questions/ora-00920-errors-in-arcgis-server-log-files/m-p/626203#M35400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just had a quick look at our ArcGIS Server log files and seem to have found some errors that relate to getting the data for a particular map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;SEVERE Sep 12, 2013 10:14:21 PM There is an error during the draw Licences (1.) Underlying DBMS error [ORA-00920: invalid relational operator ::SELECT /*+ LEADING INDEX(S_ S1360_IX1) INDEX(SHAPE F1360_UK1) INDEX(LICENCES A1360_IX1) */ SHAPE, IMPACT, OBJECTID ,S_,(2.) eminx,S_,(3.) eminy,S_,(4.) emaxx,S_,(5.) emaxy ,SHAPE,(6.) fid,SHAPE,(7.) numofpts,SHAPE,(8.) entity,SHAPE,(9.) points,SHAPE,(10.) rowid FROM (SELECT /*+ INDEX(SP_ S1360_IX1) */ DISTINCT sp_fid, eminx, eminy, emaxx, emaxy FROM SY_DES_CHYMP_OVERNIGHT,(11.) S1360 SP_ WHERE SP_,(12.) gx &amp;gt;= :1 AND SP_,(13.) gx &amp;lt;= :2 AND SP_,(14.) gy &amp;gt;= :3 AND SP_,(15.) gy &amp;lt;= :4 AND SP_,(16.) eminx &amp;lt;= :5 AND SP_,(17.) eminy &amp;lt;= :6 AND SP_,(18.) emaxx &amp;gt;= :7 AND SP_,(19.) emaxy &amp;gt;= :8) S_ , SY_DES_CHYMP_OVERNIGHT,(20.) LICENCES , SY_DES_CHYMP_OVERNIGHT,(21.) F1360 SHAPE WHERE S_,(22.) sp_fid = SHAPE,(23.) fid AND S_,(24.) sp_fid = SY_DES_CHYMP_OVERNIGHT,(25.) LICENCES,(26.) SHAPE AND (( false ))] [SY_DES_CHYMP_OVERNIGHT,(27.) Licences]. Roadworks2.MapServer VMGISAPP03.CORPOFLONDON.GOV.UK 103800&amp;nbsp; null 5432 12664 DrawGraphicCursor.NextGraphic &lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and also &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;WARNING Sep 13, 2013 12:01:56 AM The Layer:'Precautionary Road Gritting' in Map:'Layers' is invalid. The base table definition string "SY_DES_CLEANSING.Mech_Gritting_CWays_Pri1" is invalid. DBMS table not found [ORA-00942: table or view does not exist ] [SY_DES_CLEANSING.Mech_Gritting_CWays_Pri1][STATE_ID = 290768]. COLGIS_Road_Gritting.MapServer VMGISAPP03.CORPOFLONDON.GOV.UK 10801&amp;nbsp;&amp;nbsp; 17276 9824 MapServer.Connect &lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else had similar errors or have any suggestions on what can be done to fix these?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a point on the second code - the layer does exist which is why I'm confused.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Halil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 10:29:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/ora-00920-errors-in-arcgis-server-log-files/m-p/626203#M35400</guid>
      <dc:creator>HalilSiddique</dc:creator>
      <dc:date>2013-09-13T10:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-00920 errors in ArcGIS Server log files</title>
      <link>https://community.esri.com/t5/data-management-questions/ora-00920-errors-in-arcgis-server-log-files/m-p/626204#M35401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what ArcSDE version are you using ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;did you try the command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;sdelayer -o register -l &amp;lt;table,column&amp;gt; -e &amp;lt;entity_mask&amp;gt; -t &amp;lt;storage_type&amp;gt;&lt;BR /&gt;{[-C &amp;lt;row_id_column&amp;gt;[,{SDE|USER}[,&amp;lt;min_ID&amp;gt;]]]} [Spatial_Index]&lt;BR /&gt;[-E &amp;lt;{empty | xmin,ymin,xmax,ymax}&amp;gt;] [{-R &amp;lt;SRID&amp;gt; | [Spatial_Ref_Opts]}]&lt;BR /&gt;[-S &amp;lt;layer_description_str&amp;gt;] [-k &amp;lt;config_keyword&amp;gt;]&lt;BR /&gt;[-i {&amp;lt;service&amp;gt; | &amp;lt;port#&amp;gt; | &amp;lt;direct connection&amp;gt;}] [-s &amp;lt;server_name&amp;gt;]&lt;BR /&gt;[-D &amp;lt;database_name&amp;gt;] -u &amp;lt;DB_user_name&amp;gt; [-p &amp;lt;DB_user_password&amp;gt;] [-q]&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then try to restart your ArcGIS server and check the logs again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE Command reference: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/geodatabase/10.0/admin_cmds/support_files/admincmdref.htm" rel="nofollow"&gt;http://help.arcgis.com/en/geodatabase/10.0/admin_cmds/support_files/admincmdref.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 14:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/ora-00920-errors-in-arcgis-server-log-files/m-p/626204#M35401</guid>
      <dc:creator>EmadAl-Mousa</dc:creator>
      <dc:date>2013-09-13T14:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-00920 errors in ArcGIS Server log files</title>
      <link>https://community.esri.com/t5/data-management-questions/ora-00920-errors-in-arcgis-server-log-files/m-p/626205#M35402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Open the map document (i.e., MXD) for this particular map service and check to see if the layer referenced in the error messages shows a red exclamation mark.&amp;nbsp; If so, then you have a broken data source that needs to be repaired for the map service to stop throwing errors.&amp;nbsp;&amp;nbsp; It looks like the underlying data source for that layer in the map document might be the SY_DES_CLEANSING.Mech_Gritting_CWays_Pri1 table within Oracle.&amp;nbsp; Which user are you using in your ArcSDE connection file for the map document's layer connections?&amp;nbsp; Does that user have permission to see the base table &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;AND&lt;/SPAN&gt;&lt;SPAN&gt; the A, D, S and F tables for that particular object class?&amp;nbsp; If the user does have the right permissions on all 5 tables and/or you are connecting as the schema owner (i.e., SY_DES_CLEANSING), then I'd be curious to know if you are using Oracle Spatial (i.e., SDO geometry) based on the error content.&amp;nbsp; I have heard of a number of issues with successfully getting layers to register with ArcSDE.&amp;nbsp; I know there are many other individuals on these forums with much more Oracle Spatial knowledge than myself.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 16:52:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/ora-00920-errors-in-arcgis-server-log-files/m-p/626205#M35402</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2013-09-13T16:52:31Z</dc:date>
    </item>
  </channel>
</rss>

