POST
|
Updated to 3.1 dlls this morning, and it appears to have fixed the issue! Thanks.
... View more
01-28-2013
07:51 AM
|
0
|
0
|
316
|
POST
|
I think I have found the issue. There were subsequent requests behind the scenes that were being made each time a group switch was made, leading me to a sub where I was setting each layer's visibility settings individually using DynamicServiceLayer.SetLayerVisibility. Each time this happened, a new request was made to retrieve a new image. Being how the requests were made right after each other, sometimes the requests weren't received in the same order from the server, so whatever image request was received last would be the image that displayed. The fix was to change this to set all layers at once using the VisibleLayers property, which only makes one request once you give it the LayerIDs to show!
... View more
12-05-2012
05:22 AM
|
0
|
0
|
316
|
POST
|
(I don't think a full quote of my post was necessary... 🙂 ) I have tried refreshing the map layer both when I set layers invisible and visible, and that has no effect. It seems like its something in the map control that still has some sort of cached image or something that shows up sometimes, and I don't know how to 'clear' that out. I have tried disabling client cache for that map layer as well, but it doesn't help.
... View more
12-05-2012
04:15 AM
|
0
|
0
|
316
|
POST
|
I have customized some code in a custom app of mine to switch between different 'groups' of layers dynamically using one dynamic map service. Through different buttons, it will show only the layers in the legend for that group, as well as hide any layers that are in the service, but which aren't part of that group. The visibility settings of each group are saved as well, so that when you go back and forth between groups, it turns on only the layers you had on for that group previously, and nothing else. This works perfectly when you have only one layer on at a time and dynamically switch the layers between groups. However, once you add in any additional layers, the image blending gets screwey, and sometimes you see parts of layers hanging on the screen that were already set to invisible, or ones that do not show at all once you set them to visible. Once you change the map extent, it displays fine. The problem all occurs when you enable/disable layers within the same exact extent. Is there anything I can do to try to fix this problem? Anyone ran into something similar before?
... View more
12-04-2012
12:53 PM
|
0
|
5
|
2319
|
POST
|
The short answer is you can't print to PDF the way you are doing. You can send an image to the printer using a PrintDoc (which the user can save as PDF if they have a PDF printer) but you can't save as a PDF because of Silverlight's built-in security, which are the errors you are getting. Past thread of a similar issue I had: http://forums.arcgis.com/threads/41663-Exporting-to-Image-PDF-%28running-in-circles%29 The printing task in 10.1 allows you to get a PDF from the server...
... View more
08-06-2012
07:23 AM
|
0
|
0
|
520
|
POST
|
We are on a Windows domain here, so I just used our domain name. Not sure if the dash has an effect, although I would wonder who planned it that way 🙂 Special characters always seem to cause some sort of problem somewhere.
... View more
07-09-2012
10:37 AM
|
0
|
0
|
526
|
POST
|
I tested it on mine, and the test connection worked (using the arcgis server domain account) when trying it on the server, but got your error message when trying the same thing from my PC. Not sure if that helps at all 😕
... View more
07-09-2012
08:23 AM
|
0
|
0
|
526
|
POST
|
The license file wasn't the root of the issue, even though it would have prevented us to start it up. The error was occurring because the domain account needed to be in the local admin group on the server we were installing it on. After that was done, the ArcGIS Server service started successfully.
... View more
07-09-2012
08:16 AM
|
0
|
0
|
328
|
POST
|
The problem most likely isn't related to Silverlight. It's related to your ArcGIS Server dynamic service with a combination of your on-demand caching. 'Instantaneous' performance will only occur if you have pregenerated the cache tiles for your map, while assuming that your web server is running on a capable machine to serve the tiles in a sufficient manner, and that your tiles are created the right way to optimize performance over an internet connection (as in, no PNG32 tiles that are 500kb each in size). Caching for performance is a large topic, and some places to start: http://blogs.esri.com/esri/arcgis/2011/03/22/map-caching-tips-and-best-practices-with-arcgis-server-10/ http://goingspatial.blogspot.com/2010/11/good-resource-for-esri-arcgis-server.html
... View more
07-09-2012
04:55 AM
|
0
|
0
|
275
|
POST
|
It could be related to this post: http://forums.arcgis.com/threads/61463-Error-Failed-to-create-the-site.-The-machine-does-not-have-a-valid-license I didn't have a 10.1 license and tried the 10.0 license and the authorization completed. I think I'll have to wait until I receive an updated license file to try again...
... View more
07-07-2012
11:02 AM
|
0
|
0
|
328
|
POST
|
There is an 'Access denied' error when I try to start the ArcGIS Server service manually. In the event viewer, the only information is 'The ArcGIS Server service failed to start due to the following error: Access is denied.' . I am trying to use a domain account as the user account.
... View more
07-07-2012
10:31 AM
|
0
|
0
|
328
|
POST
|
I have installed and authorized ArcGIS Server 10.1, but when the Manager is supposed to pull up, I get a page not found error in the web browser on the local machine the install is located on. I cannot pull up the manager web page to save my life. Any ideas on what I could do to resolve this?
... View more
07-07-2012
10:14 AM
|
0
|
5
|
932
|
POST
|
I went through and cleaned up some code, and I think the initialized event for the dynamic map service works better now, more as expected. I had some code running in another class which might have been interfering.
... View more
12-15-2011
08:14 AM
|
0
|
0
|
289
|
POST
|
I am trying to have an 'initialization' window pop up when a user first loads the map application and have it close after all layers are initialized, but I can't seem to find the right event that fires every time to close this window for me. Say we have a combination of a tiled basemap layer, a dynamic map service layer, and a feature layer, I am wanting to find out when these three layers are finished loading and displayed on screen. It sounds simple, but I am finding that sometimes the intialized events and map.progress events fire unexpectedly, either too early or not at all, depending on the situation. For instance, the dynamic map service layer's initialized event seems to fire before the layer is even displayed on the map, and the problem is worse if the service has to 'wake up' after a period of inactivity. Can someone try to steer me in the right direction?
... View more
12-15-2011
07:22 AM
|
0
|
2
|
605
|
POST
|
I originally did this 'hack' in 2.2 of the API, needed because the feature layer visibility didn't respect the scale range of the layer that was set in the map, but this seems to be fixed at 2.3. The feature layer visibility automatically shows only for the scale range that the layer is defined to show at, so it reduced the amount of extra work needed to get it working. What dbroux originally described is pretty much all that was needed.
... View more
11-30-2011
10:25 AM
|
0
|
0
|
226
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|