Friday, January 26, 2007

Exception when trying to transfer data between .NET Framework 2.0 and 1.1

We have some old piece of code which is written in .NET 1.1 framework. The new development is going on .NET 2.0 framework. We would not wanted to rewrite the business logic we had already written in 1.1 and so we thought of using .NET remoting to invoke those methods from new 2.0 code.

The issue we faced when we were coding is, it gives exception when we try to pass data from 2.0 to 1.1 remoting objects. And the error was there specially when we were trying to send DataSet and Date objects. We thought there is different serialization in both the frameworks which is the cause of issue. Well, we could able to achieve it as we converted date in string and DataSet in XML.
Later we could able to find out there is hotfix available to handle this.

The URL of the hotfix is

No comments:

Post a Comment