Visual Studio和IIS Express随机停止工作

时间:2017-10-26 23:23:30

标签: asp.net .net visual-studio-2013 iis-express devenv

我一年来一直在使用这台机器进行开发,而且它是一台全新的机器。现在从2-3天开始,当我运行我的asp.net MVC应用程序并重新启动时,我的visual studio停止工作。有时IIS Express会停止工作,甚至浏览器也会退出。

我检查了activitylog.xml

来源:编辑或编辑扩展

  

System.ComponentModel.Win32Exception(0x80004005):存储空间不足   可用于处理此命令   MS.Win32.UnsafeNativeMethods.RegisterClassEx(WNDCLASSEX_D wc_d)at at   MS.Win32.HwndWrapper..ctor(Int32 classStyle,Int32 style,Int32   exStyle,Int32 x,Int32 y,Int32 width,Int32 height,String name,   IntPtr父,HwndWrapperHook []挂钩)   System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters   参数)at   System.Windows.Interop.HwndSource..ctor(HwndSourceParameters   参数)at   System.Windows.Controls.Primitives.Popup.PopupSecurityHelper.BuildWindow(的Int32   x,Int32 y,Visual placementTarget,布尔透明,   HwndSourceHook hook,AutoResizedEventHandler handler)at   System.Windows.Controls.Primitives.Popup.BuildWindow(视觉   targetVisual)at   System.Windows.Controls.Primitives.Popup.CreateWindow(布尔   asyncCall)at   System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject的   d,DependencyPropertyChangedEventArgs e)at   System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs   吃   System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs   吃   System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs   args)at   System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex   entryIndex,DependencyProperty dp,PropertyMetadata元数据,   EffectiveValueEntry oldEntry,EffectiveValueEntry& newEntry,布尔值   coerceWithDeferredReference,Boolean coerceWithCurrentValue,   OperationType operationType)at   System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp,   对象值,PropertyMetadata元数据,布尔值   coerceWithDeferredReference,Boolean coerceWithCurrentValue,   OperationType operationType,Boolean isInternal)at   System.Windows.DependencyObject.SetValue(DependencyProperty dp,Object   价值)   Microsoft.VisualStudio.Language.Intellisense.Implementation.MouseTrackingQuickInfoPresenter.Render()   在   Microsoft.VisualStudio.Language.Intellisense.Implementation.IntellisenseSessionStack.OnSessionPresenterChanged(对象   发件人,EventArgs e)at   Microsoft.VisualStudio.Language.Intellisense.Implementation.IntellisenseSession.RaisePresenterChanged()   在   Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Recalculate()   在   Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Start()   在   Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultQuickInfoController.OnTextView_MouseHover(对象   sender,MouseHoverEventArgs e)at   Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.RaiseHoverEvents()

某些日志在此错误之前如下

  • 开始加载包[Microsoft.VisualStudio.Debugger.Parallel]
  • 结束包装[Microsoft.VisualStudio.Debugger.Parallel]
  • 输入函数VBDispatch :: GetTypeLib
  • 离开函数VBDispatch :: GetTypeLib
  • 输入函数VBDispatch :: GetTypeLib
  • 离开函数VBDispatch :: GetTypeLib
  • 输入函数VBDispatch :: GetTypeLib
  • 离开函数VBDispatch :: GetTypeLib
  • 输入函数VBDispatch :: GetTypeLib
  • 离开函数VBDispatch :: GetTypeLib
  • 输入函数VBDispatch :: GetTypeLib
  • 离开函数VBDispatch :: GetTypeLib
  • 输入函数VBDispatch :: GetTypeLib
  • 离开函数VBDispatch :: GetTypeLib
  • 输入函数VBDispatch :: GetTypeLib
  • 离开函数VBDispatch :: GetTypeLib

然后发生错误(粘贴在开头)。 另外我应该在哪里寻找真实原因,因为这只是昨天的日志。

更新

我的事件日志实际上给出了devenv错误

  

应用程序:devenv.exe

     

框架版本:v4.0.30319

     

描述:   由于未处理的异常,进程被终止。例外信息:   System.ComponentModel.Win32Exception at   MS.Win32.UnsafeNativeMethods.RegisterClassEx(WNDCLASSEX_D)at at   MS.Win32.HwndWrapper..ctor(Int32,Int32,Int32,Int32,Int32,Int32,   Int32,System.String,IntPtr,MS.Win32.HwndWrapperHook [])

1 个答案:

答案 0 :(得分:0)

由于RichTextBox控件,问题是(完全与代码相关)。微软已经解决了这个错误here