POST
|
I am trying to track down the cause of an AcrMap application freeze. I am able to replicate the issue using a very complex mxd with mxdperfstat93 with default scale parameters. We were targeting the OS because the tests had no issues on Windows 2008 sp2 where it was failing on Windows 2008R2. Unfortunately, the OS was not the only variable. The 2008 sp2 machine is situated right next to the database (1 hop with a tracert). The 2008R2 machine is connected to the database with 1000 Mbps fiber line and has 4 hops with using tracert to the database. To test the OS being the cause, we built a VM with Windows 2008 sp2 and placed it in the same data center as the 2008R2 machine. We expected the mxdperfstat test to succeed but it failed the same as the 2008R2 machine. Because, we are not testing apples to apples (VM vs a physical server and different memory/cpu allocations) we do not want to jump to the conclusion that it is the network. I am doing client-side sdeintercept logging using direct connect. There are 2 logs that are output during the operation. Below is a snippet from each one before failure. Included is the end of the logs. The log ends abruptly without any error message. sdeinitercept.001 ======================================== [W 54:49] Command: SetSpatialConstraints [W 54:49] Long: 616 [W 54:49] Short: 2 [W 54:49] Long: 0 [W 54:49] Filter Array: [1] Table: IGC.TRANSMISSIONMAIN Column: SHAPE SearchMethod: SM_ENVP Truth: Must Pass FilterType: SE_SHAPE_FILTER FilterShape: Feature Number: 0 Feature Entity Type: Area Number of Points: 5 Feature Envelope: MinX: 990331.42421, MaxX: 1010976.70210 MinY: 824805.01608, MaxY: 843366.96063 Polygon Perimeter: 78414.44488 Polygon Area: 383216503.43924 --------------------------------------------------------------- Point X Y 2D Distance --------------------------------------------------------------- 1 990331.42421 824805.01608 2 1010976.70210 824805.01608 20645.278 3 1010976.70210 843366.96063 18561.945 4 990331.42421 843366.96063 20645.278 5 990331.42421 824805.01608 18561.945 [R 54:49] Long: 0 ======================================== [W 54:49] Command: ExecuteSpatialQuery [W 54:49] Long: 616 [R 54:49] Long: 0 ======================================== [W 54:49] Command: NextBuffer [W 54:49] Long: 616 ======================================== [W 54:49] Command: GetstreamError <<<<<<< this is the end of the log ------------------------------------------------------------------------------------------------------------------------------- sdeintercept.002 ======================================== [R 54:49] Command: SetSpatialConstraints [R 54:49] Long: 616 [R 54:49] Short: 2 [R 54:49] Long: 0 [R 54:49] Filter Array: [1] Table: IGC.TRANSMISSIONMAIN Column: SHAPE SearchMethod: SM_ENVP Truth: Must Pass FilterType: SE_SHAPE_FILTER FilterShape: Feature Number: 0 Feature Entity Type: Area Number of Points: 5 Feature Envelope: MinX: 990331.42421, MaxX: 1010976.70210 MinY: 824805.01608, MaxY: 843366.96063 Polygon Perimeter: 78414.44488 Polygon Area: 383216503.43924 --------------------------------------------------------------- Point X Y 2D Distance --------------------------------------------------------------- 1 990331.42421 824805.01608 2 1010976.70210 824805.01608 20645.278 3 1010976.70210 843366.96063 18561.945 4 990331.42421 843366.96063 20645.278 5 990331.42421 824805.01608 18561.945 [W 54:49] Long: 0 ======================================== [R 54:49] Command: ExecuteSpatialQuery [R 54:49] Long: 616 [W 54:49] Long: 0 ======================================== [R 54:49] Command: NextBuffer [R 54:49] Long: 616 [W 54:49] Long: 0 <<<<<<<<<<<< this is the end of the log Additional information: Client: ArcMap 9.3.1 ArcSDE: 9.3.1 Database:Oracle 11g (11.1.0.7.0) 64bit Error generated in DOS window by mxdperfstat: buffer_alloc stream buffer block: errno = 8 There are 3 mxds that I test. The 2nd mxd has scale dependencies on some of the major feature classes and fails in at a different spot but with the same errors. The third has scale dependencies set for all major feature classes (1:50,000) and succeeds in all tests on any platform tested. Research on both the mxdperfstat and sdeintercept errors have yielded nothing (I have not found the descriptions for these errors). I don't want to make assumptions about these errors. Any insight would be appreciated. Thanks
... View more
07-09-2012
02:20 PM
|
0
|
1
|
2268
|
POST
|
Thanks. Are graphics, like user markup, supported yet or is that a work in progress?
... View more
05-07-2012
09:31 AM
|
0
|
0
|
314
|
POST
|
Yep. I went back an re-examined the prerequisites and noticed I needed Silverlight 5 Tools for VS.
... View more
05-06-2012
11:36 PM
|
0
|
0
|
314
|
POST
|
I was not able to access the ESRI.ArcGIS.Client.Printing.dll. I have tried both ArcGISSilverlight30_prerelease.exe and ArcGISSilverlight30_beta2.exe (from Dev Summit) versions of the API. In both cases, when adding a reference to the project the ESRI.ArcGIS.Client library does not show in the list of available options. I browsed to the dll but when running the project I get the dreaded: The type or namespace name 'ESRI' could not be found (are you missing a using directive or an assembly reference?) I have tried several iterations of uninstall, install and repair, however, Visual Studio doesn't pick it up in the list of available references. I am successful with the ArcGISSilverlight24.exe (ArcGIS API for Silverlight v2.4), but of course it does not contain the ESRI.ArcGIS.Client.Printing.dll. I noticed this install gives an extra screen (Select Features) during install. It shows Silverlight as the features that will be installed, where the 3.0 install did not have this screen. I feel like I must be missing a prerequisite or I do not have the latest flavor of the beta 3.0 api. Any assistance would be greatly appreciated. Thanks- Damian
... View more
05-06-2012
11:16 PM
|
0
|
0
|
314
|
POST
|
I want to use the Export Web Map Task gp service with the silverlight viewer. The Web_Map_as_JSON parameter is eluding me. How does one get the current map as json for the purposes of passing it in as the Web_Map_as_JSON parameter for the Export Web Map Task? Thanks.
... View more
05-02-2012
11:36 AM
|
0
|
6
|
2122
|
POST
|
I would like to add that I am experiencing this exact same problem and it is not just a raster dataset issue. It appears to fail with spatial views. It changes everything except the Feature Class when you view the source in ArcMap. This code is successful on normal feature classes and anno. (ArcGIS 10 sp2 build 3200) import arcpy import string mxd = arcpy.mapping.MapDocument(r"E:\source_control\MXDs\Map_Services\General4.mxd") sdePath = r"C:\Users\damian\AppData\Roaming\ESRI\Desktop10.0\ArcCatalog\atlas_spatial.sde" for lyr in arcpy.mapping.ListLayers(mxd): if (lyr.supports("DATASOURCE") and lyr.supports("datasetName")): layerName = r"ATLAS_SPATIAL." + lyr.datasetName.split('.')[1] lyr.replaceDataSource(sdePath,"SDE_WORKSPACE",layerName,False) mxd.saveACopy(r"E:\source_control\MXDs\Map_Services\General10.mxd") del mxd
... View more
07-22-2011
04:41 PM
|
0
|
0
|
619
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|