Quantcast
Channel: Forums - Geodatabase & ArcSDE
Viewing all 1584 articles
Browse latest View live

QueryDef problem

$
0
0
Hi!

I'd like to code a "self join query" with IQueryDef.
I'm using 9.3 sp2.

The SQL query is somethig like this:

SELECT ID
FROM MY_TABLE a, MY_TABLE b
WHERE a.id = b.id
AND a.date_1 = b.date_2

I have problems to do it since I cannot use alias in QueryDef.
Any ideas? Thank you in advance!

Users cannot see newly created files in ArcSDE

$
0
0
Hi All,

Here is my issue:

ArcSDE 10.0, Desktop 10.1:

I create a new feature class, mosaic dataset, anything new at the default level of the SDE database. I can view this, use it and behaves as expected. I have multiple users that have .mxd files of their own that they use, I open these files on my machine, add the newly created dataset, save, works fine. When I open this file on the user machine, the file is in the TOC but there is no connection, try to reset the source by connecting to the database. It connects fine, but he newly created datasets are not there in this view, although I see them in my view.

This is a recent problem in the last couple of days, there has been no changes to permissions or security of any kind. The SDE service is running on SQL.

Any ideas/suggestions as to why I would not be able to see these newly created files from a user machine? When I perform edits on existing datasets, the edits show up just fine, just cannot see anything new.

Thanks,

mike

(Again) “Table to table” & “table to domain”,

$
0
0
(Again) “Table to table” & “table to domain”,

This may be the third time I’m highlighting this issue. Importing table to domain is really very frustrating issue and regularly ends up with error.

1. I tried to apply the tool “table to domain” from an excel table to SDE database but ends up with an error.

2. Mr. Whitley recommended to import the excel table to the geodatabase and then to apply the command “table to domain” from there. The issue is that this approach works in certain cases but fails on others. For example, the attached goedatabase contains two tables which I fail to stick in the domain by the command “table to domain”.

Attachment 22180, Attachment 22181


I’m not sure if there might be a root solution for this very frequent problem.

In the past, I have encountered a similar a very frustrating problem” Paste failed: “The spatial references don’t match”. I got help from many of the experts on the forum but sounds not to work. Josh Thompson has introduced a root solution for this issue. Without his very appreciated input I will be struggling each single time I import feature classes to geodatabase. If you are interested, please, access the link below:



http://forums.arcgis.com/threads/756...361#post267361


I think this is the sort of solution that might form an end for the “tragedy” when using the command “table to domain”


Thank you

Best

Jamal
Attached Thumbnails
Click image for larger version

Name:	Clip_117.jpg‎
Views:	N/A
Size:	231.1 KB
ID:	22180   Click image for larger version

Name:	Clip_118.jpg‎
Views:	N/A
Size:	198.0 KB
ID:	22181  
Attached Files

Finding out who deleted a Feature class

$
0
0
Over the weekend a feature class got deleted from a 2 way replica. The FC was deleted from both sides. Is there a way to figure out who deleted the FC?

If there are any permission problems we need to address holes hole.

We are running version 10 with SQL Server 2008.

Thanks

Quinn

Synchronizing issue with SDE check-out replica

$
0
0
I succesfully create a Check out replica in Arc 10 and I can make that needed changes. However, when I synchronize the replica with the relative replica on SDE not all of the changes carry over. The new lines make it over but data in a assocaited table to do not. I wondering if this a replica or syncronization issue.

Can not edit service In ArcGIS.com

$
0
0
Hi,help me, please!
I add service with "advanced feature" in ArcGIS.com and have to edit him. In ArcGIS.com leave a message that the layers are in the internal network and editing will be disabled. What you need to do to edit work?

Arcgis Server 10.0

Sorry for bad English

ArcSDE won't install

$
0
0
Hi!

I'm running into a problem with installing ArcSDE onto my machine. I'm new to the ESRI ecosystem, so please excuse my question(s).

