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

Cannot register dataset as versioned – DBMS table not found – invalid object name

$
0
0
I’m setting up annotation in a versioned dataset and after realizing we needed additional attribution to said annotation decided to add additional annotation into the dataset with “New” tacked on the end. Moved all the data from the old annotation features into the corresponding new anno. Reconciled and posted all anno edits from the “old” anno to default and compressed the database and updated table statistics with the Analyze tool. I knew better but neglected to un-version the dataset before I deleted the “old” annotation features figuring I didn’t need any of it any longer since the new anno was good.

Received the following error when I try to register the dataset as versioned to version the new annotation. (There are additional features in the dataset that have been previously versioned which I didn’t check the check box to move edits to base so it tells me about that, I say ok and then):

Failed to register as versioned.
DBMS table not found[Microsoft SQL Server Native Client 10.0: Invalid object name ‘GIS.MCGIS.ANNO_100Scale_BlockNumbers_New’.]
[GIS.MCGIS.ANNO_100Scale_BlockNumbers_New][STATE_ID = 9816]
DBMS table not found[Microsoft SQL Server Native Client 10.0: Invalid object name ‘GIS.MCGIS.ANNO_100Scale_BlockNumbers_New’.]
[GIS.MCGIS.ANNO_100Scale_BlockNumbers_New][STATE_ID = 9816]


I did notice a bit of weirdness after this. The very annotation feature class BlockNumbers_New was outside of the original dataset it was in originally and was listed outside datasets in ArcCatalog. Continuing to be a bull in a china shop, I deleted the feature class figuring it was obviously not where I wanted it, it was not needed anymore, and if I removed it SDE might not care that it could not find it where it was originally (the dataset I was trying to version.) This did not alleviate any part of my issue. The same error as above is shown every time I try to version the dataset.

So digging into SQL I found that:
• STATE_ID 9816 is the state id held by DEFAULT – from the SDE_Versions table.
• That state id is in none of the adds or deletes tables and all such tables (including the business I tables) are no longer available for the annotation features I deleted.
• The multiversioned views, automatically created when one versions a feature in ArcGIS 10, are gone as well.
• The SDE_table_registry table has no record of the old anno features, nor does the SDE_layers table.

Besides snooping around in SQL I’ve diagnosed both the metatdata and tables with sdegdbrepair command line scripts. No issues were identified.

My question, besides how not get this error anymore, is where does this feature exist in the bowels of SDE that makes it think that it is still something that needs to be found and when it can’t find it throws that error?

What are my options here?


My next step was to create a new dataset, create and load all the data into that new dataset, un-version the “old” dataset and get all my names of the features and dataset set to the names I want and version the new dataset and move on with my life.

The issue I have with that is that SDE thinks the dataset is not versioned when I try to un-version it now. Any insight and guidance is extremely appreciated.

All the moves I made (good or bad) were performed in ArcCatalog.
I am running 10.1 SP1 desktop and 10 Server/SDE – database is SQL 2008.

Thank you very much for any help you can give.

Synchronize with two-way replica fails : Table already exists

$
0
0
I have an SDE geodatabase which has all versioned data.

I created a geodata service from this geodatabase.

I then created a two-way replica from server into another SDE geodatabase using the geodata service.

When I make an edit on the child replica and try to synchronize it back, I get this error:

Attachment 22840

Sychronize Replica Failed
Table already exists

What is this even talking about?

I'm using ArcGIS Desktop 10.1, ArcGIS for Server 10.1, SQL 2012 and I have the 2008 R2 Native client.
Attached Thumbnails
Click image for larger version

Name:	Synchronize fail.PNG‎
Views:	N/A
Size:	6.8 KB
ID:	22840  

Question about Best Practices for ArcSDE

$
0
0
Hello,

If I have a server running ArcSDE on SQL 2008 R2 Enterprise, would it be best practice to also install ArcGIS Server Enterpise 10.1 on the same server? The reason I am asking is because when I deploy a new service through ArcMap 10.1, it's giving me warnings that my layer's data source is ArcSDE and not accessed via direct connection. Should I move my ArcGIS Server software to the same server where ArcSDE resides to clear this warning message and hopefully get a performance boost?

Thanks,
Igor

SQL View - Union Between Two Feature Classes

$
0
0
Hi all,
Forgive me here, I've been looking online, but I can't seem to find the answer...

I'm trying to create a view, with the Union operator within my SDE Database to effectively combine multiple feature classes together.

