|
POST
|
You may have harmed the ability of ArcGIS to access your data by using that 'sdelayer -o register' directive, because you left out a very important option. Every command-line registration must specify a complete coordinate reference (-R existingSRID or -G/-P/-x{/-z/-m}). You left out the "-x" option so there's no telling what values might be associated with the false X/Y units and scale (except that they're unlikely to be compatible with anything else in your database). It may be necessary to drop the table (using ArcGIS, since it was registered with the geodatabase), then recreate it and re-register with a shared/common coordref using Desktop. The only required use for 'sdelayer -o register' at this point is for spatial view registration, or for registering USER-set rowid columns in tables which do not require full integration into the geodatabase. - V
... View more
02-02-2016
06:55 AM
|
2
|
1
|
1436
|
|
POST
|
The most important thing to remember when assigning wishes to SDE is that it no longer exists! You need to think "enterprise geodatabase", not SDE. And in your enterprise environment, it is Oracle who is the gatekeeper to Oracle access. The SE_connection_create function just knocks at the door. You don't walk around asking people in the neighborhood if they knocked on your door, you ask the doorbell logger. It is probably true that ArcGIS needs an idependent mechanism for tracking unsuccessful login attempts, but that isn't a solution to the problem of changing passwords associated with service accounts. I'm not even sure that problem is tractable. - V
... View more
02-02-2016
06:38 AM
|
1
|
2
|
2425
|
|
POST
|
Blaming ArcSDE for the lockouts is a bit like blaming the doorman for the rent. You have services which are connecting as a user. Those services had been giving the correct password, but now that it's been changed, they are no longer doing so. You'll need to track down the connection file(s) for these services, and update them with the correct password. Unfortunately, there may also be project files and layer definitions which also have this (now) incorrect password, and will try the password once for each layer linked to the connection. Now that Direct Connect is the norm, there is no application server to host all the connection failure logs, so you're likely going to need to consult the database log of login failures (though where that is is not immeadiately obvious) or to consult the Direct Connection logs on every network client machine (which is likely to be tedious). - V
... View more
02-01-2016
10:34 AM
|
0
|
4
|
2425
|
|
POST
|
You always need to be careful when Windows says it can't find a DLL, because sometimes it finds a DLL with the right name, but the wrong architecture, and fails. You should make sure that the target directory is before the FileGDB API installation in your PATH when testing locally (actually, even better would to not have the FILEGDBAPI_HOME\bin* in the PATH at all), and to make sure that the required binaries (both the C# wrapper DLL and FileGDBAPI runtime DLL are in the bin folder with your application). Please check the contents of C:\temp\CityTrackerNav\CityDPW_NavmanTracker\bin64 to make sure all the pieces are present. Linux has an OS-level tool to inspect binaries for DLL resolution, but Windows requires a third-party tool (I have used Dependency Walker successfully for this purpose). - V
... View more
01-30-2016
01:56 PM
|
0
|
0
|
1415
|
|
POST
|
Use of Microsoft SQL-Server 2008 has been deprecated. ArcGIS 10.4 will not support 2008 / 2008 R2 (top of page 3 in deprecation notice): Other 10.3 Notes [Added January 24, 2015] Support for Microsoft SQL Server 2008/2008 R2 will end with the last release of ArcGIS 10.3 series of releases (ArcGIS 10.3.x) It is now time to migrate to SQL Server 2012 or 2014, or some other supported database. - V
... View more
01-29-2016
06:36 AM
|
1
|
0
|
998
|
|
POST
|
If the geometry is being continually updated, then the time to make the PCOUNT edit is when the shape is updated (together, in one transaction). Updating the counts in batch would only make sense if all the polygons are edited at the same time, in which case you should make all the edits to an intermediate copy, then update the master after the long-running job is complete. - V
... View more
01-26-2016
09:52 AM
|
0
|
0
|
3323
|
|
POST
|
No, database triggers are generally written in SQL (for which this is a relatively simple operation).
... View more
01-26-2016
09:46 AM
|
1
|
1
|
3663
|
|
POST
|
You'd need to re-run the operation for each changed geometry, when it is changed. This sort of thing is better left to a database trigger, but then you'd need to be using an enterprise geodatabase. - V
... View more
01-26-2016
08:43 AM
|
1
|
3
|
3663
|
|
POST
|
This doesn't have to do with the FileGDB API so much as Visual Studio/Windows software development. Esri ships two libraries, the link library in lib, and the runtime library in bin. The link library is just a set of stubs so the compiler knows the DLL function signatures, and the runtime library contains the actual file geodatabase functions. Actually, it's a bit more complicated than that, because Esri ships three different API implementations for Windows, for Visual Studio 2010, 2012, and 2013, and each of them have both 32-bit and 64-bit libraries, and each of those have DEBUG and NDEBUG builds. And then there's the C# library, Esri.FileGDBAPI.dll, with one wrapper library per application word-size per compiler environment. And the matching PDB files, of course. (And there's 32-bit and 64 bit Linux releases, and GCC and CLANG MacOS releases.) As a software developer, you should not ever need to ship FileGDBAPID.dll, since the larger, slower debug libraries aren't of much use in production environments, so only FileGDBAPI.dll needs to be copied into the bin folder of your application (from bin or bin64, depending on which way you've compiled your application). For local testing purposes, you can include the runtime distribution folder in your local PATH, but it's best practice to test out of your application's bin folder, so you don't have to deal with runtime link issues later in the production chain. The location for those libraries is dependent on the location to which you've extracted the API zipfile, so we can't help you on that score. I would recommend that you set an environment variable for the File Geodatabase API home (e.g. FGDBAPI_HOME), so that you can use that environment variable in your VS projects -- in this way subsequent releases don't require rewriting all your project parameters. Visual Studio allows for command execution after successful compile (the "Post-Build" event in "Build Events"), so you can even automate the process of copying both your compiled binary and the runtime DLL into a BAT script if you choose (the details for that are off-topic here). - V BTW: GeoNet doesn't use gis.stackexchange.com formatting techniques, so duplicate cross-posts are not going to look the same.
... View more
01-26-2016
07:05 AM
|
2
|
0
|
2412
|
|
POST
|
I think you mean you opened a port. When a firewall is installed, most ports are closed. The term of art is "poke a hole in the firewall" to enable communication, and it does have sinister connotations, since too many holes would let a fire through. Be sure to always document whatever ports you enable, and to keep their scope appropriately limited. - V
... View more
01-25-2016
11:43 AM
|
3
|
2
|
1794
|
|
POST
|
Check the firewall on the server. Port 6080 must be accessible from the remote host. - V
... View more
01-25-2016
08:23 AM
|
1
|
0
|
1794
|
|
POST
|
Part of the issue is a thorough understanding of how databases work. I realize it's hard to step in to some other admin's shoes, but Esri can't provide all the pieces in the learning curve. I strongly recommend you find a book or class in SQL-Server administration. For the record, it appears that you have an 'SDE' database (SQL-Server manages many databases within the RDBMS instance). The full name of any table in a RDBMS that supports independent databases (which is all of them, as of Oracle 12c) is in the form database.owner.tablename. Databases almost never reference filenames, especially in table names, so the "SDE.filename.yadayadayada" reference is really owner "filename" and table "yadayadayada" in database "SDE". It is true that it is against best practice to name the database "SDE", but that shouldn't prevent you from accessing the data. What could prevent such access is the security model of the database -- by default users can't see tables owned by other users unless they have been explicitly granted this access, either to the user, or to a role to which the user belongs (see the GRANT directive). In addition, ArcGIS enterprise geodatabases require that table owners have a schema name which is identical to the username within the database (it's a neat capability for a user to wear a different nametag in every database, but it leads to fiendishly complex (and slow) metadata queries to support tables which have a schema other than the owner username). Non-owners who have a schema which does not match username should be able to access tables owned by users whose schema does match, though there may be quirkiness when working with selection sets of more than 1000 rows in a table. There is no solution to the schema/owner requirement, but it's rarely a bad idea to re-implement a geodatabase using best practices during the transition of geodatabase administrators. Unfortunately, learning best practice is not a short-term goal, so it might be necessary to use what is already in place a while, taking notes on what may be needed later in the transition process. You'll also be well-served by establishing a working rapport with the IT team with respect to GIS database administration -- sometimes it's just as critical to get some understanding of GIS issues at the IT level as it is in gaining database admin skills at the GIS level. - V
... View more
01-24-2016
11:40 PM
|
1
|
0
|
7174
|
|
POST
|
Why do you need the non-spatial view registered with ArcSDE? There aren't many use cases that require this. Any table or view can be registered with ArcSDE with: sdetable -o register -t tablename -C USER -c rowidcolumn -i sde:... -D ... -u ... -p ... But if there isn't any pressing reason to do so, I would recommend against it. - V
... View more
01-24-2016
07:04 PM
|
1
|
1
|
1739
|
|
POST
|
Tech Support generally doesn't support the File Geodatabase API. This GeoNet place is the closest thing available to a support mechanism. The people who maintain the FGDBAPI monitor this place, so if you want timely response, I would suggest you post the code here. - V
... View more
01-22-2016
11:24 AM
|
1
|
10
|
3398
|
|
POST
|
In order to demonstrate that it's a problem with the FGDB API, you'll need to provide a code sample which exhibits the behavior. There are a number of other possible explanations, and they all key on the exact contents of the geometry. Without a code sample, there is no way to distinguish between options.
... View more
01-22-2016
09:09 AM
|
1
|
12
|
2499
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-30-2026 09:35 AM | |
| 2 | 06-08-2026 09:13 PM | |
| 1 | 05-29-2026 12:51 PM | |
| 1 | 06-01-2026 06:03 PM | |
| 2 | 05-29-2026 08:31 AM |