Windows10 Enterpise UiPath v 2016.2.6253 crashes & exceptions

I’m new to UiPath, but finding it difficult to learn as it is showing a lot of run time errors. Nothing is written to the event logs.

When first double clicking the icon to load, at the splash screen it says:
“It seems that the application failed to start correctly the last time it was started.” It offers to reset the data. This message shows if I reset or just choose continue.

Everytime, it then asks for the licence. I choose “free” and enter my email address. This results in:
“The program or background process quit unexpectedly. Would you like to send information to the deevloper?” I choose yes.

I open a small, existing project I have created and wait a few seconds. I get a popup with an exception, which from the logs says:

[ERROR] [Orchestra.LogHelper] [1] Application crashed | [TypeLoadException] System.TypeLoadException: Cannot resolve dependency to Windows Runtime type 'Windows.Storage.Streams.IBuffer'. When using the ReflectionOnly APIs, dependent Windows Runtime assemblies must be resolved on demand through the ReflectionOnlyNamespaceResolve event.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at System.Activities.Presentation.View.ImportDesigner.GetUniqueNamespacesInAssembly(Assembly assembly, AssemblyContextControlItem assemblyContextItem)
   at System.Activities.Presentation.View.ImportDesigner.UpdateAvailableNamespaces(Assembly assembly, AssemblyContextControlItem assemblyContextItem)
   at System.Activities.Presentation.View.ImportDesigner.OnReferenceUpdated(Assembly assembly, Boolean isAdded)
   at System.Activities.Presentation.View.ImportDesigner.<>c__DisplayClass56_0.<OnAssemblyLoad>b__0()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

This exception is not shown in a popup, but is in the log just after the above popup shows:

   [INFO] [Orchestra.DotNetPatchHelper] [1] [TypeLoadException] System.TypeLoadException: Cannot resolve dependency to Windows Runtime type 'Windows.Foundation.IAsyncInfo'. When using the ReflectionOnly APIs, dependent Windows Runtime assemblies must be resolved on demand through the ReflectionOnlyNamespaceResolve event.
      at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type)
      at System.RuntimeType.RuntimeTypeCache.GetEnclosingType()
      at System.RuntimeType.get_DeclaringType()
      at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#gFc(Type #4Ub)
      at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.<>c.#Sij(Type #gi)
      at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
      at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#XEc(Assembly #sxc)
      at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#iFc(Assembly #sxc)
      at #Grc.#0rc..ctor(Assembly assembly, IAssemblyName assemblyName, IBinaryAssemblyMetadata metadata)
      at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.Create(Assembly assembly, IAssemblyName assemblyName, IBinaryAssemblyMetadata metadata)
      at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.FileBasedAssemblyRepository.Create(Assembly assembly, IAssemblyName assemblyName, IBinaryAssemblyMetadata metadata)
      at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.FileBasedAssemblyRepository.GetOrCreate(Assembly assembly, IAssemblyName assemblyName, String location)
      at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.#uBh(Assembly #sxc, IAssemblyName #4tc, String #bVe)
      at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.LoadFrom(String path)
      at #Grc.#tsc.AddFrom(String #hd)
      at UiPath.Workflow.ExpressionEditor.VBExpressionEditorSyntaxLanguage.LoadFromDomain(IEnumerable`1 loadedAssemblies, IEnumerable`1 referencedAssemblies, String namespaceName)

followed by this exception:

[INFO] [Orchestra.DotNetPatchHelper] [1] [FileNotFoundException] System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.Data.OData, Version=5.6.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
File name: ‘Microsoft.Data.OData, Version=5.6.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at System.Reflection.Assembly.get_ExportedTypes()
at UiPath.Workflow.ExpressionEditor.VBExpressionEditorSyntaxLanguage.LoadFromDomain(IEnumerable1 loadedAssemblies, IEnumerable1 referencedAssemblies, String namespaceName)

followed by this exception:

[ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [28] ApplyReleasesImpl: Couldn’t run Squirrel hook, continuing: C:\Users<user details removed>\AppData\Local\UiPath\app-2016.2.6253.34394\UiStudio.exe: System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at Squirrel.Utility.<>c__DisplayClassf.b__e()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
— End of stack trace from previous loc>ation where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.d__11.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassdc.<b__d0>d__de.MoveNext()

This is the log header with device & product info:
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1] **************************************************************************
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1]
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1] PRODUCT INFO
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1]
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1] Assembly: UiPath Studio
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1] Version: 2016.2.6253.34394
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1] Informational version:
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1]
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1] Company: UiPath
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1] Copyright: Copyright © UiPath 2017
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1]
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1] **************************************************************************
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1]
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1]
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1] **************************************************************************
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1]
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1] DEVICE INFO
14:15:39:404 => [INFO] [Orchestra.LogHelper] [1]
14:15:39:405 => [INFO] [Orchestra.LogHelper] [1] Platform: Win32NT
14:15:39:405 => [INFO] [Orchestra.LogHelper] [1] OS Version: 6.2.9200.0
14:15:39:405 => [INFO] [Orchestra.LogHelper] [1] 64-bit OS: True
14:15:39:405 => [INFO] [Orchestra.LogHelper] [1] 64-bit process: False
14:15:39:405 => [INFO] [Orchestra.LogHelper] [1] Processor count: 8
14:15:39:405 => [INFO] [Orchestra.LogHelper] [1] System page size: 4096
14:15:39:405 => [INFO] [Orchestra.LogHelper] [1]
14:15:39:405 => [INFO] [Orchestra.LogHelper] [1] **************************************************************************

If I run UiPath as Administrator, when getting a licence it shows a popup error:

Activation failed with error: -4308
Error description: SOAP Connection timed out
License status: Undetermined
Device ID:
Computer:
User Name:

The only security products I have are Malwarebytes Anti-ransomeware and Microsoft Windows Defender. Disabling malwarebytes had no effect, but if I disabled defender it was able to go through the activation without an error. Even so, if I close UiPath and then reopen it, it repeats the “get license” sequence and all that is mentioned above.

Any ideas on how to get it working on WIndows 10 Enterprise?

Hi Dominic,

Have you solved your problem? I am having the same exact problem. My computer details are as follows:

Uipath community edition
Windows 10 Home 64-bit
.Net 4.7 Framework.

Sam

I am having this same issue…