Transfer dataset between .net client and appserver

Posted by Andy Demeulemeester on 02-May-2017 08:44

Dear,

Since the upgrade from VS2008 to VS2015 and appserver 10.2B to 11.6.3 we get the error:

[procedurename] :Input result error: System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld. There might be a mismatch between an input result set and the schema in the proxy. (7228)

First we go to the AppServer to ask a dataset with 1 temptable tmp-filter with no records.

Getting a datasethandle is not a problem.

ws_ParamArray = new ParamArray(1);
ws_ParamArray.AddDatasetHandle(0, outDataSet, ParamArrayMode.OUTPUT, ioProDataSetMetaData);
wsOpenProcObject.RunProc("NewFilter", ws_ParamArray);

Between these sources we filled up tmp-filter with 1 record with filterdata.

After that, we put the dataset again to the AppServer to getResults based on the filter.

But input a datasethandle gives errors:

ws_ParamArray = new ParamArray(1);
ws_ParamArray.AddDatasetHandle(0, outDataSet, ParamArrayMode.INPUT, ioProDataSetMetaData);
wsOpenProcObject.RunProc("SetFilter", ws_ParamArray);

ioProDataSetMetaData is initialised like:

ioProDataSetMetaData = new ProDataSetMetaData("", null);

What could be the reason of this error?

Thanks in advance.

All Replies

Posted by Brian K. Maher on 02-May-2017 08:54

Did you update your project references to point to the 11.6.3 Progress.*.dll files?

Posted by Andy Demeulemeester on 02-May-2017 09:00

Hi Brian,

The Progress.Messages.dll and Progress.o4glrt.dll is from version 11.6.0.1407.

Posted by Brian K. Maher on 02-May-2017 09:26

Andy,
 
I think you need to open an official support case so we can look into this in more detail.
 
Brian

Posted by Andy Demeulemeester on 02-May-2017 09:28

Ok, I will. Thanks

This thread is closed