Home > Default > Error when building object with DCOM Connector

Error when building object with DCOM Connector

November 30Hits:0
Advertisement
Hello everybody,
I'm new to SAP programming so please forgive my ignorance...
We are trying to build a com object to call some RFC-functions from a VB 6 application. We use DCOM Connector V6.2, I have MS Visual C++ 6.0 installed, unfortunately I don't know the R/3 version of our client.
Every time I click the button "Build Component DLL", the following message appears: "cannot read value of registry entry software\sap\mts\proxygenerator\additionalincludedirs"
This registry entry exists, so I don't know, whats wrong. I run DCOM Connector on Win XP, IE 6. I also tried on a Windows 2000 system, with the same error message.
I hope you can help me, I searched a long time on the forums and didn't find anything.

Answers

Obviously my question did not get to much interest. Luckily I found out the answer myself.
The message from the component builder results from this registry key beeing empty. For some reason the SAP GUI installation routine did not fill it out. I then found that by inserting whatever value into that key, the compilation started and hung with another error (file mkenv.inc not found). After surching for that file I found it was installed in C:\Programme\SAP\FrontEnd\SAPgui\rfcsdk\include
So, bingo, the empty registry value "software\sap\mts\proxygenerator\additionalincludedirs" must be filled "C:\Programme\SAP\FrontEnd\SAPgui\rfcsdk\include" or what corresponds to your installation and it works. At least the component dll was built, I have to test now if it is running correctly...

Read other 2 answers

Tags:

Related Articles

  • Error when building object with DCOM ConnectorNovember 30

    Hello everybody, I'm new to SAP programming so please forgive my ignorance... We are trying to build a com object to call some RFC-functions from a VB 6 application. We use DCOM Connector V6.2, I have MS Visual C++ 6.0 installed, unfortunately I don'

  • When using the DCOM connector to build component dll,Error ...November 28

    When ussing the DCOM connector to build component dll, i get an error massage saying. "Nmake in Project directory failed. A detailed description of the error can be found in C:\Documents and Settings\CTHuang0\My Documents\Lib2\SAPInterface.log "

  • BAPI CommitWork error DCOM ConnectorNovember 30

    I have a VB program using BAPIs with the DCOM Connector. The BAPI object and session object are exported to an MTS server machine. In the VB program I create a global oSession object and logon to R/3 at the form load event. In one function I instanti

  • Error: SAP R/3 DCOM connectorOctober 11

    Hi. I kept receiving COM+ error(eventID 4786)for SAP R/3 DCOM connector: <i>"The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the devel

  • Call RFC with DLL created with DCOM CONNECTOROctober 11

    I try to call a RFC with a DLL that i created with the SAP R/3 DCOM CONNECTOR (Release 4.5.B): My external soft calls the DLL, which calls the RFC, which calls a transaction (Call Transaction Mode N, Update S)... When i test the RFC in SAP (SE37), it

  • BAPI CommitWork fails DCOM ConnectorNovember 30

    I have a VB program using BAPIs with the DCOM Connector. The BAPI object and session object are exported to an MTS server machine. In the VB program I create a global oSession object and logon to R/3 at the form load event. In one function I instanti

  • SAP DCOM Connector on Windows Server 2008November 30

    Does anybody know, if it is possible to use the "old" SAP DCOM Connector on a Windows Server 2008 ? I want to migrate an old ASP Web Solution with DCOM Connection to SAP from Windows 2003 Server to Windows 2008 Server. When I try to install the

  • Error while building sample application "Developing an Order Application"October 11

    hi , I tried to create a simple Mobile application using the instructions for "Tutorial: Developing an Order Application for Handhelds" given at :- http://help.sap.com/saphelp_nwmobile71/helpdata/en/46/7294498d870ad3e10000000a11466f/frameset.htm

  • Error in installing the Password Sync connectorOctober 11

    Hello friends, I am installing the Active Directory Connector Password Sync on the domain controller, these are the results of the installation log. Any suggestions to solve the problem. thanks (Oct 14, 2011 9:08:39 AM), Install, com.installshield.wi

  • Error while building Webdynpro applicationOctober 11

    Hi all, I am getting error while building web dynpro application. Error is as : Error               Web Dynpro Generation: Metadata constraint of Component ExtraShifts is violated: ViewElementAggregation "//WebDynpro/View:dk.cph.sec.wd.extrashifts.ap

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.589 s.