Select to view content in your preferred language

Deployment Issue

3277
3
07-08-2012 12:14 PM
Labels (1)
rbae
by
Regular Contributor
I'm having a problem deploying to a clean Windows 7 machine.

When I run the Deployment Builder, it creates the following path:

C:\TEMP\rbaetest1.0\ArcGISRuntime1.0

In C:\TEMP\rbaetest1.0, I copy the .exe, ESRI.ArcGIS.Client.dll and ESRI.ArcGIS.Client.Local.dll.

When I copy this to the test machine, and try to run the .exe, I get an error message indicating that it cannot load the ArcGIS Runtime deployment - the RuntimeCoreNET.dll.  This dll exists in the rbaetest1.0\ArcGISRuntime1.0\Client64 folder.

Is there something obvious that I'm missing?

Thanks,

-Ryan
0 Kudos
3 Replies
KerrieScholefield
Deactivated User
Hi,

On a Windows 64bit machine is possible to receive this error when the application Platform Target of the deployed application is not specified as x64. Try changing the Platform Target to x64 and rebuild the application using similar steps to those below to see if this resolves the issue.

> Open Visual Studio and navigate to the application properties page
> Click the Build tab and change the Platform Target value to x64 in the drop down.
> Rebuild the application and place in the deployment

Alternatively, if your target machine is Windows 32bit  please verify that the application Platform Target is x86 and that you have included the Windows 32bit deployment in your deployment.

Cheers,

Kerrie
0 Kudos
rbae
by
Regular Contributor
That did the trick. 

Thanks Kerrie.
0 Kudos
AnkitaBhatia
Occasional Contributor
Hi,
We have an ArcGIS application developed in arcgis runtime sdk for wpf 1.0.
The test deployment I create for my application runs on a few machines and fails on others. I am not able to identify why!
All the machines are 64-bit and have Windows 7 installed as OS. The RAM available is minimum 4GB.
What could be the issue of the deployment failing on a few machines while running on others.
The error I obtained from log is :
Exception Info: System.Windows.Markup.XamlParseException
Stack:
   at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
   at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
   at System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext)
   at System.Windows.Application.LoadComponent(System.Uri, Boolean)
   at System.Windows.Application.DoStartup()
   at System.Windows.Application.<.ctor>b__1(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at System.Windows.Application.Run()
0 Kudos