• Stephen W. Thomas
  • Azure Integration Gurus
BizTalkGurus
  • Home
  • Blogs
    • Stephen’s BizTalk and Integration Blog
    • BizTalk Community Blogs via Syndication
  • Forums
  • Downloads
  • Videos
  • Training
    • Online Training
    • Classroom Training
Select Page

Re: Object Reference not set to an instance of an object

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
community-content

    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.

     


    Search this Site:


    Recent Posts

    • Logic App Consumption deployment: The secret of KeyVault parameter cannot be retrieved. Http status code: ‘Forbidden’. Error message: ‘Access denied to first party service
    • BizTalk Server Visual Studio project: attempted re-targeting of the project has been canceled.
    • BizTalk Oracle Adapter error: The assembly required for type mapping not found.
    • PowerShell script to identify all SQL V1 actions and triggers inside Logic Apps Consumption
    • Friday (funny) Fact: There is no size limit for the Logic App parameter name

    Tweets by AzureIntGurus

    Recent Topics

    • Evaluating on the amount of items returned in a message
    • Send and Receive ports problem
    • How to config/costom a WS Security to SOAP header
    • Email attachments – POP3 adapter
    • Calling ASP page from Biztalk Orchestration

    • Home
    • Blogs
    • Forums
    • Downloads
    • Videos
    • Training
    • Facebook
    • X
    • RSS
    @BizTalkgurus.com