none
On sapbinding (consume service adapter), visual studio crashes RRS feed

  • Question

  • Hello forum. We are trying to do sap integration (using BizTalk 2010 (dev edition) and the adapter pack included in such version. Our server has windows 2008 64 bit). So far I've followed every instruction regarding the dlls (the lib32, r3dllinst) to their appropiate file directories. But somehow, when trying to add generated items, using the sap binding and detailing the sap information, every single time, the visual studio crashes, even when the information is provided is accurate or not (using the real ip or an unreachable ip, or leaving the defaults), no matter what, when pressing connect button, turns out visual studio crash. I have installed both adapter packs, also the lob sdk included, the only thing missing there is the enhanced adapter (tibco, jdedwards, etc) but I dont think that is a possible cause so far.

    Also, we are using the sap client 7.1 guidelines for the adapter so I installed the C redist package in both version. I have enabled visual studio log but nothing unusual is thrown there. No event logs of any kind are being written. So there is almost no information to juggle on possible causes. Visual studio is fine, does not crash on compiling, the only thing is that is evaluation edition (trial with a bunch of days left, not the express edition).

    Please help ! Any ideas ? Thanks in advance.

    Wednesday, July 20, 2011 3:09 PM

Answers

  • I find the instructions a little confusing too, especially if you are not that familiar with SAP. Often the 64-bit files and 32-bit files have exactly the same file names so it can be hard to tell them apart.

    For a different SAP version I actually posted a personal revision on the SAP install notes to add some clarity: http://msinnovations.wordpress.com/2009/02/18/simplify-the-install-experience-of-the-biztalk-sap-adapter/. Not having a list of the DLLs for each download is what I thought was annoying. I think this is because Microsoft does not distribute these files and they could change at any time.

    I am guessing the app crash is because of a missing DLL dependency occuring in the SAP DLLs. VS probably cannot log a missing dependency because it does not have any metadata about what is required.

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline
    • Marked as answer by René Rugerio Friday, July 22, 2011 7:12 PM
    Wednesday, July 20, 2011 7:01 PM
    Moderator

All replies

  • Follow-up: The instructions appears to be somewhat innacurate; as they state the following:

    "SAP RFC SDK 7.10 UNICODE. This is available as part of SNOTE<sup>*</sup> 27517. The instructions to download the SDK are available at http://go.microsoft.com/fwlink/?LinkID=94691. After you have downloaded and extracted the SDK, copy all the DLLs from the \rfcsdk\bin folder and copy them to the relevant location mentioned just preceding this table."

    However, it appear it requires the \rfcsdk\lib libraries too (6 dlls with a libu*.dll and sap*.dll nomenclature). With those libraries available visual studio is not crashing and is able to retrieve all the information from the application server. Perhaps I missed something. But I expect to see that some dependency was missing or something like that, not crashing.

    Thanks for reading.

    Wednesday, July 20, 2011 5:47 PM
  • Hi,

    According to installation manual (see documentation: Installation guid.htm) you need:

  • SAP RFC SDK 7.10 UNICODE. This is available as part of SNOTE<sup>*</sup> 27517. The instructions to download the SDK are available at http://go.microsoft.com/fwlink/?LinkID=94691. After you have downloaded and extracted the SDK, copy all the DLLs from the \rfcsdk\bin and \rfcsdk\lib folders to the relevant location mentioned preceding this table.

  • DLLs are available from SAP as part of R3DLLINST.zip. This contains Microsoft run-time DLLs and can be downloaded from the SAP site. See SNOTE<sup>*</sup> 684106 for more information. You can download the .zip file from http://go.microsoft.com/fwlink/?LinkID=94693. This link has an “Attachments” option from where you can download the package.

  • Microsoft Visual C++ run-time DLLs required for SAP 7.1 client are available from the following links:
  • If you use SAP Secure Network Communications (SNC) to connect to an SAP system, you must also have the relevant DLLs from SAP. These DLLs are different for 32-bit and 64-bit platforms and are available with SNOTE<sup>*</sup> 352295. You can download the DLLs from http://go.microsoft.com/fwlink/?LinkID=104032. This link has an “Attachments” option from where you can download the package. The names of the DLLs are:

    • For 32-bit: gsskrb5.dll, gssntlm.dll

    • For 64-bit x86: gx64krb5.dll, gx64ntlm.dll

    Is this what you have followed or is this unclear/inaccurate?

    HTH

    Regards,

    Steef-Jan Wiggers
    MVP & MCTS BizTalk Server 2010
    http://soa-thoughts.blogspot.com/
    If this answers your question please mark it accordingly

     


  • BizTalk
Wednesday, July 20, 2011 5:54 PM
Moderator
  • I find the instructions a little confusing too, especially if you are not that familiar with SAP. Often the 64-bit files and 32-bit files have exactly the same file names so it can be hard to tell them apart.

    For a different SAP version I actually posted a personal revision on the SAP install notes to add some clarity: http://msinnovations.wordpress.com/2009/02/18/simplify-the-install-experience-of-the-biztalk-sap-adapter/. Not having a list of the DLLs for each download is what I thought was annoying. I think this is because Microsoft does not distribute these files and they could change at any time.

    I am guessing the app crash is because of a missing DLL dependency occuring in the SAP DLLs. VS probably cannot log a missing dependency because it does not have any metadata about what is required.

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline
    • Marked as answer by René Rugerio Friday, July 22, 2011 7:12 PM
    Wednesday, July 20, 2011 7:01 PM
    Moderator