已有11人关注
五子棋游戏大厅
发表在C#视频课程答疑 2021-12-14
是否精华
版块置顶:

有关调用实时(JIT)调试而不是此对话框的详细信息,

请参见此消息的结尾。


************** 异常文本 **************

System.NullReferenceException: 未将对象引用设置到对象的实例。

   在 ServerGobang.Frm_Server.UpdateUser()

   在 ServerGobang.Frm_Server.Frm_Server_Shown(Object sender, EventArgs e)

   在 System.Windows.Forms.Form.OnShown(EventArgs e)

   在 System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)

   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   在 System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

   在 System.Windows.Forms.Control.InvokeMarshaledCallbacks()



************** 已加载的程序集 **************

mscorlib

    程序集版本:4.0.0.0

    Win32 版本:4.8.4420.0 built by: NET48REL1LAST_C

    基本代码:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

----------------------------------------

ServerGobang

    程序集版本:1.0.0.0

    Win32 版本:1.0.0.0

    基本代码:file:///E:/%E6%9C%B1%E8%B1%AA%E6%9D%B0%E7%9A%84%E6%AF%95%E4%B8%9A%E8%AE%BE%E8%AE%A1/%E4%BA%94%E5%AD%90%E6%A3%8B%E5%A4%A7%E5%8E%85%E6%B8%B8%E6%88%8F%E6%BA%90%E7%A0%81+%E9%A1%B9%E7%9B%AE%E6%96%87%E6%A1%A3/Gobang/ClientGobang/bin/Debug/ServerGobang.exe

----------------------------------------

System.Windows.Forms

    程序集版本:4.0.0.0

    Win32 版本:4.8.4400.0 built by: NET48REL1LAST_C

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

    程序集版本:4.0.0.0

    Win32 版本:4.8.4360.0 built by: NET48REL1LAST_C

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

    程序集版本:4.0.0.0

    Win32 版本:4.8.4390.0 built by: NET48REL1LAST_C

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Configuration

    程序集版本:4.0.0.0

    Win32 版本:4.8.4190.0 built by: NET48REL1LAST_B

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Core

    程序集版本:4.0.0.0

    Win32 版本:4.8.4455.0 built by: NET48REL1LAST_C

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Xml

    程序集版本:4.0.0.0

    Win32 版本:4.8.4084.0 built by: NET48REL1

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

GobangClass

    程序集版本:1.0.0.0

    Win32 版本:1.0.0.0

    基本代码:file:///E:/%E6%9C%B1%E8%B1%AA%E6%9D%B0%E7%9A%84%E6%AF%95%E4%B8%9A%E8%AE%BE%E8%AE%A1/%E4%BA%94%E5%AD%90%E6%A3%8B%E5%A4%A7%E5%8E%85%E6%B8%B8%E6%88%8F%E6%BA%90%E7%A0%81+%E9%A1%B9%E7%9B%AE%E6%96%87%E6%A1%A3/Gobang/ClientGobang/bin/Debug/GobangClass.DLL

----------------------------------------

System.Data

    程序集版本:4.0.0.0

    Win32 版本:4.8.4455.0 built by: NET48REL1LAST_C

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

System.Data.resources

    程序集版本:4.0.0.0

    Win32 版本:4.8.4084.0 built by: NET48REL1

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Data.resources.dll

----------------------------------------

System.Transactions

    程序集版本:4.0.0.0

    Win32 版本:4.8.4084.0 built by: NET48REL1

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

----------------------------------------

System.EnterpriseServices

    程序集版本:4.0.0.0

    Win32 版本:4.8.4084.0 built by: NET48REL1

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

----------------------------------------

mscorlib.resources

    程序集版本:4.0.0.0

    Win32 版本:4.8.4084.0 built by: NET48REL1

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll

----------------------------------------

System.Windows.Forms.resources

    程序集版本:4.0.0.0

    Win32 版本:4.8.4084.0 built by: NET48REL1

    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll

----------------------------------------


************** JIT 调试 **************

要启用实时(JIT)调试,

该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置

jitDebugging 值。

编译应用程序时还必须启用

调试。


例如:


<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>


启用 JIT 调试后,任何未经处理的异常

都将被发送到在此计算机上注册的 JIT 调试程序,

而不是由此对话框处理。



分享到:
精彩评论 1
小禾斗
学分:7308 LV13
TA的每日心情
奋斗
2017-04-21 14:00:25
2021-12-23
沙发

重新生成类库,然后重新在服务器端和客户端添加应用,运行程序后,先开启服务,然后进行客户端注册使用

首页上一页 1 下一页尾页 1 条记录 1/1页
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照