I am working on application using remonting and IIS to host the data component. One of the methods of the remote object creates a DataSet and returns it to the calling method. I have a Shared dll that holds the Interfaces so that is makes it easier to communicate. This dll is in both the server and the client. The method mentioned above implentes one of these interfaces. I am using http as the remonting channel and the BinaryFormatter.
It was working fine until I updated the .NET Framework to 1.1. Now I am getting the following message.
"An unhandled exception of type 'System.InvalidCastException' occurred in mscorlib.dll
Additional information: Return argument has an invalid type."
Any help will be greatly appreciated.