Hi I am calling .Net assembly from orchestration and I am getting an error “Object Reference not set to an instance of an object”. I am calling a serializable class with non-static method. in the orchestration view I created a variable and assigned to the .net class and I am calling in the expression shape.
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:
Initilization of the .Net class must be done however ..also ensure the scope of the variable if you initilize it some where else…and use it might not work so make sure its a Orcehstartion level variable.
Author
Posts
Viewing 2 reply threads
The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.