【问题标题】:Visual Studio and IIS Express randomly stops workingVisual Studio 和 IIS Express 随机停止工作
【发布时间】:2017-10-26 23:23:29
【问题描述】:

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

我检查了activitylog.xml

来源:编辑器或编辑器扩展

System.ComponentModel.Win32Exception (0x80004005):存储空间不足 可用于处理此命令 MS.Win32.UnsafeNativeMethods.RegisterClassEx(WNDCLASSEX_D wc_d) 在 MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle,Int32 x,Int32 y,Int32 宽度,Int32 高度,字符串名称, IntPtr 父级,HwndWrapperHook[] 钩子)在 System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters 参数)在 System.Windows.Interop.HwndSource..ctor(HwndSourceParameters 参数)在 System.Windows.Controls.Primitives.Popup.PopupSecurityHelper.BuildWindow(Int32 x, Int32 y, 视觉放置目标, 布尔透明, HwndSourceHook 钩子,AutoResizedEventHandler 处理程序)在 System.Windows.Controls.Primitives.Popup.BuildWindow(可视 目标视觉)在 System.Windows.Controls.Primitives.Popup.CreateWindow(布尔 asyncCall) 在 System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs 吃 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs 吃 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs 参数)在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex,DependencyProperty dp,PropertyMetadata 元数据, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference,布尔 coerceWithCurrentValue, 操作类型操作类型)在 System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, 对象值、PropertyMetadata 元数据、布尔值 coerceWithDeferredReference,布尔 coerceWithCurrentValue, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValue(DependencyProperty dp,对象 值)在 Microsoft.VisualStudio.Language.Intellisense.Implementation.MouseTrackingQuickInfoPresenter.Render() 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.IntellisenseSessionStack.OnSessionPresenterChanged(对象 发件人,EventArgs e) 在 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(对象 发件人,MouseHoverEventArgs e) 在 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 在 MS.Win32.UnsafeNativeMethods.RegisterClassEx(WNDCLASSEX_D) 在 MS.Win32.HwndWrapper..ctor(Int32,Int32,Int32,Int32,Int32,Int32, Int32, System.String, IntPtr, MS.Win32.HwndWrapperHook[])

【问题讨论】:

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


    【解决方案1】:

    由于 RichTextBox 控件,问题(完全与代码相关)。 Microsoft 已针对此错误提供了解决方法here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-04-11
      • 2014-09-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多