Visual Studio Absturz bei der Eingabe im editor
Ich habe mit VS2010 für ein paar Wochen, aber die letzten paar Tage wurde es völlig unbrauchbar, wenn ich alles in den editor von Visual Studio eine exception wirft, dann bekomme ich viele intellisence Fehler (der code ist in Ordnung, ich kann es kompilieren, wenn ich ausführen, bevor Sie versuchen, den editor verwenden) - hier ist die log-Meldung:
<entry>
<record>241</record>
<time>2011/01/25 08:30:34.109</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.TextManager.Interop.IVsTextReplaceEvents'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{CF9928D9-65AE-4319-A446-94ED5C45ECDE}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
 at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, Boolean& pfNeedsRelease)
 at Microsoft.VisualStudio.TextManager.Interop.IVsTextReplaceEvents.OnReplace(ChangeInput[] pCI)
 at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.OnTextBufferChangedHighPriority(Object sender, TextContentChangedEventArgs e)
 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)</description>
</entry>
<entry>
<record>242</record>
<time>2011/01/25 08:30:34.125</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.Editor.Implementation.IVsTextStreamEvents_Private'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
 at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, Boolean& pfNeedsRelease)
 at Microsoft.VisualStudio.Editor.Implementation.IVsTextStreamEvents_Private.OnChangeStreamText(Int32 iPos, Int32 iOldLen, Int32 iNewLen, Int32 fLast)
 at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.OnTextBufferChanged(Object sender, TextContentChangedEventArgs e)
 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)</description>
</entry>
- Also, Wann soll VS wirklich Abstürzen?
Du musst angemeldet sein, um einen Kommentar abzugeben.
Dieser scheint, wie es könnte sein, aufgrund einige info fehlt aus der Registrierung auf Ihrem computer. Wenn Sie gehen, um die MS-Connect-website findest du eine Diskussion über dieses Thema und was zu sein scheint eine Lösung als gut.
Lösung (kopiert von der Seite):
Verwendung von regedit, suchen Sie auf den folgenden Schlüssel:
Auf 32-Bit-Windows:
[HKEY_CLASSES_ROOT\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32]
Auf 64-Bit-Windows:
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32]
Den "(Standard)" - Wert sollte eine der folgenden Optionen:
Auf 32-Bit-Windows:
"C:\Program Files\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll"
Auf 64-Bit-Windows:
"C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll"
Sieht aus wie ein problem mit einer Erweiterung oder add in. Deaktivieren Sie alle dann wieder zu aktivieren eins nach dem anderen und sehen, ob einer von Ihnen handelt..