The tables have the same schema but I'm getting the below error message:

Microsoft SQL Server Native Client 10.0: The geometry data type cannot be selected as DISTINCT because it is not comparable.

This is the syntax I'm using for the view...

SELECT * FROM GDA94_LL_NT_GNAF_GNAF_point
UNION
SELECT * FROM GDA94_LL_SA_GNAF_GNAF_point


I've gone through and tried selecting the Shape field out individually and I'm not having much joy at this stage.

I am organising SQL Training for myself, but until then, I've just hit a small brick wall.

Any help would be greatly appreciated!

Cheers,

Cory

A script referencing sde.gdb_items_vw gives ORA-00942: table or view does not exist

$
0
0
Hi there

I am trying to locate which fields domains are being used by. I am using ArcMap 10.1 but accessing a 9.3.1 geodatabase stored in an Oracle 10.2g database,

There was a a script on the following page:
http://help.arcgis.com/en/arcgisdesk...000000t9000000

However when ever I run it I get the error:
ORA-00942: table or view does not exist
00942. 00000 - "table or view does not exist"

It is for the table sde.gdb_items_vw which does not exist. Would anyone happen to know why it might not exist?

I am trying to delete a domain but before I can do so, I need to remove it from a field but I need to see which field(s) are still referencing it.

Kind regards


Tim

Deleting Domains causes error and domains not showing until restart ArcMap 10.1.1

$
0
0
Hi there

I am deleting some domains. When I do they delete but I then get an error with a layer I am displaying. It says:

Function ID is out of range [this appears something like 3 times in the dialogue box]

I also then get an ArcMap Drawing error:
One or more layers failed to draw:


project: USER.layer_in_question: Bad connection handle

Also after adding and or renaming domains, I find that when I wish to delete some of them or assign new ones to existing fields, they are not showing up. I find the only way to get them all to show up is to shut down ArcMap and reopen it.

I am using ArcMap 10.1.1 with ArcSDE 9.3.1 and the data stored in Oracle 10.2g database.

Kind regards

Tim

How can DBO test other users in OS Auth SQL Server?

$
0
0
Hello! We're using SQL Server OS Auth, and I am DBO. How can I mimic/test another users' experience? When we were on DB Auth in Oracle, it was simple--just access the tables using the user's logon and password. But OS Auth disallows this. I can't test as a regular user, because I am always DBO. What is the workaround?
Thank you!

Enterprise Geodatabase Security

$
0
0
My Question: what are the Enterprise Geodatabase Security Implementations ?

in any big organizations that are implementing GIS Infrastructure based on ESRI products, security is an important aspect. As an SDE Geodatabase Administrator what security best practices should i implement ?


FYI: reference article i have read: http://wiki.gis.com/wiki/index.php/Information_Security



Thanks,

Issues with reconcile GP tool

$
0
0
I am having trouble with the reconcile version GP tool. When I try to run the tool there are no versions turning up in the "Edit version" list box. If I try to run the tool (even with an old process out of the results log) I get an error message as follows;

ERROR 999999: Error executing function.
The SE_VERSIONINFO object was not initialized
Insufficient permissions

I can, however, run the reconcile within an edit session in ArcMap and it works fine.

It is a database issue as the process works fine on other databases

I am run version 10 on Oracle.

Any ideas

Best practices for DBTUNE in Oracle 11R2

$
0
0
Are there any best practices or suggestions for dbtune parameters for ArcGIS 10.1 in Oracle 11gR2 using ASM??? We are going to move our existing production environment from Oracle 9i using file system storage to ASM in Oracle 11R2 and wonder if there is any documented recommendations regarding this? Our geodatabase stores a few big rasters (read only) and a huge versioned polygon feature class among other read only features. We also use JTX (WMX in 10). Already check the whitepaper "Best practices for storing the ArcGIS Workflow Manager Workspace in an Enterprise Geodatabase for Oracle" and give me a some ideas for the WMX repository, but want to know if there is anything else around. Since we are going to use Oracle ASM, it looks like there is no need to create a lot of tablespaces besides organization of my different types of layers (raster, vector_ro, vector_rw, sde, and wmx).

Any suggestions are welcome...

thanks.

Re: Edits seen in ArcSDE but not in SQL?

$
0
0
Quote:

Originally Posted by mboeringa2010 View Post
Alternatively, if you are using ArcGIS 10.1 and have a 10.1 geodatabase, you might consider querying the Versioned Views that form part of the geodatabase. It will allow you to see the edit state of a specific version you specify in SQL.

