<?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 Spatial reference error when loading data into new SDE in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301803#M17287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My DBA set up a new Oracle instance for me (10g) and installed a brand new blank 9.3.1 SDE in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm connected as the SDE Admin and I started loading some sample layers into it (shapefiles) using the "Import Feature Class - Single" tool in ArcCatalog 9.3.1, just to play around and test things out.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With any shapefile I try to load, I get an error in the progress window that states &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;"ERROR 000372: Spatial Reference for output is invalid, Please update to allow output to become valid&lt;BR /&gt;Failed to execute (FeatureClassToFeatureClass)."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the process doesn't actually fail - it does put the layer into the SDE and it draws like it should if I add it into an ArcMap view.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Searching the forums, I found an earlier thread where a suggestion was made to click "Tools-Options", then go on the Geoprocessing tab, click "Environments", then "Geodatabase Settings", and set Spatial Index 1 to a very large number like 50000.&amp;nbsp; I tried that, but then if I load a layer I get an error stating &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;"ERROR 999999: Error executing function.&lt;BR /&gt;Underlying DBMS error[Error executing PL/SQL Block db_stgeom_create_index::ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine&lt;BR /&gt;ORA-00911: invalid character]&lt;BR /&gt;DBMS table not found[ORA-00942: table or view does not exist&lt;BR /&gt;Failed to execute (FeatureClassToFeatureClass)."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I go back and change that index back to 0 in the Environments window, then I go back to getting the first error I mentioned, though as I said, it does actually put the layer in the SDE even though it says it failed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know what is going on here and how to fix it?&amp;nbsp; I just completed some SDE training and am pretty new at this, but I don't remember a mention of anything like this in the class.&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;Jason M.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Conservation Data Analyst - NatureServe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2011 19:19:58 GMT</pubDate>
    <dc:creator>JasonMcNees</dc:creator>
    <dc:date>2011-09-06T19:19:58Z</dc:date>
    <item>
      <title>Spatial reference error when loading data into new SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301803#M17287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My DBA set up a new Oracle instance for me (10g) and installed a brand new blank 9.3.1 SDE in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm connected as the SDE Admin and I started loading some sample layers into it (shapefiles) using the "Import Feature Class - Single" tool in ArcCatalog 9.3.1, just to play around and test things out.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With any shapefile I try to load, I get an error in the progress window that states &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;"ERROR 000372: Spatial Reference for output is invalid, Please update to allow output to become valid&lt;BR /&gt;Failed to execute (FeatureClassToFeatureClass)."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the process doesn't actually fail - it does put the layer into the SDE and it draws like it should if I add it into an ArcMap view.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Searching the forums, I found an earlier thread where a suggestion was made to click "Tools-Options", then go on the Geoprocessing tab, click "Environments", then "Geodatabase Settings", and set Spatial Index 1 to a very large number like 50000.&amp;nbsp; I tried that, but then if I load a layer I get an error stating &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;"ERROR 999999: Error executing function.&lt;BR /&gt;Underlying DBMS error[Error executing PL/SQL Block db_stgeom_create_index::ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine&lt;BR /&gt;ORA-00911: invalid character]&lt;BR /&gt;DBMS table not found[ORA-00942: table or view does not exist&lt;BR /&gt;Failed to execute (FeatureClassToFeatureClass)."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I go back and change that index back to 0 in the Environments window, then I go back to getting the first error I mentioned, though as I said, it does actually put the layer in the SDE even though it says it failed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know what is going on here and how to fix it?&amp;nbsp; I just completed some SDE training and am pretty new at this, but I don't remember a mention of anything like this in the class.&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;Jason M.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Conservation Data Analyst - NatureServe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 19:19:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301803#M17287</guid>
      <dc:creator>JasonMcNees</dc:creator>
      <dc:date>2011-09-06T19:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial reference error when loading data into new SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301804#M17288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you find out what was causing this?&amp;nbsp; I'm having the same problem but in SQL Server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 17:43:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301804#M17288</guid>
      <dc:creator>Jeri_SuePonder</dc:creator>
      <dc:date>2011-11-04T17:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial reference error when loading data into new SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301805#M17289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. Do you encounter a similar error when one of the shapefiles is loaded into a File geodatabase?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If step 1 succeeds, copy/paste the file geodatabase feature class into the sde geodatabase to check whether the same error is encountered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Can you zip one of the shapefiles for testing? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - small number of features will suffice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 19:24:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301805#M17289</guid>
      <dc:creator>NanaDei</dc:creator>
      <dc:date>2011-11-04T19:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial reference error when loading data into new SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301806#M17290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;1. Do you encounter a similar error when one of the shapefiles is loaded into a File geodatabase?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can go to a file geodatabase with no problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;2. If step 1 succeeds, copy/paste the file geodatabase feature class into the sde geodatabase to check whether the same error is encountered.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I really can't copy/paste the data into SDE - large amount of data - Tiger files for all 50 states&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;3. Can you zip one of the shapefiles for testing? &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;And yes I can sent you a small zip file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to load the Tiger data with a script into State databases in SDE.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 19:43:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301806#M17290</guid>
      <dc:creator>Jeri_SuePonder</dc:creator>
      <dc:date>2011-11-04T19:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial reference error when loading data into new SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301807#M17291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anybody got solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also facing same situation.Trying to import data from shape file to SDE GDB using python script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeri,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I can import my shape file into file GDB without issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. When I try to copy/paste file from FGDB ro SDE GDB error occures and same as Jason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since more than one people facing similer issue, should it be some typical SDE issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 03:34:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301807#M17291</guid>
      <dc:creator>AbhijeetKulkarni</dc:creator>
      <dc:date>2011-12-29T03:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial reference error when loading data into new SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301808#M17292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Abhijeet,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What user are you connected to your database as?&amp;nbsp; If you are using the SDE user, try creating a new user who's default tablespace is different than SDE.&amp;nbsp; Then see if you receive the same error message when attempting to load data into the geodatabase.&amp;nbsp; We recommend that you don't load data as the SDE user.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 10:41:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301808#M17292</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2011-12-29T10:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial reference error when loading data into new SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301809#M17293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rebuild the spatial index by following the below commands to take care of the ora-000372 error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are the commands (with sample output) that you would use on the server side:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) The first command will put the feature class in load only mode, and will delete the spatial index:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o load_only_io -l streets,shape -i esri_sde -u test -p test&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE 9.3&amp;nbsp; for Oracle10g Build 2784 Tue Dec 27 10:51:14&amp;nbsp; 2011&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer&amp;nbsp;&amp;nbsp;&amp;nbsp; Administration Utility&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer is now in LOAD-ONLY I/O mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) The second command will calculate the spatial index grids:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o alter -g automatic -l streets,shape -i esri_sde -u test -p test&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE 9.3&amp;nbsp; for Oracle10g Build 2784 Tue Dec 27 10:51:14&amp;nbsp; 2011&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer&amp;nbsp;&amp;nbsp;&amp;nbsp; Administration Utility&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Change spatial index from SPIDX_GRID,0.0022,FULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to SPIDX_AUTOMATIC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure? (Y/N): y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Successfully Modified the Layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Successfully changed spatial index parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer is in LOAD-ONLY mode&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) The third command will place the feature class back in Normal I/O mode, rebuilding the spatial index.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o normal_io -l streets,shape -i esri_sde -u test -p test&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE 9.3&amp;nbsp; for Oracle10g Build 2784 Tue Dec 27 10:51:14&amp;nbsp; 2011&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer&amp;nbsp;&amp;nbsp;&amp;nbsp; Administration Utility&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer is now in NORMAL I/O mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: Make sure you supply the right information for the -i, -u , and -p options. These correspond to the service name, username (data owner), and password, respectively.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 20:10:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-reference-error-when-loading-data-into-new/m-p/301809#M17293</guid>
      <dc:creator>BirajaNayak</dc:creator>
      <dc:date>2011-12-30T20:10:11Z</dc:date>
    </item>
  </channel>
</rss>

