这还是15年的一个错误,刚才翻我的提问时发现的,现在粘过来,记录下。好久没用arcgis了,版本应该还是比较老的版本10.0,10.1的情况,因为还有sde
同一主机:Windows2008 R2 64位,ArcSDE for 11g 64bit
环境变量 path C:\app\Administrator\product\11.2.0\client_1\bin;E:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Common Files\NetSarang;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\ArcGIS\ArcSDE\ora11gexe\bin
C:\app\Administrator\product\11.2.0\client_1\bin; 为32位11g oracle客户端路径
SDEHOME: C:\Program Files\ArcGIS\ArcSDE\ora11gexe\
已解决(附:解决方案):
http://blog.csdn.net/editcue/article/details/19037277
报了类似的错误
could not create geodatabase tables and stored procedures
Failed to setup st_geometry type.Unable to load Type st_geometry, underlying DBMS error encountered.
找到解决办法:
http://support.esri.com/en/knowledgebase/techarticles/detail/38961
里面说由于有表引用到 st_geometry 导致 st_geometry 创建失败。
只需要执行这句sql:
SELECT OWNER, NAME, TYPE FROM DBA_DEPENDENCIES WHERE REFERENCED_OWNER='MDSYS' AND REFERENCED_NAME = 'ST_GEOMETRY' AND REFERENCED_TYPE = 'TYPE' AND TYPE='TABLE';
然后把查到的表drop和purge掉即可。