Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Object Reference not set to an instance of an object › Re: Object Reference not set to an instance of an object
February 2, 2010 at 3:29 PM
#24184
Hi,
If you did not declare your C# class and methods as static, then you will have to instantiate your class object in the BizTalk Expression shape, before invoking your method. Do something like this:
varMyClass = new Class();
varString = varMyClass.classmethod(str);
Daniel.