|
POST
|
That obviously depends on what tool you are using to build the setup. There are many choices such as Wise, Wix, InstallShield, Visual Studio, etc. One thing that you do need to do is to determine the directory by reading the registry. This is a Setup Project type in Visual Studio 2008
... View more
06-01-2011
06:40 AM
|
0
|
0
|
441
|
|
POST
|
On a different (but similar topic) note, how do I tell my setup project to add a specific file to a specific directory on the target computer/client? I have a Crystalreport.rpt file that needs to be automatically added to the C:\Program Files\ArcGIS\Desktop10.0\Bin directory on the install process.
... View more
06-01-2011
06:30 AM
|
0
|
0
|
2909
|
|
POST
|
You can also manually copy the assemblies and use ESRIRegAsm to see if that gives you any more information. If it is missing references you will get errors. In some cases running a .net msi over the network can give problems, so that is another thing to check. I still think you need the .net interop installed but with 10 I am not sure, the dotnet folder is not in the install folder any more, I would have to read up on the new things. Cheers Thanks again, You very well might need that interop, but I did manage to get the custom tools installed on a client that only has ArcGIS 10 installed (ie, no .NET Support SDK is listed in the Add/Remove programs list). One thing to note/consider is that I am finding many organizations are implementing tight control over the IT infrastructure --- this means that very few have Admin rights in order to install and or register things as you suggest. This makes things quite difficult because as a developer, never do things go as planned and there always seems to be hiccups along the way. Case in point: when an install fails, it becomes a complex issue to debug simply by the nature of how the IT policies in place affect how that debug would work. That is, I have to debug THRU the IT department now because I do not have admin rights to install things! Hope that makes sense. But this is something that I think more and more developers will have to deal with as IT policy within organizations become more and more restrictive.
... View more
06-01-2011
05:31 AM
|
0
|
0
|
2909
|
|
POST
|
So you built a custom setup and it fails when run. You can debug this in a couple of ways: Run msiexec from the command line and enable logging (Google on voicewarmup) Perform the installation steps manually and see which references, if any, are missing. You can identify missing references using fuslogvw or Reflector. Thanks for the tip, Richard. I will attempt to incorporate more logging information as I run into more of these issues. On your second bullet point, I did go thru and manually "clean" the original assembly/app (which it did have some old refs and or config stuff in there that was not necessary). However, I don't believe any of this is the cause of my 1001 error. But it did force me to do some house cleaning for sure. Thanks again.
... View more
05-31-2011
11:47 AM
|
0
|
0
|
2909
|
|
POST
|
I believe (99% certain) that this issue is the result of attempting to associate an assembly build in Debug with a Setup project. That is, things were compiled in Release mode, but deployed in Debug/older version (or vice-versa).
... View more
05-31-2011
11:45 AM
|
0
|
0
|
2909
|
|
POST
|
The option shows up on first install if you have the microsoft .net framework installed. I am not sure about modify. Do you have the microsoft Framework 2.0 or higher installed? Well, Looks like this issue is the result of something else in my assembly... I am getting a 1001 unable to install loader type error during the setup/deployment of my custom tool, so I had thought that this was because the client didn't have the .NET Support SDK installed. ...but I don't think that is an acutal requirement to get my custom toolbar installed after all. There is something else in my project that is being referenced or something. I am a bit unsure.
... View more
05-31-2011
10:49 AM
|
0
|
0
|
2909
|
|
POST
|
I cannot seem to get this installed correctly -- this is for a client running ArcGIS Desktop 10. I thought by choosing to "Modify" the ArcGIS10 Installation it would provide the option to include the .NET Support SDK, but it does not. I did locate a seperate .msi that is suposed to be the SDK support (its in a file folder that someone has titled "SDK_dotnet"), so I attempted to run this .msi but get the following error: "ArcObjects SDK for the Microsoft .NET Framework requires a supported edition of Microsoft Visual Studio 2008 SP1 to proceed". Which this of course then fails to install. I don't get it. I am simply trying to deploy a customized Toolbar, that I have built the Setup project for, and it's .msi --- adding a launch condition to check for .NET support. Anyone have a tip on how to get .NET Support installed on a client (ArcGIS Desktop 10) client? Thanks
... View more
05-31-2011
09:58 AM
|
0
|
11
|
10093
|
|
POST
|
Dang! Fast fingers, guys! But, no. Forcing it to be an integer does not help. I tried that earlier, with no luck. That error shows up somewhere in the depths of the ESRI web as an Internal Geometry Error, or something like that. I played around with some of the vertices and found a single vertex that, if moved, it would run fine. -T I cannot seem to replicate the error you are seeing -- switching around the miles value from whole integers (5) to double values. I even added a little 1-meter notch into the polygon per the image you posted, and still your sub/code ran without error.
... View more
05-25-2011
10:17 AM
|
0
|
0
|
1796
|
|
POST
|
Does this happen with only integer numbers as opposed to decimals or just 5 but not 6? Try forcing the number to a double data type as in Dim dBufferMiles As Double = 5.0R or Dim dBufferMiles# = 5 Doh -- we were reading the same thing. You were fast on the answering. Sorry there, Ken -- didn't mean to barge in!
... View more
05-25-2011
09:29 AM
|
0
|
0
|
1796
|
|
POST
|
It is ALWAYS on the same polygon, and ONLY when dBufferMiles = 5. If I change the buffer to 4.9 or 5.1, or just about any other number I've tried, the buffer works fine. Would this be a problem of Integer values rather than Double/Decimal values being used (ie, fails when the integer 5 is used)?
... View more
05-25-2011
09:28 AM
|
0
|
0
|
1796
|
|
POST
|
What was the problem? I get the same error when debugging ArcMap add-on. Thank you in advance! To disable the error message, open your project properties and click the "Debug" tab. On this tab, uncheck the box: "Enable unmanaged code debugging". However, I believe that if you are attempting to call external COM objects, or a custom program written in native code that calls your project and you need to debug the native code, then you might need this option turned on.
... View more
05-25-2011
06:19 AM
|
0
|
0
|
916
|
|
POST
|
Dan, Can we assume that you are attempting to update the attributes for features of an ArcSDE Layer? (you say that the issue occurs with a "version", but not with a shapefile). This may or may not be the exact resolution to your problems (you say it wipes out all of the rows after it runs), but I do know that if you are attempting to modify or alter SDE data, then you will need to Start and Stop an edit session. Have you tried to manually start an edit session, then run your code?
... View more
05-25-2011
06:07 AM
|
0
|
0
|
500
|
|
POST
|
Ok, I found the problem was with the way I was setting up my IRelationshipClass. I don't remember exactly where I found the example in setting this up, but I was not explicitly stating the Cardinality (for some reason I was using 0, but it did not error, so I believed this was working ok). Anyway this is what you should not do:
pRelationshipClass = pMemoryRelationshipClassFactory.Open("Join", pTable, sTableField, pFeatureLayer.DisplayFeatureClass, sLayerField, "forward", "backward", 0)
You should explicitly state the Cardinality like so:
pRelationshipClass = pMemoryRelationshipClassFactory.Open("Join", pTable, sTableField, pFeatureLayer.DisplayFeatureClass, sLayerField, "forward", "backward", esriRelCardinality.esriRelCardinalityOneToOne)
... View more
05-23-2011
11:41 AM
|
0
|
0
|
465
|
|
POST
|
In addition: When an Identify is performed on a feature, the information is all there (including any joined field information) and there is no such error. The error only occurs when attempting to open the attribute table of the Layer. Alternatively, if I attempt to perform a SelectByAttributes on the attribute table, it cannot load any of the fields and therfore cannot query anything with the Querybuilder UI. Also: I cannot make any selections at all with the SelectFeature tool. Also2: When I export the layer to a shapefile, it keeps all of the joined fields and contains the correct values. I am not having much luck locating anyone/thread/post with this similar behavior. I've read thru a couple of items that suggest re-creating the layer and re-setting the Shape index value, then appending the data from the original layer, but this does nothing to alleviate the error.
... View more
05-23-2011
11:17 AM
|
0
|
0
|
465
|
|
POST
|
ArcGIS10 / Personal Geodatabase / Table and FeatureClasses I am having some difficulty determining and finding a suitable remedy for a reocurring error. I have developed some customized ArcObjects that populates an ITable, then joins(IMemoryRelationshipClassFactory) this with another layer in the PGDB. Actually, there are no errors during this entire process and everything renders perfectly. The error comes when attempting to open the attribute table of the layer (after the join is complete). This is the exact error message in this format (multi-line message): There was an error loading records The spatial index grid size is invalid [OID Table0] The spatial index grid size is invalid That it's -- those 3 lines appear and the attribute table is blank. However, if I remove the Join manually, then there is no error opening the attribute table! Any help is appreciated. james
... View more
05-23-2011
08:04 AM
|
0
|
2
|
1092
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-17-2020 10:47 AM | |
| 1 | 10-25-2022 11:46 AM | |
| 1 | 08-08-2022 01:40 PM | |
| 1 | 02-15-2019 08:21 AM | |
| 2 | 08-14-2023 07:14 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-22-2025
02:28 PM
|