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

Replica practice question

$
0
0
Hi,

We have a SQL base 2 way replica. Version 10. Whenever I add data in a certian way the synchronize fails. I was trying to come up with a way to add new data from a file GDB the sychozation fails. I had x features in the FC of the child DB. I deleted those features and added the feature that were in the file GDB. Saved the data. compressed the data and synchronized the replica. Every tiome that I do it this way I get the new features plus the existing features in the parent GDB. Is the way I did that incorrect? Must be because it didn't work.

In the past I created the new file GDB and then brought the replica down added the data to both side and rebuilt the replica. It always worked fine but caused downtime for all users. The 911 system is using that replica.

Is there a way to do this without bringing the system down?

Thanks.

Quinm

Select by Attribute Issue

$
0
0
I have a file geodatabase that is storing a number of important features for my project. When I add a feature to an ArcMap document and run Select by attribute (either from the tools or from the toolbar) over many of the fields, I get more features selected than I should. For example, if there is a field called ID with the values A, B, C, D and I select ID="A", I may get "A" and "B" returned as selected. I am running a New Selection, so that isn't the cause of the problem. The files I am working with are quite large- over 160,000 features. Any ideas?

Synchronize Replica failed: The operation was attempted on an empty geometry

$
0
0
I have a replica that refuses to sync due to an empty geometry error.

Some details regarding the data:
* Software is ArcGIS 10. Desktop is SP4; however, I am uncertain as to what SP is applied to SDE. I can certainly find out, if needed.
* Performing checkout/check-in replication - the replica is a file geodatabase.
* The data being replicated does participate in a geometric network and we are using the full model.
* Even though the intent to add features existed at the time of replica creation, there may be an empty feature class in the replica database at the time of sync. I'm uncertain if or how this could affect synchronization, but I'm listing it as a detail, just in case...
* We have utilized the Verify Network Feature Geometry and Network Build Error tools from the Geometric Network Editing toolbar and both return their respective message for all features being valid.
* We ran Data Reviewer Invalid Geometry checks against the feature classes in the parent database, as well as the feature classes in the replica. In the parent database, for the extent we are replicating, there were 2 features returned from the check. In the replica database, there were 4 features returned from the check. We have edited/corrected all invalid features; however, we still receive the error when attempting to sync.

Has anyone ran into this issue before? Any ideas, troubleshooting tips, etc... would be most appreciated. At this point, we don't mind deleting the replica and starting over; however, I foresee us hitting this again and would love to put my finger on the exact cause of this issue.

RuntimeError: Function requires a state to be set for stream

$
0
0
ArcStandard 10.1, versioned editing, remote SDE 10.0 on MS SQL, Win7-64, python 2.7, editing line fc of geometric network

RuntimeError: Function requires a state to be set for stream [...sde path to fc...][STATE_ID = 0]

