功能就是从数据库到一个dataset传会本地,用本地的类一切正常,但是用remoting 的对象的时候总是报
An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module.Additional information: Object reference not set to an instance of an object.错误,更其怪的是,编译好的程序没有问题, 只有在VS.net界面调试会有着个问题。Windows form application.
An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module.Additional information: Object reference not set to an instance of an object.错误,更其怪的是,编译好的程序没有问题, 只有在VS.net界面调试会有着个问题。Windows form application.
比如果你在服务器端是用一个类Implemention中的一个方法GetDataSet()来取得DataSet数据的。
你出现的问题跟DataSet没有关系,而在在客户端无法找到Implemention类对象。
请检查一下你的客户端获取远程对象的部分