POST
|
Hi Miroslav, Starting ctfmon.exe has resolved the problem for me too! Thanks for the post. Would love to know how you figured that out! Regards, ++ Ray
... View more
07-24-2012
05:55 AM
|
0
|
0
|
668
|
POST
|
Hi Denise, The laptop is brand new. When I got it I installed build 2525 which behaved in exactly the same way. Since build 2550 was released about a week after I got the PC, I uninstalled the previous build and started again from scratch. I hoped the error was some glitch in the earlier build which had been fixed in the new one, but no - it fails in exactly the same place. The OS is Windows 7 Professional (64-bit) with Service Pack 1. The machine is a Dell Latitude E6320 with 4GB RAM and an Intel Core i7-2640M (2.8GHz). I can access ArcGIS.com without any problem (as well as a number of ArcGIS servers within our organisation). The problem actually occurs before any attempt to make a connection. It happens immediately I press either the button labelled 'Download Project from ArcGIS Server' or the button labelled 'Download Project from ArcGIS.com'. That is to say I never get to the page where I can enter my server details. I've attached a screenshot of the dialog that appears. Incidentally I have no problems running ArcGIS mobile on an 7 year old 32-bit XP machine - connected to the same network. Bizarre! ++ Ray
... View more
02-16-2012
06:09 AM
|
0
|
0
|
668
|
POST
|
Hi, I have installed the latest build of ArcGIS mobile (2550) on my Windows7 laptop. It doesn't work. The Mobile project centre appears to work, but the desktop application fails when I try to download a project from an ArcGIS server. I have an open support call with ESRI in the UK, but apart from asking me to re-install ArcGIS mobile (which I have now done three times), switch off firewalls (Done), they don't appear to have any other ideas. The log file that is produced mentions a failure of a virtual keyboard component. (See below). Has anyone any ideas - or could someone just tell me if ArcGIS mobile is supposed to work on Windows7. If it doesn't I shall be disappointed, but at least I'll know! Thanks, Ray Logfile output: ESRI ®ArcGIS Mobile 10.0.0.0 14 February 2012 16:15:01 ----- Message: 'VirtualKeyboard\keyboard.xml' value cannot be assigned to property 'KeyboardXML' of object 'ESRI.ArcGIS.Mobile.WPF.VirtualKeyboard.VirtualKeyboard'. Error HRESULT E_FAIL has been returned from a call to a COM component. Error at object '_vKeyboard' in markup file 'ESRI.ArcGIS.Mobile.Client;component/pages/mobileserverdownloadprojectpage.xaml'. Stack Trace: at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType) at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException) at System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine(String message, Exception innerException) at System.Windows.Markup.BamlRecordReader.ReadPropertyRecordBase(String attribValue, Int16 attributeId, Int16 converterTypeId) at System.Windows.Markup.BamlRecordReader.ReadPropertyConverterRecord(BamlPropertyWithConverterRecord bamlPropertyRecord) at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord) at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord) at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() at System.Windows.Markup.TreeBuilder.Parse() at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) at ESRI.ArcGIS.Mobile.Client.Pages.MobileServerDownloadProjectPage.InitializeComponent() at ESRI.ArcGIS.Mobile.Client.Pages.MobileServerDownloadProjectPage..ctor() at ESRI.ArcGIS.Mobile.Client.DownloadProjectWorkflow.get_MobileServerDownloadProjectPage() at ESRI.ArcGIS.Mobile.Client.DownloadProjectWorkflow.DownloadMobileServerProjectCommandExecute() at ESRI.ArcGIS.Mobile.Client.DownloadProjectWorkflow.<get_DownloadMobileServerProjectCommand>b__0(Object param) at ESRI.ArcGIS.Mobile.Client.RelayCommand.Execute(Object parameter) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.CrackMouseButtonEventAndReRaiseEvent(DependencyObject sender, MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) ----- ----- Message: Error HRESULT E_FAIL has been returned from a call to a COM component. Stack Trace: at MS.Win32.UnsafeNativeMethods.ITfThreadMgr.GetGlobalCompartment(ITfCompartmentMgr& compartmentMgr) at System.Windows.Input.TextServicesCompartmentContext.GetGlobalCompartment(Guid guid) at System.Windows.Input.InputMethod.InitializeCompartmentEventSink() at System.Windows.Input.InputMethod.add_StateChanged(InputMethodStateChangedEventHandler value) at ESRI.ArcGIS.Mobile.WPF.VirtualKeyboard.KeyboardImpl..ctor() at ESRI.ArcGIS.Mobile.WPF.VirtualKeyboard.KeyboardXMLLoader.LoadKeyboard(Stream objInputStream, String strBasePath) at ESRI.ArcGIS.Mobile.WPF.VirtualKeyboard.KeyboardXMLLoader.LoadKeyboard(String strXML) at ESRI.ArcGIS.Mobile.WPF.VirtualKeyboard.VirtualKeyboard.OnPropertyChanged(String name) at ESRI.ArcGIS.Mobile.WPF.VirtualKeyboard.VirtualKeyboard.OnePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType) at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) at System.Windows.Markup.BamlRecordReader.SetDependencyValueCore(DependencyObject dependencyObject, DependencyProperty dependencyProperty, Object value) at System.Windows.Markup.BamlRecordReader.SetDependencyValue(DependencyObject dependencyObject, DependencyProperty dependencyProperty, Object value) at System.Windows.Markup.BamlRecordReader.SetPropertyValue(Object o, PropertyDefinition propertyDefinition, Object value) at System.Windows.Markup.BamlRecordReader.ReadPropertyRecordBase(String attribValue, Int16 attributeId, Int16 converterTypeId) -----
... View more
02-15-2012
12:23 AM
|
0
|
8
|
1032
|
POST
|
Thanks Robert, That got me looking in the right direction. ++ Ray
... View more
04-04-2011
06:51 AM
|
0
|
0
|
222
|
POST
|
Hi, I have the opposite problem. I use the 'old style' pan and zoom tools on a version 2.2 viewer. I would like the drawing tools to remain active rather than deactivate at the end of each selection. Th eidea is that the user might want ot make multiple selections and having to repeatedly select the drawing tool is a bit frustrating. So I have removed the line of code suggested by Robert above (event.target.deactivate();) in my Drawend method. However, this fix only works the first time the tool is used. That is to say, I can make as many selections as I like without the tool deactivating, once the tool is open for the firts time in a session, but as soon as I close it and select another tool (pan, zoom etc), my drawing widget reverts to deactivating after a single selection. Any ideas? This behaviour is really baffling!
... View more
04-04-2011
05:06 AM
|
0
|
0
|
222
|
POST
|
Magic Robert - Legend works perfectly. Thank you very much. Regards, ++ Ray
... View more
01-24-2011
03:18 AM
|
0
|
0
|
650
|
POST
|
Hi Robert, Hope I didn't confuse you. Your code for SP1 might help as I am only using SP1 map services. The build 2800 refers to ArcMAP version 10 SP1 where I author the mxd. I thought I needed to keep these versions in sync. I am willing to give anything a go... Cheers, ++ Ray
... View more
01-21-2011
06:53 AM
|
0
|
0
|
650
|
POST
|
Hi Robert, Yes. I have only one mapservice which is hosted on an ArcGIS 10 SP1 instance. The mxd was built with ArcMAP 10 (Build 2800). The service does have a lot of layers (148) divided into several groups. So the hierarchy descends at least 3 levels in many cases, although the REST legend service appears to ignore the hierarchy and just attach the image to the layer ID. Cheers, ++ Ray
... View more
01-21-2011
06:31 AM
|
0
|
0
|
973
|
POST
|
Hi Robert, Thanks for getting back so quickly. I'm using the uncompiled version because I need to package it slightly different to the standard widget. Regards, ++ Ray
... View more
01-21-2011
06:16 AM
|
0
|
0
|
973
|
POST
|
Hi Robert, I'm having a little problem with the legend portion of this widget (and the standalone dynamic legend widget as well). Basically the legend doesn't render the same as the legend on the REST interface. I am using ArcGIS server 10 SP1, and version 2.2 of the viewer and Flex API. The attached screenshots explain what I mean. In the example enclosed the 'FIRES' layer should be a striped red fill, but the legend widget displays it as a solid fill. Similarly the excised layers should be a blueish stripe, but again they render as solids on the dynamic legend. I have attached a shot of the map which displays correctly and the images as they appear on the rest interface. I am using your legend widget because the new ESRI one (version 2.2) jsut doesn't work at all. (legend.png is the image of the legend in the dynamic legend widget). If you have any ideas I'd be grateful. Thanks, ++ Ray
... View more
01-21-2011
01:07 AM
|
0
|
0
|
973
|
POST
|
Hi, I have built the version 2.2 viewer from the source code and am using it with a version 10 (SP1) ArcGIS server and a dynamic map service published from ArcMAP version 10 (Build 2800). When I use the legend widget that comes with the version 2.2 widget I get the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.esri.ags.skins::LegendSkin/findLeafLayerLegendInfo() at com.esri.ags.skins::LegendSkin/findLeafLayerLegendInfo() at com.esri.ags.skins::LegendSkin/findLeafLayerLegendInfo() at com.esri.ags.skins::LegendSkin/extentChangeHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at com.esri.ags::Map/tweenEndHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at MoveResize/enterFrameHandler() The error occurs as soon as the widget loads (if I preload it), and after any change to the map that affects the layer visibility subsequently (Zoom, toggle layer from TOC, etc). Any ideas? Regards, ++ Ray
... View more
01-05-2011
06:54 AM
|
0
|
5
|
2025
|
POST
|
Hi Bjorn, I agree with Andrea. This morning I tried the Flex 2.2 viewer (with Flex 2.2 API library) against an ArcGIS 10 map server with multiple group layers and there is no difference in operation between this version and the last one. If I switch on (or off) any of the group layers ALL the sub layers in other groups are drawn - even if their Group header is switched OFF. Further, the legend widget doesn't work at all. I just get the icon that says it couldn't find any operational layers - despite the fact that the layerlist widget can find them with out any difficulty. Also if I close the legend widget, it cannot be opened again. I checked the documentation to see if there was something I was missing in the configuration. If I am missing anything it's missing in the documentation also. Looks like we're using the release before test methodology. ++ Ray
... View more
12-22-2010
02:11 AM
|
0
|
0
|
625
|
POST
|
Hi Robert, Got it! Here's the catch. The mxd for the service I was using was created with ArcMap 9.3.1. I copied this mxd onto our ArcGIS 10 server and created a new map service using the ArcGIS Server manager on this machine. This mapservice is the one that failed to display the legend. This morning I copied the mxd onto a machine with ArcMap version 10 and re-published the map service from there. Bingo! it works. I think there are some subtle differences between the way that the ArcGIS server manager creates services and the way that ArcMap creates them. I have also had the server manager fail to create services with raster layers in the past, even though ArcMap creates them just fine. Anyway, thanks for the support (and the widget!). Hope I didn't cause too much panic. Cheers, ++ Ray
... View more
12-09-2010
04:27 AM
|
0
|
0
|
834
|
POST
|
Hi Robert, Unfortunately not. I'm stuck behind firewalls etc. I'll have a go at tracing the code through to see if I can get something a bit more definitive. An error message would be nice 🙂 Thanks, ++ Ray
... View more
12-09-2010
12:40 AM
|
0
|
0
|
834
|
POST
|
Hi Robert, I've just downloaded the dynamic legend widget now and installed it. Guess what - it's behaving exactly the same. Just a blank page. Must be something to do with how the mapservice is configured. Do I need to do anything special when I create the mxd? I have created a lot of customisations for my Flex viewer but I can't think of any that would conflict with your widgets. Regards, ++ Ray
... View more
12-08-2010
07:09 AM
|
0
|
0
|
834
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|