Failed on a cursor update (rows.updateRow(row)) (not sure if it's relevant where it failed though)

I'm stepping through lines and copying data to the line from points intersecting the endpoints of the line. I'm running this against a little more than 4000 lines. The above error popped up after processing the 513th line. After the above error I copied the entire geometric network to a local file GDB, ran the same script, at it successfully completed all 4000+ lines.

Suggestions?

PS: the script runs from my ArcMap project so I just realized I may have posted this to the wrong forum. Can someone comment on that too?

Direct Connect driver release isn't compatible with ArcSde database instance release

$
0
0
I am a vendor working on some customer problems. One of my inititives is to backup their existing Microsoft SQL server 2008 R2 64-bit databases, including some arcgis ones. I have been successfully able to restore databases, but when my product starts any GIS-related function gives an application error that the "Direct Connect driver release isn't compatible with ArcSde database instance release" I've included the entire text of the Windows application log error.

As I understand it, this error is thrown when a version of ARCSDE is incompatible with ARCGIS Runtime Engine. When running the patchfinder.exe utlility, both ArcGIS Engine Runtime 9.3 Service Pack 1 and ArcGIS ArcSDE for SQL Server 9.3 Service Pack 1 are visible. After installing ArcSDE 9.3 SP1, I ran the post installation utility and upgraded the geodatabases.

Does anyone know what else we can try? Should we try to upgrade to 9.3.1? If so, where can I obain a copy of ArcGIS Engine Runtime 9.3.1?


Full text:

ServerName: PremierOne_01_GIS
LoggerName: pswgs.gis
Level: CRITICAL
ErrorCode: 794040913595727872
Message: Open SDE workspace 172.25.100.50\Premierone, sde:sqlserver:172.25.100.50\Premierone, GISSDE_DATASET_A, S-P1-GISSDE-Reader, sde.DEFAULT error.
Has Been Logged: False
Original Fault ID: 1d2ba46e-781c-4c39-8d18-b6feebf61492
Message Key:
Error Code: 0
Application Name:
Logger Name:
Inner Exception:
PSWGS.GIS.Geospatial.GeospatialException: Could not open SDE geodatabase using connection properties: 'PSWGS.GIS.GisCommon.SdeDirectConnectionProps') ---> System.Runtime.InteropServices.COMException (0x800501C2): ArcSde Direct Connect driver release isn't compatible with ArcSde database instance release[Incompatible ArcSde direct connect driver/ database instance release. A]
at ESRI.ArcGIS.Geodatabase.IWorkspaceFactory.Open(IPropertySet ConnectionProperties, Int32 hWnd)
at PSWGS.GIS.Geospatial.SdeWorkspaceManager.TryOpenSDEWorkspace(SdeDirectConnectionProps connectionProperties) in c:\b\68\189\Sources\Product\GIS\Development\Common\Software\ProductCode\GeospatialCommon\Geospatial\SdeWorkspace\SdeWorkspaceManager.cs:line 517
--- End of inner exception stack trace ---
at PSWGS.GIS.Geospatial.SdeWorkspaceManager.TryOpenSDEWorkspace(SdeDirectConnectionProps connectionProperties) in c:\b\68\189\Sources\Product\GIS\Development\Common\Software\ProductCode\GeospatialCommon\Geospatial\SdeWorkspace\SdeWorkspaceManager.cs:line 553
at PSWGS.GIS.Geospatial.SdeWorkspaceManager.OpenSDEWorkspace(SdeWorkspaceInfo sdeWorkspaceInfo) in c:\b\68\189\Sources\Product\GIS\Development\Common\Software\ProductCode\GeospatialCommon\Geospatial\SdeWorkspace\SdeWorkspaceManager.cs:line 461

DBTune parameter on Multiple Enterprise Geodatabase ArcSDE 10.1

$
0
0
Hi All,
I'm working with Oracle 11.2, ArcSDE 10.1 and ArcGIS 10.1 and I have created multiple enterprise geodatabase from Arc Catalog. It means I have 10 enterprise geodatabase and one SDE enterprise geodatabaseall, all have its own user administrator.

My requirement is, I have to separate the index tablespace and data tablespace by editing DBtune file for each enterprise geodatabase.

In case of SDE, there is no problem I can export and import the edited dbtune file. But in case of other 10 Enterprise geodatabase only export command is working, if I want to import edited dbtune file using sdedbtune command it gives me error "insufficient privileges".

Need an expert advice. Please its urgent.


Thanks in Advance

Amit

Geo-database in SQL

$
0
0
Have been trying to get ArcGIS 10.1 (desktop) 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 techology). Does any one have an idea how I can do direct connection?

number of parts in shape is incorrect for its geometry type error on copy/paste

$
0
0
Hi

I'm trying to migrate a feature class (approx 16 million records) from a 9.2 SDE database (Oracle) to a 10.1 SDE database (SQL Server). I've extracted the data from 9.2 to a file geodatabase via copy/paste successfully. However, when attempting to copy/paste from the file geodatabase to the 10.1 SDE database it fails and gives the following error:

"number of parts in shape is incorrect for its geometry type"

I've run Check Geometry and it reveals some short segments and null geometries. I've then run Repair Geometry successfully, but when attempting to copy/paste the repaired feature class I get the same error.

What I can't quite understand is that the data originates from an SDE database, albeit 9.2, so surely shouldn't have features that are not valid in SDE. Also, I would have expected Repair Geometry to fix any geometry errors.

