代码之家  ›  专栏  ›  技术社区  ›  serialhobbyist

如何防止Server2008R2设备盒上出现“…已停止工作”窗口?

  •  5
  • serialhobbyist  · 技术社区  · 15 年前

    例如,我当前的项目正在访问WCF服务-我正在使用Ctrl+F5启动一个控制台程序客户端。我跑过去把窗户打开。标题是我刚开始的项目的名称,它包含:

    [insert-project-name-here] has stopped working
    
    Windows can check online for a solution to the problem.
    
    --> Check online for a solution and close the program
    
    --> Close the program
    
    --> Debug the program
    
    V  View problem details.
    

    我怎样才能避免这种烦恼呢?

    5 回复  |  直到 15 年前
        1
  •  7
  •   Sky Sanders    15 年前

    在Windows Vista上,默认情况下 显示用户友好的对话框 调试程序按钮并启动 调试器成功,您的原始 调试会话的结束。

    为了避免 调试时,您将要更改 实时调试器配置 XP和Windows Server 2003。这 配置在注册表中存储为 DbgJITDebugLaunchSetting值 HKEY\ U LOCAL\ U MACHINE\软件\Microsoft.NETFramework Vista是010。改成02 是Windows XP上的默认值。 不再看到用户定义的 断点对话框,并将能够 之后继续使用Visual Studio

    this page 并向下滚动至“在Windows Vista和2008 Server上实时调试”

    另请注意:如果您正在运行x64的关键是将在魔兽世界部分。

        2
  •  6
  •   Andy    14 年前

    这些答案并没有修复我的Windows 7 x64-即使在重新启动之后,但确实: http://www.mattsilverman.com/2011/04/windows-is-checking-for-a-solution-to-the-problem.html

    然后在弹出的窗口中选择“从不检查解决方案”

        3
  •  3
  •   Francois    15 年前

    1. 单击开始并在搜索栏或运行命令上键入gpedit.msc
    2. 现在导航到
    3. 找到“关闭Windows客户体验改善计划”,双击或右键单击“编辑”。
    4. 单击启用。应用并确定,然后关闭gpedit窗口。

    (学分转到 http://social.answers.microsoft.com/Forums/en-US/w7files/thread/291c0945-c41f-4c8b-bca1-6b6d0836f62a

        4
  •  0
  •   Jason Kester    12 年前

    对于Windows Server 2008,应该这样做:

    serverWerOptin /disable
    

    您需要以管理员身份运行cmd.exe才能使其正常工作。您可能还需要从此线程运行“从不检查解决方案”和“关闭Windows客户体验改善计划”步骤。

        5
  •  0
  •   empty Debilski    9 年前

    我进入组策略编辑器,单击开始并在搜索栏上键入gpedit.msc。

    然后我启用了计算机配置>管理模板>Windows组件>Windows错误报告>防止显示严重错误的用户界面