要启用实时(JIT)调试

来源:百度知道 编辑:UC知道 时间:2024/05/24 18:29:06
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 IAP.Client.MainForm.InitControl(Object sender, EventArgs e)
在 System.Windows.Forms.Form.OnLoad(EventArgs e)
在 System.Windows.Forms.Form.OnCreateControl()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.WmShowWindow(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.ContainerControl.WndProc(Message& m)
在 System.Windows.Forms.Form.WmShowWindow(Message& m)
在 System.Windows.Forms.Form.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

是com组建引起的,需要空间重新注册,有的时候更换目录也会出现此问题。
1. “开始- > 运行” , 键入cmd.exe

2. 在命令行里运行 “msdtc -uninstall”,然后请您确认一下MSDTC这个服务在您的服务管理器里面已经不存在了” Distributed Transaction Coordinator”。并且请您也确认一下在群集管理器界面里msdtc的资源是不是在里面,如果在,请您删除这个资源。

3. 然后请在 cmd里运行”msdtc -install” ,然后您再查看一下MSDTC这个服务是不是又出现在了服务管理界面以及集群组上。

4. 打开控制面板,选择添加删除程序

5. 然后选择添加删除Windows组件

6. 选择”Application Server”

7. 选择 详细 .

8. 保证已经勾选了 Enable network DTC access 。

9. 选择下一步

在开始 --- 运行输入MMC,然后点确定第二步:在控制台“文件”菜单里面选择“添加删除管理单元”。第三步:在添加后的“安全配置和分析”鼠标右键点击选择“打开数据库在打开数据库下面的文件名可以随意输入一个名字在导入模板界面选择“Setup Security.inf”。

第四步:在“安全配置和分析”鼠标右键菜单选“立即配置计算机出现下面这个窗口的时候,直接点确定配置是的界面,等着这个窗口自动关闭,工作就结束了

第五步:关闭控制台界面,选择“否重起电脑,恢复系统注册表,服务,等设置

10. 点击完成