none
RosettaNet Accelerator for Biztalk: Getting error while calling SubmitRNIF.SubmitMessage() function RRS feed

  • Question

  • Hi, I am trying to setup Rosettanet in our application.

    When I try to submit the 3A4 PO Request using SubmitRNIF.SubmitMessage() function I am getting the following error.

    System.NullReferenceException: Object reference not set to an instance of an object.
    at Microsoft.Solutions.BTARN.Shared.RuntimeGlobal.get_ConfigDbServer()
    at Microsoft.Solutions.BTARN.Shared.RuntimeGlobal.get_ConfigDbConnectionString()
    at Microsoft.Solutions.BTARN.Shared.PipelineHelper.GetTPAConfiguration(String m_homeProfileName, 
    String m_tradingPartnerName, String m_pipCode, String m_pipVersion, Boolean isHomeProfileInitiator) at Microsoft.Solutions.BTARN.Shared.SubmitRNIF.SubmitMessage(Int32 messageCategory,
    String sourcePartyName, String destinationPartyName, String pipCode, String pipInstanceIdentifier, String pipVersion,
    String serviceContent, String[] inputFileNames) at Microsoft.Solutions.BTARN.Shared.SubmitRNIF.SubmitMessage(Int32 messageCategory, String sourcePartyName,
    String destinationPartyName, String pipCode, String pipInstanceIdentifier, String pipVersion, String serviceContent)
     
     I don't understand what is going wrong.Below is the code block which is used to give call.
    SubmitRNIF submitAPI = new SubmitRNIF ();
    submitAPI.SubmitMessage(...................);


     





    Friday, July 29, 2011 11:45 AM

Answers

  • See this sample for guidance and check your code for any discrepancies.


    Don't forget to mark the post as answer or vote as helpful if it does, Regards -Rohit Sharma (http://rohitbiztalk.blogspot.com)
    Tuesday, August 2, 2011 4:28 AM
    Moderator