The machine that I'm trying to install on is a Win7x64 OS that is running as a VM. Prior to installing ArcMap, I installed a full version of SQL server 2012 (developer edition, default instance). I was able to install ArcMap just fine and register it with ESRI. I'm able to create and use database connections to this database just fine. When I tried to add it as a database server, I was told that connections to this edition of the database server is not supported. I (now) understand why. I downloaded sql server 2012 express installer and did a coinstall with my full edition and gave it the SQLEXPRESS instance name. The install went fine. When I then tried to add the express database as a server, it did that. When I then tried to create a geodatabase, it created the database files just fine but then a nag screen was raised that complained that it could not log in. Thinking that it might be an issue with using SQL 2012, I reverted VM to eliminate the SQLEXPRESS instance, installed SQL2008 Express. Install went fine and I was still unable to create a geodatabase because it could not log in. I then reverted the VM and put the original ESRI install disk in. The install application came up fine, but when I click on the blue ArcSDE "setup" button, nothing happens.

FYI, I have the ArcGIS home edition which is good for one year.

Sooooooooooo, my questions are:

1) What additional prep work do I need to do to SQLEXPRESS so that it ArcMap can use it?

2) When I click on the ArcSDE setup button, why doesn't anything happen?

Thanks for any assistance. My forehead thanks you!

Trouble with ST_GEOMETRY

$
0
0
Greetings all,

I have run into a wall and am in need of some direction. I recently tried to create a new feature class using ST_GEOMETRY and I cannot get the feature class to draw in ArcMap. I have the same issue when trying to preview the feature class in ArcCatalog.

The selected object failed to draw: ST_GEOM_TEST: Underlying DBMS error [ORA-00942: table or view does not exist][APPDEV1.ST_GEOM_TEST]

So, I have an Oracle 11g database with SDE 10.0 installed. Full disclosure on the upgrade to 10.0 from 9.3.1 is that we did not have the proper set up for ST_GEOMETRY on our database server box. We do not use SDE service anymore and were not planning to use ST_GEOMETRY. I have since updated the SDE libraries to know where to find the ST_GEOMETRY and RASTER .so binaries. We are running IBM AIX 6.1. There were some invalid objects that recompiled to valid after I fixed the SDE libraries. I also re-configured the listener per the instructions and all of that seems to be working properly.

I can use sde -o describe and describe_long on the table. The long description is below (fields between OBJECTID and SHAPE omitted for space preservation).

ArcSDE 10.0 for Oracle11g Build 2063 Tue May 22 14:45:23 2012
Attribute Administration Utility
-----------------------------------------------------

----------------------------------------------------------------
Column Owner : APPDEV1
Column Table : ST_GEOM_TEST
Column Name : OBJECTID
Row ID Column Type : SDE Maintained
SDE Column Type : SE_INT32
Column Size : 10
Decimal Digits : 0
Null Allowed? : False

----------------------------------------------------------------
Column Owner : APPDEV1
Column Table : ST_GEOM_TEST
Column Name : SHAPE
SDE Column Type : SE_SHAPE
Column Size : 0
Decimal Digits : 0
Null Allowed? : True
Layer ID : 1167

Anybody have any ideas on where I can look or troubleshoot next? Any and all insights/ideas are welcome and let me know if more information is needed.

Thanks!
Adam Z

Failed to compress the database

$
0
0
Hello,
I made some modifications in the database (deleted some fields from ArcCatalog) but they're still there (both ArcCatalog & PostgreSQL). So I tried to compress the gdb.
When trying to compress the database I get this error:
---------------------------
Compress Database
---------------------------
Failed to compress the database.
Underlying DBMS error [ERROR: duplicate key value violates unique constraint "r60_sde_rowid_uk"
DETAIL: Key (objectid)=(1) already exists.
::SQL state: 23505] [sde.DEFAULT]
---------------------------


I did find this article explaining what to do, but it's not for the arcgis 10.1 version. Plus, I have difficulties in writing commands, as I'm not an IT professional. Is the procedure the same as it is explained in this article?