Have been trying to get ArcGIS 10.1 data directly into SQL server for a municipal application, but its seems not to work. What I did was connect through Ms access to SQL (using link server techolo). Does any one have an idea how I can do direct connection?

Attaching a second SDE instance to an exisiting DB

$
0
0
I have a an Instance of SDE that uses a SQL Server back end. The SQL Server instance resides on its own machine, separate from the SDE machine. I have ArcGIS Server on the SDE machine as well with a number of mission specific published maps and locator services. (This is all v10 sp5; SQL Server 2008 R2.)

Recently I have been tasked with setting up a fail over machine that will primarily function as a redundant map and locator server; if the primary ArcGIS Server goes south, we roll to the secondary and everyone is happy. We use SDE to maintain an enterprise geodatabase, so the thought is to load SDE on the fail over machine and point it to the same SQL Server instance; that way while the primary machine is down, the editing process can continue.

Has anyone had this experience? Given the gray hairs I've accumulated over the years since ArcSDE 8.3, I have to think there are some gotchas I need to be aware of.

Your thoughts and advice are appreciated.

SQL Server Geometry Type and ESRI or Custom Coordinate Systems?

$
0
0
Has anyone encountered a problem using any of the esri coordinate systems or a modified/custom coordinate system when using a SQL Server Geometry data type (i.e. configuration keyword: GEOMETRY) in ArcSDE 10.1 environment?

Unable to start sdeservice for Sql Server 2008 R2 Standard, Windows, 10.1

