Error when building object with DCOM Connector

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.

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...

Similar Messages

  • Error when building application with Excel included

    Hi All !
    I've read several post on problems with Report Generation Toolkit when building applications that uses Excel or Word interactivity.
    I've included both _Excel Dynamic VIs.vi and _Word Dynamic VIs.vi in my project and added them to the dynamic vis and support files.
    When building I get the error :
    The VI is broken. Open the VI in LabVIEW and fix the errors.
    C:\Programmer\National Instruments\LabVIEW 8.2\vi.lib\addons\_office\_exclsub.llb\_Excel Dynamic VIs.vi
    When opening that VI there is no broken arrow and all the vi's included in this is not broken either.
    I've tried mass compiling and so on but so far luck.
    Regards Morten Kahr
    Regards Kahr
    Certified LabVIEW Architect
    CIM A/S

    If you do a search on this forum you will find this to be a common and vexing problem. I myself had this same exact problem about a year ago, and it took me the better part of a day to track it down. As you will find by reading the various threads on this problem, there seems to be no specific cause for this, and it remains a mystery, and the solutions are no better than chanting voodoo, and probably just as effective.
    One thing you can try is to force a recompile of your VI hierarchy. Open you top-level VI. If it's set up to run when opened, stop it. Hold down the Control key and click the run button. This will force a recompile of the application. Sometimes this works, sometimes it doesn't. Like I said, voodoo.
    Another thing to look for is to check if you are using any diagram disable structures or case structures with a constant wired, as in trying to use the case structure to comment out code.
    Are you using classes and passing by reference? There was a mention of this here.

  • Error when building Installer with USI 1.5.0 with Labview 8.5

    I used to build an installer with Labview 8.2 and included this additional installer USI 1.5.0  but now with labview 8.5 it gives me an error:
    "Locate the "NI LabVIEW" distribution. LabVIEW needs to copy a component installed or updated by the distribuiton to conitnue building the installer"
    Any advice

    Hi reza_sed,
    Thank you for contacting National Instruments.  When you get this message, are you prompted for a location of this installer (CD drive or something)?  Sometimes if components are installed together, certain dependencies are created.  You might be able to add the installer to a LabVIEW 8.2 installer with no problem, but the installer cannot be found when using a different version of LabVIEW.  You might try uninstalling USI, then copying the install files from the CD or from our website to your hard drive and then installing from there.  Then, you should be able to include the additional installer.
    Another thing that may be happening is that the LabVIEW Run-Time Engine you have for 8.5 does not support NI-USI.  The full version of the Run-Time Engine supports NI-USI, but the web browser only version does not.  Make sure you select the full version when installing.
    Donovan

  • Getting error when trying to create Exchange Connector in System Center Service Manager 2012

    Getting error when trying to create Exchange Connector in System Center Service Manager 2012
    The connection to the server was unsuccessful. Please check the server name and/or credentials entered.
    Additional Information: The server URL is not accessible or the user does not have permission to access it (message: The request failed. The remote server returned an error: (401) Unauthorized.
    Warm Regards, Pramod Kumar Singh Manager-IT

    Someone sorted out this issue by installing API 1.2 and copying the dll files to the service manager server ,service folder and replacing it with API 2.0 dll files.
    Also, your question is related to SCSM, please post at SCSM forum if you have further question.
    Juke Chou
    TechNet Community Support

  • Error when opening document with ECL control: INVALID_DATA

    Hi Gurus,
    I've tried to search the net for this problem but could not find anything and I'm stuck now.
    Description:
    we're using ECL to view attached documents (to POs etc.) which are stored through ArchiveLink on the content repository.
    when we try to open this document, time-to-time we get following error:
    Error when opening document with ECL control: INVALID_DATA
    Message no. SDV004
    by time-to-time I mean that when we try to open same attachment again it opens successfully (sometimes we need to re-open it 3-4 times to get it)
    what we've tried is to enlarge timeout for HTTP protocol (tx SMICM, from former 30 to actual 60) but only effect we got is that we're waiting for the error longer time
    It will be really great if anybody of you guys can give me an advice where the problem can be or where should I look and what to check
    Thanks,
    David

    Hi Christoph,
    thanks for tip, unfortunately this was already flagged, currently settings are:
    for Display Settings:
    yes - include ECL control
    use HTML control
    empty - maximum viewer wait time
    (do you think that setting some value for this could help)
    yes - deactivate generic object services in viewer
    no - doc display as dialog box
    yes - deactivate data provider cache
    Storage Settings:
    yes - always copy document class from document type
    yes - permit multiple assignment
    Thanks,
    David

  • Error when extracting data with extractor 2lis_04_matnr - NEED HELP ASAP !!

    Hi experts!
    Got an error when extracting data with extractor 2lis_04_matnr.
    System says (short dump):
    DUMP TEXT START----
    Runtime error:    CONNE_IMPORT_WRONG_COMP_TYPE
    Exception:   CX_SY_IMPORT_MISMATCH_ERROR
    Error when attempting to import object "MC04P_0MAT_TAB".
    The current ABAP program "SAPLMCEX" had to be terminated because one of the statements could not be executed. This is probably due to an error in the ABAP program. When attempting to import data, it was discovered that the data type of the stored data was not the same as that specified in the program.
    An exception occurred. This exception is dealt with in more detail below. The exception, which is assigned to the class 'CX_SY_IMPORT_MISMATCH_ERROR', was neither caught nor passed along using a RAISING clause, in the procedure  "MCEX_BW_LO_API" "(FUNCTION)".                                                                             
    Since the caller of the procedure could not have expected this exception      
    to occur, the running program was terminated.                                
    The reason for the exception is:  When importing the object "MC04P_0MAT_TAB", the component no. 5 in the dataset has a different type from the corresponding component of the target object in the program "SAPLMCEX". <b>The data type is "D" in the dataset, but "C" in the program.</b>
    DUMP TEXT END----
    Please, can someone explain me how to solve it? 
    Really need help ASAP!
    Thanks in advance,
    Jaume
    Message was edited by:
            Jaume Saumell
    Message was edited by:
            Jaume Saumell

    Hi,
    Check this note: 328181
    So you need to delete entries in SM13/LBWQ for application and also detup table content.
    And then refill teh set up table.
    If you are in production clear the entries by running collective run no of times for this application 04.
    With rgds,
    Anil Kumar Sharma .P

  • Error when importing object P_lis

    Hello Experts ,
    I have a task assigned to me where i have to write a program to get all the reports and their variants( variants without space and non obselete variants)
    When i am trying to access the variant SDCAS_ADRSEL , I am getting a dump "Error when importing object P_lis ". It has got only one variant JOJO1 in the vari table  . Please help me out with this.

    Hi Aditya,
    You might need to provide a few more details on the dump. 
    I.e.
    Exact details of the error that occured.
    Where the error occurred
    You can grab these out of the dump in ST22. That should help people out, to help understand what you are doing, as it's not really clear from your current description. 
    Cheers,
    Katan

  • Error when transporting object data

    Hi,
    i have installed version 7.1 over verison 7 azdobe livecycle designer, howeven after installation, i try to made some changes, but i got the following error
    :" error when transporting object data", anyone familiar with this error?
    Please help. Thanks

    1) It seems that you have deleted a dependent info object from ODS in BW Dev. and so is the warning message that you have deleted that info object.
    2) if you have made some changes in an ODS and want to transport those to quality then you should delete all data from that ODS in quality. Delete all tables in ODS.
    3) You should activate update rules in development again and transport those with this request.
    Error 8 is error caused due to missing objects. do check your request thoughly before you re transport it.
    Hope this helps.
    Regards,

  • ERROR:Unknown WorkItem Object with id #ID#..............

    Hi,
    I am getting this error while updating some user from user login interface. I m using IDM 5.0
    ERROR:Unknown WorkItem Object with id #ID#..............
    Please help me out

    This error comes when the task instance with that ID gets terminated/finished and deleted. The solution is to restart the process you are trying to do. Also, check whether you have imported the required form in repository.

  • Icon path restricted error when building release version for ipad3

    Hi,
    i get the following error when building the release build ipa file for ipad 3: "The path icon.png is restricted. If you were trying to package Icon.png you should correct the case."  In debug mode everything works. My icon is under assets folder and added in the app-xml with:
    <icon>
    <image72x72>assets/icon_72.png</image72x72>
    </icon>
    Did I missed something in configuration? Seems to be that the problem is known but cant find a solution for it. If i try to packegae per command line despite the fact building works I could not install the app. When I change the icon tag to use no icon everything works fine. Any ideas?
    Greetz and thanks in advance!

    I solved it. When you export the release build you can choose package contents to be compiled in the ipa. When I tried to add an icon at first I named it icon.png, which seems to be a reserved name. The configuration to include this icon.png was still saved though i deleted it. Wired... After unchecking the ceckbox for icon.png not to be compiled in the ipa, the release build was build.

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

  • Error when make controller with MVC entity framework

    error when make MVC with entity framework, WHY??

    Hi Arif Kalbu,
    It would be better if you could share us the detailed error message, so I could provide useful informaiton or provide the correct forum for this issue, you know that this forum is to discuss the VS IDE.
    But if the real issue is related to the MVC project, maybe the ASP.net forum would be better: http://forums.asp.net. If then, you could get an answer more quickly and professional. Thanks for your cooperation.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error when transforming object data HELP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hi
    I am running on NW04s. Working on WD for ABAP Interactive forms. whenever I open the Adobe editor thru SFP or Se80,  the editor opens up and I am able to do my operations. The moement I hit back button/Save or any other action which involves coming out of the adobe editor, it throws me an Fatal error - <b>Error when transforming object data</b>. I find that in most of the threads there are similar issues which are still open. Any Help would be appreciated.
    I have installed ADLC 7.1, xACF04s.
    Murali.

    I did the same installation on another PC, and to my suprise it works fine. Looks very strange

  • Adobe Forms Error Message 'Error when transforming object data'

    Hi,
      When i tried to save(Adobe Forms) after making changes in Layout its giving an error message 'Error when transforming object data' and takes me out of the transaction. How do i solve this ? Can anyone help me out.
    Thanks and Regards,
    Franklin.

    hi
      I have the same problem , plz help me out
    thanks

  • Error When building ess/tra/tre and ess/tra/tre/trs DC's

    I had customized the ess/tra/tre and ess/tra/tre/trs DC's and had them working, but I do not know what I did or what happened that am now getting the following errors when building, can anyone help tell what the problem could be?
    Error                                     
    -     The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.xss.tra.model.openccmodel.OVSOpenCostcenterModel. Fix the classpath then try rebuilding this project.               
    -     HDI_HNS15.02_Desstratresap.com                              
    Error                                     
    -     This compilation unit indirectly references the missing type com.sap.xss.tra.model.openccmodel.OVSOpenCostcenterModel (typically some required class file is referencing a type outside the classpath)        
    -      InternalVcTreReview.java          
    -      HDI_HNS15.02_Desstratresap.com/gen_wdp/packages/com/sap/xss/tra/tre/vc/review/wdp      
    -     line 0

    For anyone who might need to know, I managed to fix this by adding tra to the required projects on the build path. On the Navigator View, right click -> Properties -> Java Build Path -> Projects tab -> check dependant project.

Maybe you are looking for