Target exception with MySAP Adapter

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Target exception with MySAP Adapter

Viewing 1 reply thread
  • Author
    Posts
    • #23811

      Hello at all,

      at the moment I have a problem with the MySAP-Adapter v2.0 SP1. The BT-Server is installed on a Failover-MS-Cluster. The first node works fine, but the second can’t transmit messages to SAP. At every try there comes the error message, that the target throw an exception. The original message on my server is only in german: “Ein Aufrufziel hat einen Ausnahmefehler verursacht.”.

      Complete error message:

      #################################################################################
      Ereignistyp:    Warnung
      Ereignisquelle:    BizTalk Server 2006
      Ereigniskategorie:    BizTalk Server 2006
      Ereigniskennung:    5743
      Datum:        25.11.2009
      Zeit:        11:13:59
      Benutzer:        Nicht zutreffend
      Computer:    COMPUTERNAME
      Beschreibung:
      Fehler im Adapter beim Übertragen der für den Sendeport “snd_rcv_SAP” mit der URL “sap://AS:/H/sap.domain.tld/H/ITNPINZ/S/3303/03/085/” bestimmten Nachricht. Sie wird nach dem für diesen Sendeport angegebenen Wiederholungsintervall erneut übertragen. Details: “Ein Aufrufziel hat einen Ausnahmefehler verursacht.”.

      Weitere Informationen über die Hilfe- und Supportdienste erhalten Sie unter http://go.microsoft.com/fwlink/events.asp.
      ###############################################################################

      In a trace conference with SAP, the SAP consultant saw, that the MySAP-adapter call the function “rfc_get_unicodestructur” for a single attribut/column of the SAP-table. And at this point the SAP cancel the RFC-Call and I get the error message in my application protocol.

      Until now I’ve deinstalled and reinstalled the MySAP-adapter, the SAP .Net-Runtime 1.0.3 and MS .Net-Framwork 1.1. But the error is the same and only on this one node. I’ve compared all installed software- and update-items in the system control center and on both nodes are the same.

       

      Does anybody have a hint for me?

      Thanks a lot.

      Ulf

    • #24017

      Hello at all,

       

      through other debugging I found the mistake and I want to share this solution with you.

      The error was missing user rights for the user, that used for the service “BTSSvc$BizTalkServerApplication”. This user wasn’t a local administrator and so he couldn’t write in the directory %ProgramFiles(x86)%\Microsoft BizTalk Adapter v2.0 for mySAP Business Suite\Bin. After I added the user to the local admin group, the functionality was given again.

      I found this error message in the messages of the paused instances.

       

      Thanks for your attention.

      Ulf

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.