VS 2019 Error 0x8001010E after checkin (16.9.1)

Marc Al 196 Reputation points
2021-03-11T08:31:19.12+00:00

Hello,

Since the update 16.9.0, I have an error message everytime I do a checkin (to TFS).
The following is seen in the log
Is there anything I can do?
Thank you
Marc

Recoverable
System.Runtime.InteropServices.COMException (0x8001010E): L’application a appelé une interface qui était maintenue en ordre pour un thread différent. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD))
at System.Runtime.InteropServices.Marshal.GetObjectForIUnknown(IntPtr pUnk)
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.<>c__DisplayClass683_0.<<IsItemDirty>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
at Microsoft.VisualStudio.Threading.JoinableTask1.CompleteOnCurrentThread() at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func1 asyncMethod, JoinableTaskCreationOptions creationOptions)
at Microsoft.VisualStudio.ProjectSystem.ProjectMultiThreadedService.ExecuteSynchronouslyT
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.<>c__DisplayClass567_0.<HrInvoke>b__0()
at Microsoft.VisualStudio.ProjectSystem.VS.HResult.Invoke(Func1 action, IServiceProvider vsShellServiceProvider, IProjectFaultHandlerService projectFaultHandlerService, UnconfiguredProject project) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.ProjectSystem.CommonProjectSystemTools.Rethrow(Exception ex) at Microsoft.VisualStudio.ProjectSystem.ProjectErrorReporting.<>c__DisplayClass6_0.<SubmitErrorReport>b__0() at Microsoft.VisualStudio.ProjectSystem.ExceptionFilter.<>c__DisplayClass2_0.<Guard>g__Action|0() at GuardMethodClass.GuardMethod(Func1 , Func2 , Func2 )

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,606 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 27,271 Reputation points Microsoft Vendor
    2021-03-12T02:28:23.74+00:00

    Hello @Marc Al ,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    I noticed that, since updating to 16.9.0(16.9.1), the same error code displays these days and have been reported to Developer Community.

    If you didn’t change anything and this issue appears after updating Visual Studio, in my opinion, this may be a potential issue, I strongly suggest you report this issue to Visual Studio Product Team in Developer Community, they will help to fix this issue if it is caused by the update.

    Thank you for helping us make Visual Studio better.

    Best Regards,
    Tianyu

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Marc Al 196 Reputation points
    2021-03-12T06:20:12.44+00:00

    Hello,

    I have tried to post a report and I saw it has already been reported so I have added my vote.

    Marc

    2 people found this answer helpful.
    0 comments No comments

  2. Annetters 1 Reputation point
    2021-04-23T15:59:59.38+00:00

    I have the same problem, even after resetting everything. The error occurs after a commit.

    4/23/2021 10:15:54 AM
    Recoverable
    System.Runtime.InteropServices.COMException (0x8001010E): The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD))
       at System.Runtime.InteropServices.Marshal.GetObjectForIUnknown(IntPtr pUnk)
       at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.<>c__DisplayClass683_0.<<IsItemDirty>b__0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
       at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()
       at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions)
       at Microsoft.VisualStudio.ProjectSystem.ProjectMultiThreadedService.ExecuteSynchronously[T](Func`1 asyncAction)
       at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.<>c__DisplayClass567_0.<HrInvoke>b__0()
       at Microsoft.VisualStudio.ProjectSystem.VS.HResult.Invoke(Func`1 action, IServiceProvider vsShellServiceProvider, IProjectFaultHandlerService projectFaultHandlerService, UnconfiguredProject project)
    --- End of stack trace from previous location where exception was thrown ---
       at Microsoft.VisualStudio.ProjectSystem.CommonProjectSystemTools.Rethrow(Exception ex)
       at Microsoft.VisualStudio.ProjectSystem.ProjectErrorReporting.<>c__DisplayClass6_0.<SubmitErrorReport>b__0()
       at Microsoft.VisualStudio.ProjectSystem.ExceptionFilter.<>c__DisplayClass2_0.<Guard>g__Action|0()
       at GuardMethodClass.GuardMethod(Func`1 , Func`2 , Func`2 )
    ===================
    
    0 comments No comments