How to fix error 0x8001010E (RPC_E_WRONG_THREAD) when run Windows Phone project

How to fix error 0x8001010E (RPC_E_WRONG_THREAD) when run Windows Phone project

Did you get error

Error 1 Retrieving the COM class factory for component with CLSID {2D0A16C9-53D9-42C1-BCC2-8D2A135E2163} failed due to the following error: 8001010e The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD))

When try to debug or run Windows Phone Apps or you notice at the Run button there’s no Windows Phone 8 Emulator list, here is the solution:

  1. Go to C:\Users\<Username>AppData\Local\Microsoft\Phone Tools\CoreCon\
  2. Delete all folder inside it
  3. Run Visual Studio as Administrator
  4. You will enable to run/debug your windows phone app

2 thoughts on “How to fix error 0x8001010E (RPC_E_WRONG_THREAD) when run Windows Phone project

Leave a Reply

Your email address will not be published. Required fields are marked *