POST
|
We have an ArcSDE installed on a Windows SQL 2005 installation. There are 11 SDE services that are successfully running. We have one service which will not start and generates a Event ID 109 in the Windows Application Log. Unfortunately, the description of the event is: The description for Event ID ( 109 ) in Source( esri_sde_...) can not be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: . The comment about a remote computer is a red herring as I'm viewing the Application Log on the SDE Server itself. So my questions are: Has anyone seen an Event ID 109 on an SDE Server before and fixed it? Does anyone know how get the Application Log to display the useful description of the error? Thanks, James.
... View more
08-26-2010
06:10 AM
|
0
|
0
|
239
|
POST
|
After working unsuccessfully on this problem a while, I got one of the iterations of the models to work. It would nicely return results in about 4 seconds. However, when I build the next 15 copies of the model, they wouldn't work producing the error messages detailed in my last post. It was suggested to me that I export the model that worked and one that didn't to Python to let me check what was going on. It was in the Python I found that I had set the Extension to "Union of Inputs" (which was trying to use the entire huge SDE as the extension of the results) in the model that did not work. I changed all the models leave the extension at "Default". I was now able to get the model to work on all 16 models in 7 seconds or less. This was a great improvement on the 16 minutes to error that was happening earlier. I moved the map and toolbox to my ArcGIS Server machine and tested the 16 models using the copy of ArcMap installed on the server. Everything worked nicely. I then did all the steps required to publish the map. (I use the ArcGIS Server Manager web interface which has worked nicely.) I published the map. I went to the ArcGIS REST API Admin web tool and cleared the REST Cache. Tweaked my application for the new map and model parameters. Tested my application. It didn't work. 😞 I had forgotten to go into the GeoProcessing Service that is started with the map and change it from Asynchronous to Synchronous. I changed the GeoProcessing Service for the map to Synchronous. I restarted both the GeoProcessing Service and the Map Service. I went to the ArcGIS REST API Admin web tool and cleared the REST Cache. Tested my application. It didn't work. 😞 I started the standard process of debugging a problem by looking at the error message returned. Unfortunately the error message is: [FaultEvent
fault=[RPC Fault faultString="Error Executing Task"
faultCode="500"
faultDetail=""]
messageId=null type="fault" bubbles=false cancelable=true eventPhase=2] I've come to the conclusion that 'faultCode="500"' is ArcGIS Server speak for "I don't know what the heck happened." As I mentioned in the initial post, I have learned that I can go to the \ArcGIS\Server\user\log directory and look up additional information on some of the faultCode=500 errors. Unfortunately, there's nothing in the log detailing the error. So combining my two sources I have "" and "" for the description of what went wrong. <vent on>Hopefully, ArcGIS Server 10 will have some better error messages. The current error messages suck!</vent off> I've worked through Preparing map documents containing tool layers help document. No luck. Per Kevin's suggestions I have tried to use "%scratchworkspace%\Tabulate_1A" for the output destination. Doing this in the ModelBuilder causes ArcMap to crash and disappear from the desktop. Except when I did it to document it for this post. When I execute the model I get double slashes in the comannd: BioMassTab1ASub "Feature Set" C:\DOCUME~1\CUTTSJ~1.UMC\LOCALS~1\Temp\\BioMass_Tabulated So here are the revised questions: How do I debug an error faultCode="500" when nothing is telling me what is not working? How do I fix the %scratchworkspace% having a trailing "\"?
... View more
08-04-2010
12:16 PM
|
0
|
0
|
2419
|
POST
|
Kevin, Thanks for the feedback. Dasa Paddock provided the answer I needed in the forum thread 'Add "Fields" to Polygons for passing to Geoprocess' to the question of how to add the necessary field. I have cleaned up the model implementing your suggestions and renaming things to make more contextual sense. The next phase of the project is to setup this model for each of 16 different rasters (OPTION_1A through OPTION_4D). I haven't figured out how to make OPTION_1A a variable that I can pass from outside of the model, so I decided to make 16 copies of the model. (It's really not that much work, but it would be nice to have the branching in models that is coming soon to an ArcGIS Server 10 near you.) I am now getting the following error when I attempt to run the above model:
Executing: RasterTabulate1A "Feature Set" E:\Projects\BioMass\BioMass_Scrap.gdb\Tabulate_1A
Start Time: Wed Jul 21 10:00:25 2010
Executing (Tabulate Area): TabulateArea "Feature Set" CNTYIDFP OPTION_1A Value E:\Projects\BioMass\BioMass_Scrap.gdb\Tabulate_1A 10
Start Time: Wed Jul 21 10:00:25 2010
ERROR 010117: Input E:\Projects\BioMass\g_g_g9 does not have an attribute table.
Failed to execute (Tabulate Area).
End Time: Wed Jul 21 10:06:35 2010 (Elapsed Time: 6 minutes 10 seconds)
Failed to execute (RasterTabulate1A).
End Time: Wed Jul 21 10:06:35 2010 (Elapsed Time: 6 minutes 10 seconds)
Since I don't create g_g_g9 there's no way for me to build the attribute table as suggested in the help for the error code. The really annoying thing it that the original model worked, and now the subsequent models don't. I suppose I could manually build a raster from the Harvest_Area using, I would guess, the "Feature to Raster" tool. But since I have one carefully guarded model that works without going through the "Feature to Raster" process I know that some magical setting of switches, prayers and environmental settings will work. So my question is: What magical incantation do I need to do prevent this annoying 010117 error reliably?
... View more
07-21-2010
08:03 AM
|
0
|
0
|
2419
|
POST
|
Kevin, Thanks for the pointers. I was using absolute paths but fortunately, both machines have the same directory structure. The "E:\Projects\BioMass" directory exists on both my development machine and the production server. I've replaced the absolute path with "%scratchworkspace%" for the output. I do have ArcMap on the production server and everything works perfectly there. The sde.SDE.option_1a is a (feature) layer in the map. I believe I may have identified the problem but as of yet I haven't figured out how to test it in the Flex application. I know the following will cause a problem when run from the desktop. In the desktop, when I am adding features interactively, I can add a feature by clicking on the map to define a polygon area. However, if I fail to add a value in the "CNTYIDFP" column (See below) the model will die with an error 999999. I have identified that this is because the TabulateArea tool requires a value in the "Zone Field". (See the definition of the tool below.) I am hoping that if I can figure out how to get Flex to add a value identified as "CNTYIDFP" to the polygon that I'm passing to the model then everything will work. (Fingers crossed) I've post the "how-to" question in the ArcGIS API for Flex forum. Let's hope I can get an answer from there and can get this project finished. If you have any contacts in the Flex API area of ESRI you might pop them a note that there's a question pending. Thanks.
... View more
07-09-2010
06:49 AM
|
0
|
0
|
2419
|
POST
|
I have a Geoprocess which requires the following parameter: Parameter: Boone_County
Data Type: GPFeatureRecordSetLayer
Display Name: Boone_County
Direction: esriGPParameterDirectionInput
Default Value:
Geometry Type: esriGeometryPolygon
Spatial Reference: 26915
Fields:
+ OBJECTID_1 (Type: esriFieldTypeOID, Alias: OBJECTID_1)
+ OBJECTID (Type: esriFieldTypeDouble, Alias: OBJECTID)
+ STATEFP (Type: esriFieldTypeString, Alias: STATEFP)
+ COUNTYFP (Type: esriFieldTypeString, Alias: COUNTYFP)
+ COUNTYNS (Type: esriFieldTypeString, Alias: COUNTYNS)
+ CNTYIDFP (Type: esriFieldTypeString, Alias: CNTYIDFP)
+ NAME (Type: esriFieldTypeString, Alias: NAME)
+ Shape (Type: esriFieldTypeGeometry, Alias: Shape)
+ Shape_Length (Type: esriFieldTypeDouble, Alias: Shape_Length)
+ Shape_Area (Type: esriFieldTypeDouble, Alias: Shape_Area)
Parameter Type: esriGPParameterTypeRequired
Category:
I know how to pass the Polygon, but I have to have the "CNTYIDFP" field as well. How do I go about adding the fields? Here's a snippet of the code: var driveTime:FeatureSet = new FeatureSet();
driveTime.features = driveTimeA;
var params:Object = { "Boone_County": driveTime };
cursorManager.setBusyCursor();
hothBioMass_Raster.execute(params);
... View more
07-08-2010
11:54 AM
|
0
|
1
|
471
|
POST
|
I am attempting to build a model that will be published as a Geoprocessing service on a ArcGIS Server 9.3.1. The service will be called from a Flex application. I've got the Flex part down. I can call several other models from the Flex application. Here's the basic model: When I initially setup the model, it ran nicely. Although it only worked for the specific predefined county I included in the map for building and testing the model. When finished the "Boone_County" will be passed to the model as an area defined in the Flex app. The next changes I made to the model were to change the data type of "Boone_County" from a "Composite Geodataset" to a "Feature Set" and made it a parameter so I could pass into the model the area from my Flex app. I also made the "Tabulat_Export_1" a parameter so I could see the results. Since "sde.SDE.Option_1" is map specific, I dragged the model to the map, and saved the map. I copied the map and toolbox to my ArcGIS server and published the map. The map and GPService were both successfully started. I go to my Flex application and call the GPService and receive the infamous faultCode=500 errormessage [INDENT][FaultEvent fault=[RPC Fault faultString="Error Executing Task" faultCode="500" faultDetail=""] messageId=null type="fault" bubbles=false cancelable=true eventPhase=2][/INDENT] which generally means something didn't work, but we don't know what. I have learned that I can go to the \ArcGIS\Server\user\log directory and look up additional information on some of the faultCode=500 errors. Here's what I got: [INDENT]<Msg time="2010-06-07T16:06:57" type="ERROR" code="20010" target="BioMass/BioMass_Raster_1.GPServerSync" methodName="GPServerSync.CheckMessages" machine="hoth" process="8672" thread="6212">Executing (BioMass_Tabulate_1A_V0): BioMassTablulate1AV0 "Feature Set" E:\Projects\BioMass\Tabulat_1 Start Time: Mon Jun 07 16:06:57 2010 Executing (Tabulate Area): TabulateArea "Feature Set" CNTYIDFP sde.SDE.option_1a Value E:\Projects\BioMass\Tabulat_1 10 Start Time: Mon Jun 07 16:06:57 2010 ERROR 999999: Error executing function. Failed to execute (Tabulate Area). End Time: Mon Jun 07 16:06:57 2010 (Elapsed Time: 0.00 seconds) Failed to execute (BioMass_Tabulate_1A_V0). End Time: Mon Jun 07 16:06:57 2010 (Elapsed Time: 0.00 seconds)</Msg> [/INDENT] It is simply saying that "Tabulate Area" didn't work, but fails to tell me why. Anyone have any suggestions?
... View more
06-07-2010
01:14 PM
|
0
|
5
|
2756
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|