As I said we use arcgis 10.1 SP1 with an PostgreSQL sde geodatabase.

Thank you a lot for suggestions!

ArcGIS 10 .lyr files and ArcSDE 10.1 GDB compatabiltiy

$
0
0
We are going to upgrade our ArcSDE 10 geodatabase to ArcSDE 10.1

We use .lyr files created with ArcMap 10 to provide read only connection to the data.

Our clients will be a mixture of 10 and 10.1 for a little while.

Are there any issues with using our existing 10 .lyr files to connect to 10.1?

I just created a 10 .lyr file connected to our test 10.1 ArcSDE database and didn't see any issues, but wanted to check and see if anyone had seen any known limitations or issues.

Thanks,

Mele

Unable to run sdegdbrepair -o diagnose_tables in the production database

$
0
0
We're able to run "sdegdbrepair -o diagnose_tables" in the development database but can not run in the production database.
It takes a long time to run in the production database (SDE 9.3 sp1, ORACLE 10G) causing it to hang the tool, so it never finishes the process. As a result, other sessions gets hang and slows down the SDE database performance, so we have to kill the sessions before it finishes the process. The result from the command I last ran:

$ sdegdbrepair -o diagnose_tables -d ORACLE10G -u sde -p *************

ESRI ArcSDE Server Repair Utility Wed Feb 27 13:22:24 2013
----------------------------------------------------------------
Diagnose Tables: 166 multiversioned tables examined,
0 multiversioned tables had orphaned, duplicate, missing or redundant rows.
Error: Underlying DBMS error (-51).
Error: Unable to list orphaned rows.


We also tried to run in our test database (SDE 10.1, ORACLE 11G), we get the following error:

-bash-4.1$ sdegdbrepair -o diagnose_tables -d ORACLE11G -u sde -p ***************

ESRI ArcSDE Server Repair Utility Thu Feb 28 12:55:54 2013
----------------------------------------------------------------
Error: UTF-8 (-1020).
Error: Unable to list orphaned rows.


Any help/suggestions would be appreciated. Thanks in advance!

Supress GlobalID

$
0
0
While appending data from one SDE database to another SDE Database.I need to send old GLOBALID as it is into new database for features.
Is any way to stop creating New GlobalID.

Writing gdb, have been given common libraries - best process?

$
0
0
HI all, thanks for considering my post. I am a newbie, and know just enough to be dangerous.

I have been given a bunch of common libraries for getting data out of a proprietary db format (for an example, one is 'NodeEntity.cs').

I need to take these and their information and write them to a geodatabase.

While I have done some programming, this is a new one for me, so i am stymied by what would be the best process.

1. Can use the Filegeodatabase API?
2. Is there .NET code I can give to a colleague who knows .NET (but doesnt understand databases) that he can use to write the gdb?

I am admittedly, a bit lost, and need some guidance.

Many Thanks in advance,
Matt
Attached Files

Fail to renew expired 10.1 SDE

$
0
0
Hi All,

Our 10.1 ArcGIS license just expired yesterday. I can successfully re-authorize/renew the Server part but not the SDE.
When I connect to the SDE in ArcCatalog, it asked for a EPC file. Then I point to the new keycodes file that I copied from the arcgis server machine (\\Program Files\ESRI\License10.1\sysgen) and I got “Fail to connect to database. Invalid parameter… message.
Did I miss anything? Can you please help?

thanks a lot!!!
Wilson
Attachment 22298Attachment 22299
Attached Thumbnails
Click image for larger version

Name:	101b.jpg‎
Views:	N/A
Size:	8.5 KB
ID:	22298   Click image for larger version

Name:	101a.jpg‎
Views:	N/A
Size:	12.8 KB
ID:	22299  

want to sync table from accdb to table in my gdb

