You can either perform a System Restore or, replace Microsoft.UI.Xaml.Controls.dll by downloading it.
See:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
Hope you are doing well. The phone link app crashes randomly at different intervals of time and there is no error message. It was working fine before few months and now gives this problem. The event viewer shows this log:
Faulting application name: PhoneExperienceHost.exe, version: 1.22092.211.0, time stamp: 0x6331eb0e
Faulting module name: Microsoft.UI.Xaml.Controls.dll, version: 3.0.0.2208, time stamp: 0x62f002ba
Exception code: 0xc0000005
Fault offset: 0x00000000000a8d36
Faulting process id: 0x0x2A64
Faulting application start time: 0x0x1D8FACD2992C9AE
Faulting application path: C:\Program Files\WindowsApps\Microsoft.YourPhone_1.22092.211.0_x64__8wekyb3d8bbwe\PhoneExperienceHost.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.YourPhone_1.22092.211.0_x64__8wekyb3d8bbwe\Microsoft.UI.Xaml.Controls.dll
Report Id: 749c263c-97a5-4232-aed1-65d6cf248d52
Faulting package full name: Microsoft.YourPhone_1.22092.211.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App
This is my windows info:
Edition Windows 11 Pro
Version 22H2
Installed on 11/5/2022
OS build 22621.755
Experience Windows Feature Experience Pack 1000.22636.1000.0
I have been using the same phone as before and have another PC (different manufacturer) with same versions that does not have this problem. I have also performed the basic troubleshooting and even installed windows fresh but this error keeps coming. Need help on this.
Thank you for your attention
You can either perform a System Restore or, replace Microsoft.UI.Xaml.Controls.dll by downloading it.
See:
Before we begin to change settings, we recommend quickly running through the following checks:
Double-check you’re using the same Microsoft account to sign in to both the Phone Link app and the companion app on your Android device.
Ensure Battery saver isn’t running on your PC or Android device, as this might affect connectivity.
You have an active Wi-Fi connection. Can you open your browser and navigate to your favorite website?
For some Android devices, your Battery Optimization settings may interrupt your connection. We recommend turning it off in the Link to Windows app on your Android device.
Open Android Settings > Apps & notifications > App info > Link to Windows > Advanced > Battery > Manage Battery Usage > Battery optimization. Scroll down to Link to Windows, and then select Don't optimize.
On select Android devices, the steps may be as follows:
Open Android Settings > Apps > Link to Windows > Battery > Optimize battery usage. Select All from the drop-down list, scroll to Link to Windows, and turn the toggle Off.
Still not working? Continue below with the following steps.
On your PC:
Check if the Phone Link app is set to run in the background.
Select Start (or press the Windows logo key on your keyboard), then select Settings> Privacy > Background apps.
In the list Choose which apps can run in the background, ensure that Phone Link is enabled.
Next, make sure that nothing is preventing you from sharing across devices.
Select Start (or press the Windows logo key on your keyboard), then select Settings> System > Shared experiences.
If you see Fix now in Accounts, select it and follow the instructions.
On your Android device:
Make sure you can receive app notifications.
Go to your Android device Settings > Apps (or Apps & Notification on some devices) > Link to Windows, and then check that notifications are enabled.
Make sure Do not disturb is turned Off.
Go to your Android device Settings > Sounds (on some devices this may be Sounds & Vibration or Sounds & Notifications) and check that Do not disturb is turned Off.
Greetings,
Peter
On a daily basis. Uninstalling and re-installing doesnt fix the error, been happening for over a year and no update has fixed it yet. Everytime i make a ticket about it, microsoft closes the tickets with no response. The app usually kills the pc for a moment when this happens and i loose usb connections until i replug them. Absolutely annoying.
Faulting application name: PhoneExperienceHost.exe, version: 1.23102.126.0, time stamp: 0x6531c3a8
Faulting module name: YourPhone.Connectivity.Managed.dll, version: 1.23102.126.0, time stamp: 0xa60d456f
Exception code: 0x80131623
Fault offset: 0x000000000001ac99
Faulting process id: 0x1cdc
Faulting application start time: 0x01da428662ca19b9
Faulting application path: C:\Program Files\WindowsApps\Microsoft.YourPhone_1.23102.126.0_x64__8wekyb3d8bbwe\PhoneExperienceHost.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.YourPhone_1.23102.126.0_x64__8wekyb3d8bbwe\YourPhone.Connectivity.Managed.dll
Report Id: a9951c9d-5a17-4dae-813e-137c0a02dd80
Faulting package full name: Microsoft.YourPhone_1.23102.126.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App
Application: PhoneExperienceHost.exe
CoreCLR Version: 7.0.1423.51910
.NET Version: 7.0.14
Description: The application requested process termination through System.Environment.FailFast.
Message: Cannot access a disposed object.
Object name: 'ServiceProviderPerDeviceEngine'.
Description: The process was terminated due to an unhandled exception.System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'ServiceProviderPerDeviceEngine'.
at YourPhone.Utilities.PerDevice.ServiceProviderPerDeviceEngine.GetSingletonService[T](IDeviceData device, Func`2 createFunction)
at YourPhone.Messaging.Managed.Processors.MessagingProcessorFactory.CreateContentProcessor(IDeviceData deviceData, ValueSet payload, TraceContext traceContext)
at YourPhone.Connectivity.Managed.PhoneContentHandler.HandleMetadataPayload(IIncomingRequest incomingRequest, ValueSet payload, String contentType, IDeviceData deviceData, String scenarioProgressId, TraceContext traceContext)
Stack:
at System.Environment.FailFast(System.String, System.Exception)
at YourPhone.Connectivity.Managed.PhoneContentHandler.HandleMetadataPayload(YourPhone.Contracts.Connectivity.IIncomingRequest, Windows.Foundation.Collections.ValueSet, System.String, YourPhone.AppCore.WinRT.Devices.IDeviceData, System.String, YourPhone.AppCore.WinRT.Connectivity.TraceContext)
at YourPhone.Connectivity.Managed.PhoneContentHandler+<HandleImplAsync>d__15.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[YourPhone.Connectivity.Managed.PhoneContentHandler+<HandleImplAsync>d__15, YourPhone.Connectivity.Managed, Version=1.23102.126.0, Culture=neutral, PublicKeyToken=null]](<HandleImplAsync>d__15 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[YourPhone.Connectivity.Managed.PhoneContentHandler+<HandleImplAsync>d__15, YourPhone.Connectivity.Managed, Version=1.23102.126.0, Culture=neutral, PublicKeyToken=null]](<HandleImplAsync>d__15 ByRef)
at YourPhone.Connectivity.Managed.PhoneContentHandler.HandleImplAsync(YourPhone.AppCore.WinRT.Devices.IDeviceData, YourPhone.Contracts.Connectivity.IIncomingRequest)
at YourPhone.Connectivity.Managed.PhoneContentHandler.HandleAsync(YourPhone.AppCore.WinRT.Devices.IDeviceData, YourPhone.Contracts.Connectivity.IIncomingRequest)
at YourPhone.Connectivity.Managed.MessageRouter+<RouteIncomingMessageImplAsync>d__3.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[YourPhone.Connectivity.Managed.MessageRouter+<RouteIncomingMessageImplAsync>d__3, YourPhone.Connectivity.Managed, Version=1.23102.126.0, Culture=neutral, PublicKeyToken=null]](<RouteIncomingMessageImplAsync>d__3 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[YourPhone.Connectivity.Managed.MessageRouter+<RouteIncomingMessageImplAsync>d__3, YourPhone.Connectivity.Managed, Version=1.23102.126.0, Culture=neutral, PublicKeyToken=null]](<RouteIncomingMessageImplAsync>d__3 ByRef)
at YourPhone.Connectivity.Managed.MessageRouter.RouteIncomingMessageImplAsync(YourPhone.AppCore.WinRT.Devices.IDeviceData, YourPhone.Contracts.Connectivity.IIncomingRequest, System.Threading.CancellationToken)
at System.Threading.Tasks.TaskToAsyncInfoAdapter`4[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.VoidValueTypeParameter, Microsoft.Windows.SDK.NET, Version=10.0.22621.30, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]..ctor(System.Delegate)
at System.Runtime.InteropServices.WindowsRuntime.AsyncInfo.Run[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Func`2<System.Threading.CancellationToken,System.Threading.Tasks.Task`1<System.__Canon>>)
at YourPhone.Connectivity.YPP.Managed.YppAppHandoffHandler+<DispatchIncomingMessageAsync>d__10.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[YourPhone.Connectivity.YPP.Managed.YppAppHandoffHandler+<DispatchIncomingMessageAsync>d__10, YourPhone.Connectivity.YPP.Managed, Version=1.23102.126.0, Culture=neutral, PublicKeyToken=null]](<DispatchIncomingMessageAsync>d__10 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[YourPhone.Connectivity.YPP.Managed.YppAppHandoffHandler+<DispatchIncomingMessageAsync>d__10, YourPhone.Connectivity.YPP.Managed, Version=1.23102.126.0, Culture=neutral, PublicKeyToken=null]](<DispatchIncomingMessageAsync>d__10 ByRef)
at YourPhone.Connectivity.YPP.Managed.YppAppHandoffHandler.DispatchIncomingMessageAsync(YourPhone.Contracts.Connectivity.IIncomingRequest, System.String)
at YourPhone.Connectivity.YPP.Managed.YppAppHandoffHandler+<OnIncomingMessageV2>d__9.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[YourPhone.Connectivity.YPP.Managed.YppAppHandoffHandler+<OnIncomingMessageV2>d__9, YourPhone.Connectivity.YPP.Managed, Version=1.23102.126.0, Culture=neutral, PublicKeyToken=null]](<OnIncomingMessageV2>d__9 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[YourPhone.Connectivity.YPP.Managed.YppAppHandoffHandler+<OnIncomingMessageV2>d__9, YourPhone.Connectivity.YPP.Managed, Version=1.23102.126.0, Culture=neutral, PublicKeyToken=null]](<OnIncomingMessageV2>d__9 ByRef)
at YourPhone.Connectivity.YPP.Managed.YppAppHandoffHandler.OnIncomingMessageV2(YourPhone.YPP.Transport.Messaging.IIncomingMessage, System.String)
at YourPhone.YPP.PhoneLink.SignalR.SignalRAppHandOffManager+<PassToAppAsync>d__14.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[YourPhone.YPP.PhoneLink.SignalR.SignalRAppHandOffManager+<PassToAppAsync>d__14, YourPhone.YPP.PhoneLink, Version=0.23102.47.0, Culture=neutral, PublicKeyToken=null]](<PassToAppAsync>d__14 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[YourPhone.YPP.PhoneLink.SignalR.SignalRAppHandOffManager+<PassToAppAsync>d__14, YourPhone.YPP.PhoneLink, Version=0.23102.47.0, Culture=neutral, PublicKeyToken=null]](<PassToAppAsync>d__14 ByRef)
at YourPhone.YPP.PhoneLink.SignalR.SignalRAppHandOffManager.PassToAppAsync(System.Collections.Generic.KeyValuePair`2<YourPhone.YPP.PhoneLink.SignalR.HandOffSubmission,System.Threading.Tasks.TaskCompletionSource`1<System.Object>>)
at YourPhone.YPP.PhoneLink.SignalR.SignalRAppHandOffManager+<RunConsumerReadLoopAsync>d__13.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[YourPhone.YPP.PhoneLink.SignalR.SignalRAppHandOffManager+<RunConsumerReadLoopAsync>d__13, YourPhone.YPP.PhoneLink, Version=0.23102.47.0, Culture=neutral, PublicKeyToken=null]].ExecutionContextCallback(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[YourPhone.YPP.PhoneLink.SignalR.SignalRAppHandOffManager+<RunConsumerReadLoopAsync>d__13, YourPhone.YPP.PhoneLink, Version=0.23102.47.0, Culture=neutral, PublicKeyToken=null]].MoveNext(System.Threading.Thread)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[YourPhone.YPP.PhoneLink.SignalR.SignalRAppHandOffManager+<RunConsumerReadLoopAsync>d__13, YourPhone.YPP.PhoneLink, Version=0.23102.47.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()