$
0
0
Having problems getting an SDE Service started.
Environment: Windows 7 64 bit, Sql Server 2008 R2 Standard, Desktop/Enterprise SDE on 10.1
Did the following steps:
1. Ran Create Enterprise Geodatabase:
Platform: SQL_SERVER
Instance: <Machine Name> (but the instance is MSSQLSERVER so could this be wrong)
Database Administrator sa
Database Administrator Password: <DB password>
Checked SDE owned
Geodatabase Administrator sde
Geodatabase Admin Password: sde (but I later changed this to sde123
Auth File: C:\Program Files\ESRI\License 10.1\sysgen\keycodes

2. Made sure I have esri_sde set in my services.sde and my system services location.

3. Created the service:
sdeservice -o create -d sqlserver -p sde123
4. Registered the service:
sdeservice -o register -d sqlserver -r admin_database -v G
5. Listed the service
6. Connected to the database using ArcCatalog with my user sde. No problem. Also connected using Sql Server Management studio. No problem.
7. Started the service.

Errror (always the same error):
IDBInitialize::Initialize Failed
init_DB DB_instance_open_as_dba: -93
DBMS error code: 18456
Microsoft SQL Server Native Client 10.0: Login failed for user 'sde'.

Checked out: http://forums.arcgis.com/threads/736...vice+SqlServer
And another document on that error.

Pasting in null into text field, pasts the characters: and not null itself

$
0
0
Hi there

Has anyone else come across the following behaviour in ArcMap?

When I am editing an attribute table in a Feature class, sometimes I need to replace a single value in a field with null. I will often do this by simply coping one of the other fileds ear by which has a null value in it.

However I am finding that sometimes if I am pasting to a field which a a data type of text, it ends up storing the characters: <Null> rather than null itself.

As ArcMap displays Null values as <Null>, it is impossible for me to know when this is happening. I then find I have to locate them using a select by attribute query and use the field calculator to replace them with null.

Now I could use the field calculator all the time but using it for one value takes longer than it goes to simply copy and paste a near by null.

I am using 10.1.1 but I find the problem occurs with any version of ArcMap I use from at least 9.3.1 onwards.

Kind regards


Tim

Moving multiple SDE's under one Roof

$
0
0
Hi,

In our organization, more than one SDE is present to provide different type of spatial data for different regions.

Supporting multiple SDE is quite difficult. So please let us know what are all benefits and Challenges of doing this.

Many Thanks,
Suraj

Cannot find DBMS Support files - ArcGIS 10.1 SP1 & PostgreSQL 9.1.3

$
0
0
Hi folks,

On the Esri Customer Care portal, I am able to see the PostgreSQL DBMS for Windows download, however this one makes up the Windows PostgreSQL 9.0.5 client libraries. I am looking for the 9.1.3 as specified by the system requirements page and the Esri KB article.

I guess the 9.0.5 libraries will not work for 9.1.3? If they do, this probably should be reflected in the readme file that comes with the download. If they don't, does anyone know where those support files can be obtained?

Cannot register dataset as versioned – DBMS table not found – invalid object name

$
0
0
I’m setting up annotation in a versioned dataset and after realizing we needed additional attribution to said annotation decided to add additional annotation into the dataset with “New” tacked on the end. Moved all the data from the old annotation features into the corresponding new anno. Reconciled and posted all anno edits from the “old” anno to default and compressed the database and updated table statistics with the Analyze tool. I knew better but neglected to un-version the dataset before I deleted the “old” annotation features figuring I didn’t need any of it any longer since the new anno was good.

Received the following error when I try to register the dataset as versioned to version the new annotation. (There are additional features in the dataset that have been previously versioned which I didn’t check the check box to move edits to base so it tells me about that, I say ok and then):

Failed to register as versioned.
DBMS table not found[Microsoft SQL Server Native Client 10.0: Invalid object name ‘GIS.MCGIS.ANNO_100Scale_BlockNumbers_New’.]
[GIS.MCGIS.ANNO_100Scale_BlockNumbers_New][STATE_ID = 9816]
DBMS table not found[Microsoft SQL Server Native Client 10.0: Invalid object name ‘GIS.MCGIS.ANNO_100Scale_BlockNumbers_New’.]
[GIS.MCGIS.ANNO_100Scale_BlockNumbers_New][STATE_ID = 9816]


I did notice a bit of weirdness after this. The very annotation feature class BlockNumbers_New was outside of the original dataset it was in originally and was listed outside datasets in ArcCatalog. Continuing to be a bull in a china shop, I deleted the feature class figuring it was obviously not where I wanted it, it was not needed anymore, and if I removed it SDE might not care that it could not find it where it was originally (the dataset I was trying to version.) This did not alleviate any part of my issue. The same error as above is shown every time I try to version the dataset.

So digging into SQL I found that:
• STATE_ID 9816 is the state id held by DEFAULT – from the SDE_Versions table.
• That state id is in none of the adds or deletes tables and all such tables (including the business I tables) are no longer available for the annotation features I deleted.
• The multiversioned views, automatically created when one versions a feature in ArcGIS 10, are gone as well.
• The SDE_table_registry table has no record of the old anno features, nor does the SDE_layers table.

Besides snooping around in SQL I’ve diagnosed both the metatdata and tables with sdegdbrepair command line scripts. No issues were identified.

My question, besides how not get this error anymore, is where does this feature exist in the bowels of SDE that makes it think that it is still something that needs to be found and when it can’t find it throws that error?

What are my options here?


My next step was to create a new dataset, create and load all the data into that new dataset, un-version the “old” dataset and get all my names of the features and dataset set to the names I want and version the new dataset and move on with my life.

The issue I have with that is that SDE thinks the dataset is not versioned when I try to un-version it now. Any insight and guidance is extremely appreciated.

All the moves I made (good or bad) were performed in ArcCatalog.
I am running 10.1 SP1 desktop and 10 Server/SDE – database is SQL 2008.

Thank you very much for any help you can give.

Synchronize with two-way replica fails : Table already exists

$
0
0
I have an SDE geodatabase which has all versioned data.

I created a geodata service from this geodatabase.

I then created a two-way replica from server into another SDE geodatabase using the geodata service.

When I make an edit on the child replica and try to synchronize it back, I get this error:

Attachment 22840

Sychronize Replica Failed
Table already exists

What is this even talking about?

I'm using ArcGIS Desktop 10.1, ArcGIS for Server 10.1, SQL 2012 and I have the 2008 R2 Native client.
Attached Thumbnails
Click image for larger version

Name:	Synchronize fail.PNG‎
Views:	N/A
Size:	6.8 KB
ID:	22840  

Question about Best Practices for ArcSDE

$
0
0
Hello,

If I have a server running ArcSDE on SQL 2008 R2 Enterprise, would it be best practice to also install ArcGIS Server Enterpise 10.1 on the same server? The reason I am asking is because when I deploy a new service through ArcMap 10.1, it's giving me warnings that my layer's data source is ArcSDE and not accessed via direct connection. Should I move my ArcGIS Server software to the same server where ArcSDE resides to clear this warning message and hopefully get a performance boost?

Thanks,
Igor
Viewing all 1584 articles
Browse latest View live