|
POST
|
I have not. We've completely migrated to 10.2 already so I sorely hope this is not the case. Testing that really isn't an option since we've also migrated our GIS server to 10.2 already. I don't think I have the ability to test on a 10.1 server. - Corbin de Bruin
... View more
10-29-2013
12:02 PM
|
0
|
0
|
1533
|
|
POST
|
Is there a setting (rule) that would tell the software to possibly keep the old database information instead of the new database information when editing data, as opposed to the scenario of adding a new record where there is no comparison between records needed which you say is working correctly? Hi Mike, That setting is handled through the "Synchronize Changes" wizard in ArcMap, but I've tested this possibility and decided it is not the problem. I am not programmatically handling the setting you're describing. I forgot to mention above that I can produce the correct result using the native editing tools in ArcMap and then proceeding through the "Synchronize Changes" wizard on the Distributed Geodatabase toolbar. I used that as a test to ensure that it was in fact my custom .NET Add-In that was causing me problems. And of course, it is absolutely necessary that I use the Add-In for my production work. I now have an incident in with ESRI regarding the issue. It'll take a lot of time to get them a stripped down code sample that demonstrates my issue, but after I do I will be sure to post it here as well. - Corbin de Bruin
... View more
10-29-2013
11:37 AM
|
0
|
0
|
1533
|
|
POST
|
Hello all, I'm having trouble with saving to SDE checkout replicas in VB.NET. Changes made to the relative replica (file geodatabase) through my Add-In software are not reflected when "Sychronize Changes" is run on the replica from the Distributed Geodatabase toolbar. My Add-In will add new records with attribute information, but edits to records that existed when the checkout was made do not show any edits after synchronizing changes. I believe this has something to do with the SDE add/delete editing tables, but I don't really know much about that. I appreciate any input, pointers, links, or code samples. Thank you. I'm willing to post whatever code you think is relevant (e.g. StartEditing, SaveMethod, StopEditing). I'm working in Desktop 10.2 ArcMap Add-In in VB.NET (using MS VS 2010) Thank you, Corbin de Bruin
... View more
10-28-2013
06:33 AM
|
0
|
9
|
2090
|
|
POST
|
Mike and all, I started using ArcGIS Diagrammer and it has great functionality. Unfortunately, it doesn't seem to provide any of the metadata functionality that X-Ray for ArcCatalog does, and the metadata functionality is what i'm looking to take advantage of. I've confirmed with further testing that the database is corrupted as soon as I open up an x-ray excel sheet from the 'X-Ray for ArcCatalog' add-in. I don't even have to save changes to the excel sheet. As soon as that happens, any database I create from that XML will be corrupted. The corruption can be seen very quickly because the feature dataset will have the wrong cordinate system. At this point, there is no way to fix the feature class's geometry.
... View more
07-22-2013
12:10 PM
|
0
|
0
|
1253
|
|
POST
|
Are you sure its not the bug where there is file geodatabase corruption when writing to a network share as highly publisized on the ESRI support page: I moved off the network for all testing done in the last 3.5 hours. I have also never had any of the problems described in that technical article when creating network share databases. I don't think my system has that hotfix. It was not mass deployed by Microsoft.
... View more
07-09-2013
06:33 AM
|
0
|
0
|
1253
|
|
POST
|
Hello all, I've been experimenting with X-Ray for ArcCatalog 10.1 for a few weeks now. It's VERY temperamental. I was convinced that, no matter how careful I was, I was unintentionally corrupting my own databases when creating fields or moving them around. I am now convinced, after repetitive testing, that X-Ray just creates corrupted databases. The corruption I'm seeing is features that won't show up in ArcMap or ArcCatalog preview. Something about the features' geometry has been damaged. The features show up in the attribute table, but they don't show up on the map. This is behavior that I have observed in brand new file geodatabases created from an XML that I've moved fields in. I was very careful to cut and insert the rows in excel so that all the field information was preserved. If anyone has information on how to correct this issue, I would greatly appreciate it. Could this possibly be an issue with something other than X-Ray? - Corbin de Bruin
... View more
07-09-2013
05:03 AM
|
0
|
6
|
4179
|
|
POST
|
I think I figured out my issue. When I relate to a table from a feature class, clicking on the highlighted record of the related table results in the datagrid gives me a "Missing or Invalid Parameters" error. My guess is, clicking on related records in the datagrid attempts to zoom to the record. Table records have no shape fields and cannot be zoomed to. Can I get any confirmation that this may be an issue? Is there a way around this. Am I going about my 'FeatureClass to Table' relate all wrong? I see this error message in versions 3.2.1, 3.2.2, & 3.3.3 of eSearch, and the respective viewer versions. Thank you for your time, Corbin de Bruin
... View more
06-25-2013
09:15 AM
|
0
|
0
|
2814
|
|
POST
|
I tested both the service and the configuration file in a 3.0 viewer with the 3.1.0 eSearch. That all worked as it's supposed to, so I don't think anything is going wrong on my end. I think it's either the 3.2 viewer not handling relates correctly or 3.2.2 eSearch not handling relates correctly.
... View more
06-25-2013
05:15 AM
|
0
|
0
|
2312
|
|
POST
|
Mike, I have now tested against the latest versions of IE, Firefox, and Chrome. Same result.
... View more
06-24-2013
11:42 AM
|
0
|
0
|
2312
|
|
POST
|
Hello all, Server 10.1 Viewer 3.2 eSearch 3.2.1 I'm having an issue with a 2032 error. I get it after querying a related table. The strangest part to me is that the search works perfectly, and then it displays a dialog box some time afterwards that just says, "2032 error." I am able to open a PDF from a related record, but then a few seconds later I get the 2032 dialog box from the viewer. I downloaded a web debugger (Fiddler 2.0) and got this error entry which coincides with the timing of the error message: Short: /arcgis/rest/services/SuffolkCounty/ContractRelate/MapServer/1/queryRelatedRecords?outFields=OBJECTID&f=amf&outSR=102100&relationshipId=0&returnGeometry=true&objectIds= Full: # Result Protocol Host URL Body Caching Content-Type Process Comments Custom 346 500 HTTP fs-gdb10:6080 /arcgis/rest/services/SuffolkCounty/ContractRelate/MapServer/1/queryRelatedRecords?outFields=OBJECTID&f=amf&outSR=102100&relationshipId=0&returnGeometry=true&objectIds= 333 text/html;charset=utf-8 iexplore:4900 At this point, I am out of my comfort zone. Any help is appreciated. -Corbin de Bruin
... View more
06-24-2013
11:06 AM
|
0
|
0
|
2312
|
|
POST
|
Hello again, I've been messing around a bit with EditSketch and I've managed to successfully draw a polygon with it, but I still don't know how to get a graphical representation while I'm dropping down verticies. I want the rubber banding effect so I can see where my last vertices are and how my polygon is going to look, however, using the rubberpolygon class doesn't work because I can't pan the screen in between plunking polygon verticies. I feel like there has to be another method out there that accomplishes my needs. Public Class ToolEditSketch
Inherits ESRI.ArcGIS.Desktop.AddIns.Tool
Dim featurelayer As IFeatureLayer
Dim featureClass As IFeatureClass
Dim feature As IFeature
Dim pGeometry As IGeometry5
Dim pActiveview As IActiveView
Dim projCoordSys As IProjectedCoordinateSystem5
Dim pEditSketch As IEditSketch3
Dim sketchOp As ISketchOperation2
Public Sub New()
End Sub
Protected Overrides Sub OnActivate()
'Define Spatial Reference and Coordinate System
Dim spatialReferenceFactory As ISpatialReferenceFactory = New SpatialReferenceEnvironment
projCoordSys = spatialReferenceFactory.CreateProjectedCoordinateSystem(102718) ' ESRI spatial reference code for Long Island Zone is 102718
'Public Method Call to fill global applicationa and document variables
InitializeApplicationVariables()
'Public Method Call to get the target layer and featureclass
featurelayer = GetLayer("Sewer Sheet Outlines")
featureClass = featurelayer.FeatureClass
End Sub
Protected Overrides Sub OnMouseDown(ByVal arg As ESRI.ArcGIS.Desktop.AddIns.Tool.MouseEventArgs)
'Get the Activeview from the map document
pActiveview = pMxDoc.FocusMap
'If statement to Start Edit Session if not already Editing
'set the Edit Sketch properties
pEditSketch = editor
pEditSketch.GeometryType = esriGeometryType.esriGeometryPolygon
pEditSketch.Geometry = New Polygon
Dim point1 As IPoint = New ESRI.ArcGIS.Geometry.Point
point1 = pActiveview.ScreenDisplay.DisplayTransformation.ToMapPoint(arg.X, arg.Y)
pEditSketch.AddPoint(point1, False)
End Sub
Protected Overrides Sub OnDoubleClick()
pGeometry = pEditSketch.Geometry
feature = featureClass.CreateFeature()
feature.Shape = pGeometry
feature.Store()
ModuleGdBFunctions.EndEditSession()
pActiveview = pMxDoc.FocusMap
pActiveview.PartialRefresh(ESRI.ArcGIS.Carto.esriViewDrawPhase.esriViewAll, Nothing, Nothing)
End Sub
Protected Overrides Sub OnUpdate()
End Sub
End Class
... View more
06-14-2013
11:36 AM
|
0
|
0
|
1186
|
|
POST
|
My assumption is the same exact add-in works on your machine but not theirs. Correct? If not then you know that the add-in file is a renamed zip file so you can look in it in order to confirm that the assembly/DLL is present. Just copy to a file with the zip extension and open it using 7-Zip, WinZip, or a later Windows OS. Assuming that the DLL is present in the add-in: Perhaps your users have tighter security. What is their setting for BlockAddIns? http://help.arcgis.com/en/sdk/10.0/a...00004n7000000/ It it possible that your add-in is referencing an assembly which is not present on the customers machine, e.g. maybe you are using the .NET 4.0 framework but they have not loaded it. It is possible that a virus scanner is blocking the assembly? Perhaps you could post your project with all the business logic removed? Yes the Add-In works on all my office machines. I unzipped the .esriaddin and the DLL was present. This makes sense since the install works fine on my in-office machines. Security is what I'm suspecting is causing the problem, but I can't seem to find out when or where it's an issue. I was hoping somebody had come across these symptoms before and knew the quick fix. I didn't know about that BlockAdd-Ins setting. I will check it out and get back to you. I'm targeting .NET 4.0 and the machines have it installed. There are no other dependencies. Anti-virus is a possible roadblock. I'm hoping that's not the case as I may not get permission to turn it off. Test addin on your office machines. The deployment is reported in Visual Studio's Output window when the project is built. The build's Output window reports information to diagnose the problem, if there are errors during the deployment process,. The output just says successful. The deployment on my office machines has always been successful.
... View more
05-08-2013
03:30 AM
|
0
|
0
|
1049
|
|
POST
|
It is a custom vb.net Add-In I developed. I did develope using Visual Studio 2010 and the Desktop Add-In template. I would prefer not to post the project if avoidable. We first attempted an install by copying the release compiled .esriaddin file to a folder on the C-drive of the client machine. Then we told ArcMap to look at that location with 'Customize>Add-In Manager>Options'. When that did not work, we tried the same install process, only we copied the .esriaddin to a network share and told ArcMap to look in that folder for Add-Ins. In both cases, we specified 'Load all Add-Ins without restrictions'. To clarify the behavior, the Add-In appears to be loaded in 'Customize>Add-In Manager' (as MyAdd-Ins when locally installed or SharedAdd-Ins when installed via the network), however, the Add-In control on the toolbar appears as a red circle with a slash through it and the word "Missing" displayed in square brackets instead of the button text. When I check the user's local Desktop AssemblyCache, I only see the .pdb and .xml files, not .dll file. I'm not really sure if that's important, but that's where I look when I'm having install problems on my development machine. Please tell me if I have left out any more important details. I realize my first post was a bit vague.
... View more
05-07-2013
12:57 PM
|
0
|
0
|
1049
|
|
POST
|
Hello all, When my 10.1 Add-In is installed on a client's machine, it does not show up properly. It says "Missing" on the toolbar and clicking the button does absolutely nothing. When I check the user's AssemblyCache, I only see the .pbd and .xml files. The DLL isn't writing. I'm not getting errors messages of any kind. It works on all my office machines. It doesn't work using either the network share or local install methods. Any help is appreciated, Corbin de Bruin
... View more
05-07-2013
10:25 AM
|
0
|
6
|
2908
|
|
POST
|
I don't have a good clue on that. After much testing, I found that the relate doesn't work when you have two layers pointed at the same data source where one has a definition query. In my case, the definition query was not even on the layer I had the relate on. This seems to be an ESRI bug. I have not yet gotten around to reporting it, but I plan to. Thank you for your help!
... View more
04-29-2013
02:05 PM
|
0
|
0
|
3304
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 08-03-2012 08:07 AM | |
| 16 | 01-30-2015 11:34 AM | |
| 1 | 10-21-2014 07:41 AM |
| Online Status |
Offline
|
| Date Last Visited |
09-06-2023
09:03 PM
|