Hi All,
I have installed UI Path(Studio 2019.10.4 - 2/6/2020). When opening existing projects and while executing any xaml file i keep getting the following error.
Could not load type ‘YesNoAuto’ from assembly 'UiPath.Vision.Core
Frequently UI Path studio says that it had an unexpected error and requires restart. Below is the studio logs which says some tmp folder file is being used, but that file does not exist in the machine at all.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
, HResult -2147024894
18:29:39.2204 => [ERROR] [UiPath.Studio.exe] [1] Error: System.TypeLoadException: Could not load type ‘YesNoAuto’ from assembly ‘UiPath.Vision.Core, Version=2.0.3.0, Culture=neutral, PublicKeyToken=null’.
*** 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.GetAvailableNamespaces()***
*** at System.Activities.Presentation.View.ImportDesigner.OnContextChanged()***
*** at System.Activities.Presentation.View.ImportDesigner.OnContextChanged(DependencyObject sender, 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, Boolean coerceWithCurrentValue, OperationType operationType)***
*** at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)***
*** at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)***
*** at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)***
*** at System.Windows.Data.BindingExpression.Activate(Object item)***
*** at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)***
*** at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)***
*** at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)***
*** at MS.Internal.Data.DataBindEngine.Run(Object arg)***
*** 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), HResult -2146233054***
18:29:39.8006 => [ERROR] [UiPath.Studio.exe] [1] IExceptionService: System.Windows.Markup.XamlParseException: Failed to create a ‘Cursor’ from the text ‘/System.Activities.Presentation;component/Resources/ReadyToPan.cur’. —> System.IO.IOException: The process cannot access the file ‘C:\Users\Monika\AppData\Local\Temp\tmpFF77.tmp’ because it is being used by another process.
*** at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)***
*** at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)***
*** at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share)***
*** at System.Windows.Input.Cursor.LoadFromStream(Stream cursorStream)***
*** at System.Windows.Input.Cursor…ctor(Stream cursorStream, Boolean scaleWithDpi)***
*** at System.Windows.Input.CursorConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)***
*** at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateObjectWithTypeConverter(ServiceProviderContext serviceContext, XamlValueConverter1 ts, Object value)*** *** at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateFromValue(ServiceProviderContext serviceContext, XamlValueConverter
1 ts, Object value, XamlMember property)***
*** at MS.Internal.Xaml.Runtime.PartialTrustTolerantRuntime.CreateFromValue(ServiceProviderContext serviceContext, XamlValueConverter1 ts, Object value, XamlMember property)*** *** at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter
1 typeConverter, Object value, XamlMember property, String targetName, IAddLineInfo lineInfo)***
*** — End of inner exception stack trace —***
*** at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)***
*** at System.Windows.Markup.WpfXamlLoader.LoadDeferredContent(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings parentSettings, Uri baseUri)***
*** at System.Windows.ResourceDictionary.CreateObject(KeyRecord key)***
*** at System.Windows.ResourceDictionary.OnGettingValue(Object key, Object& value, Boolean& canCache)***
*** at System.Windows.ResourceDictionary.OnGettingValuePrivate(Object key, Object& value, Boolean& canCache)***
*** at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)***
*** at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)***
*** at System.Activities.Presentation.View.DesignerView.OnDesignerViewLoaded(Object sender, RoutedEventArgs e)***
*** 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 e)***
*** at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)***
*** at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)***
*** at MS.Internal.LoadedOrUnloadedOperation.DoWork()***
*** at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()***
*** at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()***
*** at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)***
*** at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)***
*** 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), HResult -2146233087***
Regards