您好,
我试图运行Visual Studio 2013,但是我收到此错误:
" InvalidCastException:No se puede convertir el objeto COM del tipo'System._ComObject'al tipo de interfaz
'Microsoft.VisualStudio.Shell.Interop.IVsProfileDataManager'。 Ocurrióunerrordeoperacióndebidoa que la llamada QueryInterface en el componente COM para la interfaz con IID
'{466EFAF6-F832-4079-83CD-4BBB02719C1D}'generósiguiente错误:Interfaz不兼容(ExcepcióndeHRESULT:0x80004002(E_NOINTERFACE))。
at
System.StubHelpers.GetCOMIPFromRCW(Object objSrc,InPtr pCPCMD,IntPtr& ppTarget,Boolean& pfNeedsRelease)
at
MicrosoftVisualStudio.Shell.Interop。 IVsProfileDataManager.GetSettings文件(UInt32 fileLocations,IVsProfileDataManager profileDataManager,String defaultProfile)
at
Microsoft.VisualStudio.Services.SignIn.ProfileSelectionPageDataSource。
<> c_DisplayClass1。< InitializeAsync> b_0()
在System.Threading.Tasks.Task.InnerInvoke()
在System.Threading.Tasks.Task.Execute()
---从抛出异常的上一个位置开始的堆栈跟踪结束---
at
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucess(任务任务)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)
at
Microsoft.VisualStudio.Services.SignIn.PrepareForProfileSelectionPageDataSource。< InitProfileSelectionDataSourceAsync> d_0.MoveNext()
END
任何人都可以帮助我吗?
我已经尝试:
- unnistall并重新安装(多次使用不同的配置)。甚至卸载和删除每个(个人文件夹,设置和所有东西),然后重新安装。
- 尝试安装另一个帐户和微软许可证(相同)结果)
- 安装其他组件(Visual Studio社区)以查看该安装是否会修改另一个组件中的文件(这样我可以运行"Blend")
- 我还安装了一个过程监视器,看看发生了什么,但我无法确定问题所在。
如果有人可以帮助我我我很不高兴。(对不起ortographics错误,我不会说英语)
谢谢。
解决方案
Hello,
Im trying to run Visual Studio 2013 but i get this error:
"InvalidCastException: No se puede convertir el objeto COM del tipo 'System._ComObject' al tipo de interfaz
'Microsoft.VisualStudio.Shell.Interop.IVsProfileDataManager'. Ocurrió un error de operación debido a que la llamada QueryInterface en el componente COM para la interfaz con IID
'{466EFAF6-F832-4079-83CD-4BBB02719C1D}' generó el siguiente error: Interfaz no compatible (Excepción de HRESULT: 0x80004002 (E_NOINTERFACE)).
at
System.StubHelpers.GetCOMIPFromRCW(Object objSrc, InPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
at
MicrosoftVisualStudio.Shell.Interop.IVsProfileDataManager.GetSettings Files(UInt32 fileLocations, IVsProfileDataManager profileDataManager, String defaultProfile)
at
Microsoft.VisualStudio.Services.SignIn.ProfileSelectionPageDataSource.
<> c_DisplayClass1.<InitializeAsync>b_0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at
Microsoft.VisualStudio.Services.SignIn.PrepareForProfileSelectionPageDataSource.<InitProfileSelectionDataSourceAsync>d_0.MoveNext()
END
Can anyone help me?
I already try to:
- unnistall and reinstall (several times with diferent configurations). Even unninstaling and deleting everyting (Personal folders, settings and all that stuff) and then reinstalling.
- Trying to installed with another account and license of microsoft (same result)
- Installing other components (Visual Studio community) to see if that installation maybe will modify the files in the other one (With this i was able to run "Blend")
- I also installed a process monitor to see what was happening but i couldn't identify what was the problem.
If anyone can help me i deeply apreciated. (Sorry for the ortographics mistakes, i dont speak english)
Thanks.
解决方案这篇关于启动Visual Studio 2013时出错。我该如何修复?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!