zoukankan      html  css  js  c++  java
  • 禁用Windows服务器iis错误导致启动vs调试

    问题描述:

    IIS站点错误会导致windows服务器启动vs调试,这在生产服务器是完全没必要的,会导致下面的问题,弹出一个调试框,必须手动关闭。很是不爽。。

    关闭调试导入注册表:

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFramework]
    "DbgManagedDebugger"=-
    "DbgJITDebugLaunchSetting"=dword:00000001
    
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAeDebug]
    "Debugger"=-
    
    [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoft.NETFramework]
    "DbgManagedDebugger"=-
    "DbgJITDebugLaunchSetting"=dword:00000001
    
    [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionAeDebug]
    "Debugger"=-

    恢复调试导入注册表,根据自己服务器调整程序路径:

    Windows Registry Editor Version 5.00
     
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFramework]
    "DbgManagedDebugger"=""C:\Windows\system32\vsjitdebugger.exe" PID %d APPDOM %d EXTEXT "%s" EVTHDL %d"
    "DbgJITDebugLaunchSetting"=dword:00000010
     
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAeDebug]
    "Debugger"=""C:\Windows\system32\vsjitdebugger.exe" -p %ld -e %ld"
     
    [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoft.NETFramework]
    "DbgManagedDebugger"=""C:\Windows\system32\vsjitdebugger.exe" PID %d APPDOM %d EXTEXT "%s" EVTHDL %d"
    "DbgJITDebugLaunchSetting"=dword:00000010
     
    [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionAeDebug]
    "Debugger"=""C:\Windows\system32\vsjitdebugger.exe" -p %ld -e %ld"
  • 相关阅读:
    supervisor 3.0a81 安装失败
    nginx使用HttpImageFilterModule
    docky模式下背景不透明
    一堆DLL中找一个类
    Python中序列化处理之——marshal和cPickle篇
    Mercurial host fingerprint warning
    Python中时间的处理之——tzinfo篇
    ServiceStack.Redis的问题与修正
    Python中时间的处理之——datetime篇
    Rdesktop 1.6.0 and Windows Server 2008 SP2
  • 原文地址:https://www.cnblogs.com/wxb8/p/12003586.html
Copyright © 2011-2022 走看看