Windows Phone Develoepr Toolkit Beta で、エミュレータ実行しようとしたとき、このようなエラーが出ることがあります。
Unable to cast COM object of type 'Microsoft.VisualStudio.DeviceConnectivity.Interop.ConManServerClass' to interface type 'Microsoft.VisualStudio.DeviceConnectivity.Interop.ICcConnection3'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{E40AE9A4-02EB-4145-9F61-70E67A7B62C1}' failed due to the following error: インターフェイスがサポートされていません (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
実際エミュレータにアプリは転送されているし、転送されているアプリは実行はできるのだけど、なぜかデバッガがこのエラーでつながらない。
答えを求めてMSDNフォーラム見てみると、どうやら、EQATEC Profilerと競合するようで、僕の環境でも「EQATEC Profilerをアンインストール」したのち、「regsvr32でDLLを登録し直す」と解決しました。
DLLの再登録は管理者モードで起動したコマンドプロンプトに以下のコマンドを打ち込めばOKです。
32bit OS の場合
regsvr32 "C:\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Bin\ConManPS.dll"
64bit OS の場合
regsvr32 "C:\Program Files (x86)\Common Files\Microsoft Shared\CoreCon\1.0\Bin\ConManPS.dll"