$
0
0
I am having trouble getting my "ditch" table in my gdb to sync with my "ditch" table from my accdb. As I update the table in access it updates the table in my db connection in arc catalog. but to update the table joined to my .shp file i have to remove table from gdb and create new one from table in accdb. is there anyway to get these to sync automatically?
thanks in advance

SDE Direct Connect & GIOMGR LOG for archiving historical connections

$
0
0
Hi,

if i choose to go with "direct connection" (2-tier architecture), is ESRI going to provide a system table under SDE schema that will archive historical connections comming to "SDE". currently, giomgr_esri_sde.log file archives all SDE historical connections which is good if i want to trace who connected to my geodatabase at a certain point in time.

the PROCESS_INFORMATION table only shows the current active session users, it doesn't archive connection history.

can somedboy give us some insight about this ?


Also, it would be helpful if ESRI can provide a way to logon "successful" and "unsuccssful" login attempts for auditing issues when a user is being locked.


Regards,
Emad

Autodesk Vault 2012 or SDE

$
0
0
I like to learn about Autodesk Vault 2012 and Esri integration? If a engineering company wants to become more GIS-centric, should they just acquire ArcGIS for Server (SDE) instead of Autodesk Vault 2012? As far as I understand, once the CAD files are loaded into the enterprise GDB, and versions are created, CAD users can work with them within their CAD environment and even make modifications (edit processes), right?

Can somebody enlighten me?!

Multi-Versioned Views - Updgade from 10.0 to 10.1

$
0
0
We are going to upgrade our SQLServer SDE databases to 10.1 I understand that in 10.1, the mult-versioned view is now called a versioned view and that it is created when a database is versioned in 10.1 and not only by command line as in 10.0

I also understand that we can create the new versioned views on a versioned database if they don't exist using 10.1 utilties, but if we already have them in a 10.0 SDE database, do we need to recreate them after migrating or will the existing multi-versioned views function as before?

Thanks,

Mele

Arcpy does not execute “CopyFeatures_Management” to write a featureclass to an ArcSDE

$
0
0
I have some problems with my Python script. The script gets an JSON with different information about images. The information includes general information about images and also the gps position of them. Wih this information a featureclass should be generated that shows the location of the pictures as point geometry. The other information should be stored in the attribute table.

The script runs very well and is already deployed on ArcGIS Server 10.1. Now the problem is, that at the first start the featureclass has to be created. As the featureclass consists of about 92 attribute fields the process of creating the featureclass is done with the option "in memory" as this option guarentees a fast creation of the featureclass - it is at least faster then directly running arcpy.addfield_management() on a feature class that was created the other way.

The disadvantage is that I want to store the featureclass permanently in a ArcSDE geodatabase. For this I have to run one of the tools arcpy.featureclasstofeatureclass_conversion or arcpy.copyfeatures_management. If the script is trying to run on of these lines I get the error message 000210 that is telling me that the output cannot be generated.

The connection to the ArcSDE works fine, this cannot be the problem. I have full write and read access. Does anybody know what the error message is about and what could be one solution?

The script works fine if I am not using the "in memory" option for the feature class. So this error must have his origin in the "in memory" option. The log file of the Database gives only an general error message:

"Oracle : ORA-3137[3149]".

The “delete” option is grayed out in an edit session,

$
0
0
The “delete” option is grayed out in an edit session,

A feature class is selected to be the editable layer and the user has full permissions, nevertheless, the delete option is grayed out

Attachment 21354, Attachment 21355


What is weird that this option is working from the attribute table

Attachment 21356



What might be the issue?

Thank you

Best

Jamal
Attached Thumbnails
Click image for larger version

Name:	Clip_59.jpg‎
Views:	N/A
Size:	198.1 KB
ID:	21354   Click image for larger version

Name:	Clip_60.jpg‎
Views:	N/A
Size:	193.3 KB
ID:	21355   Click image for larger version

Name:	Clip_61.jpg‎
Views:	N/A
Size:	237.4 KB
ID:	21356  
Viewing all 1584 articles
Browse latest View live