Anyone got any idea what might be causing the data not to copy into 10.1 SDE? Also any bright ideas for a work-around would be appreciated as I need to get this data loaded.

The source system is:

SDE 9.2 sp5
ArcGIS Desktop 9.2 sp5
Oracle 10g using binary storage

The target system is:

SDE 10.1 sp1
ArcGIS Desktop 10.1 sp1 plus SQL Server 2012 patch
SQL Server 2012 with GEOMETRY storage

Cheers

John

Layer file to ArcSDE

$
0
0
Evening everyone,
I created a layer file from an existing Land Use which I want the color scheme to remain the same as it is used by different users.
Then I import both files, the Shape file, and the layer file in which I created from the Land Use shp file, to an ArcSDE database. However, when I view the layer file in ArcSDE database from ArcCatalog no color scheme show. Everything is in black and white. Can someone help me figure out what I am doing wrong.
By the way, I am using ArcGIS 10 (Arc Info).


Best regards,
Rudy

Documenting fields

$
0
0
Hi

I'm currently trying to document our geodatabases for deployment and would like to add descriptions (not aliases) to my fields. I can't see anywhere to do this per field. Adding metadata is necessary anyway, but we'd like to be able to access that information in one place, ideally access those descriptions programmatically (using python), and ideally do it once. Using metadata alone is just a waste of time because we have to copy all the field information manually between aggregations of our tables.

What happened to reducing duplication of effort? Every other piece of database software has a provision for adding comments to individual fields, why not ArcGIS? I hope I've missed something because editing metadata is painful.

Any suggestions are appreciated.

Thanks

Creating Versions at Feature Class level

$
0
0
Is it possible to only create versions of a single feature class in a feature dataset?

For example: If I have two editors working on each of their own version of a feature dataset, 1) editing trees 2) editing irrigation -- I want them to be able to view the default version of the layers but want to avoid them posting changes accidentally. Is it possible to set up the dataset some how? Where user 1 can view irrigation and user 2 can only view trees?

Calculate field based on sum of other fields

$
0
0
Working with a personal geodatabase, I am trying to calculated a field for a layer that contains 5000+ polygons based on the sum of 7 other fields. I.e., every polygon has either a "1" or a "<null>" value in each of the 7 fields. If one of the polygons has 4 "1" values and 3 "<null>" values, I want my new field to show a "4."

When I carry out the calculate field command (sum_all= [field1]+[field2]...etc.) the program takes several hours to process the command, but no change occurs in the new (sum_all) field.

I hope that there is a simply solution, any help is much appreciated!

Jacob

Real time Tuning ArcSDE

$
0
0
Good Day Admin's,

I was wondering the things to be considered in Tuning ArcSDE
current environment is
RHEL 6.2, Oracle 11g, ArcSDE 10.1

Can you please share the real time tuning methods / routine strategy to be taken under consideration for the optimum results.

Thanks in advance
-AS :cool:

Azure SQL Database and ArcGIS experience

$
0
0
I am testing how we can use Windows Azure SQL Databases along with ArcGIS Server 10.1 and would like to hear your experience. Currently I'm having problems publishing a map service.

Scenario:
1) Created an empty database via the Azure SQL Database interface - SUCCESS
2) Connected to my Azure SQL database from ArcCatalog - SUCCESS
3) Created a new feature class (multipoint) from ArcCatalog - SUCCESS
4) Loaded some points into the feature class from ArcCatalog - SUCCESS
5) Created a new map document showing the points in ArcMap - SUCCESS
6) Tried to publish the map from ArcMap in our ArcGIS Server environment - FAILED

Problem: The data source is not registered and the data will be moved to AGS: '24011 - Layer's data source is not registered with the server and data will be copied to the server'.

When I then try to register the data source (Azure SQL) I get the message: '...The connection property set was missing a required property or the property value was unregnized... Could not open a connection to SQL Server...'

Since it is not a problem for me to connect from ArcCatalog and ArcMap I do not really see the problem.

Any ideas or experience are welcome.

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?
Viewing all 1584 articles
Browse latest View live