当我开始输入.aspx文件时VS2010异常

时间:2012-08-30 17:43:34

标签: visual-studio-2010 exception

我正在使用Visual Studio 10.0.40219.1 SP1 Rel,我刚刚开始遇到问题。当我打开一个.aspx页面以便在我开始输入时立即更改任何标记时,会出现一条弹出的错误消息

  

“Visual Studio遇到异常。这可能是由扩展引起的。”

然后告诉我,我可以通过使用/ log触发器查看有关错误的更多详细信息,然后查看ActivityLog.xml。在异常之后,当我开始输入时,我的intellisense不起作用

  

System.ArgumentOutOfRangeException:索引超出范围。必须是非负数且小于集合的大小。参数名称:System.ThrowHelper.ThrowArgumentOutOfRangeException()at System.Collections.Generic.List 1.get_Item(Int32 index) at System.Collections.ObjectModel.ReadOnlyCollection 1.System.Collections.Generic.IList.get_Item(Int32 index)at Artem.VisualStudio.Outlining.OutliningTagger.CalculateChange (TextContentChangedEventArgs e)在Artem.VisualStudio.Outlining.OutliningTagger.HandleBufferChanged(Object sender,TextContentChangedEventArgs e)at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent [TArgs](Object sender,EventHandler`1 eventHandlers,TArgs args)

  

System.Runtime.InteropServices.SEHException(0x80004005):外部组件引发了异常。在Microsoft.VisualStudio.Eeitor.Implementation.CommandChainNode.Exec的Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut)中(Guid& pguidCmdGroup,UInt32 nCmdID,UInt32)在Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec的Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(Guid& pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut)中的nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut)在Microsoft.VisualStudio的Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(Guid& pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut)中的Guid& pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut)。 Microsoft.VisualStudio.Editor.Implementation中的Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut) .CommandFilterWrapper.Exec(GUID&安培;在Microsoft.VisualStudio.Editor的Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(Guid& pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut)中的pguidCmdGroup,UInt32 nCmdID,UInt32 nCmdexecopt,IntPtr pvaIn,IntPtr pvaOut。 Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.b_ 0上的Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args)中的Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup,UInt32 cmdID,Object inParam) KeyProcessor p,TextCompositionEventArgs args)at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher。<> c _DisplayClass1e`1.b__1a()at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource ,行动电话)

在“Source”下(在ActivityLog.xml中),他们都说“编辑或编辑扩展”。

我已经尝试禁用我安装的所有扩展程序,但它没有任何区别。我在Win7 64bit机器上。

我见过一些与修复注册表项有关的帖子,但我的注册表项看起来已经完全正确了。我很茫然,我希望有人有类似的问题。提前谢谢!

1 个答案:

答案 0 :(得分:0)

导致问题的扩展名在您的错误消息中:

Artem.VisualStudio.Outlining.OutliningTagger

http://jsoutlining.codeplex.com/workitem/29965相关?