MDT application install returns unexpected return code: 16

Hi, I'm using MDT 2013 (Version: 6.2.5019.0) and deploying Server 2012 R2 Standard.
The deployment runs fine, but an application install fails. Here is the relevant content from the BDD.LOG file:
Run Command: \\MDT\Share$\Tools\X64\bddrun.exe robocopy \\MDT\Share$\BuildFiles "C:" /MIR /W:5 /R:3 /LOG \\MDT\Share$\LOGS
ZTI installing application
About to run command: \\MDT\Share$\Tools\X64\bddrun.exe robocopy \\MDT\Share$\BuildFiles "C:" /MIR /W:5 /R:3 /LOG \\MDT\Share$\LOGS
Command has been started (process ID 2896)
Return code from command = 16
Application Copy Files 1.0 returned an unexpected return code: 16
Property InstalledApplications001 is now = {9d0ba76d-96f9-4f4f-a6b8-4b1d0ffd2007}
ZTIApplications processing completed successfully.
I've searched for the error code 16 but can't find any results. What does it mean?
Cheers.

I think that I may have found the solution. On different site I've found the robocopy exit codes and 16 is listed there as "Robocopy
did not copy any files.  Check the command line parameters and verify that Robocopy has enough rights to write to the destination folder."
I guess that I need to alter the destination folder to something other than the root of C:\
I'll respond with the result later.
UPDATE: Yep, that was the problem.

Similar Messages

  • Error while calling COM routines via application prog(return code 1028533-)

    Hello Expert,
    In Interactive Demand Planning ( /SAPAPO/SDP94 ), when I'm trying to load data in a planning book , error
    'Error while calling COM routines via application program (return code 1028533-)' is encountered.
    In my selection id, i have only two locations....there is no material selection. 
    When I select the 1st location and load the data its getting loaded properly.....but when i select the 2nd location and try loading data ...the above error is coming.
    I did run /SAPAPO/TS_LCM_CONS_CHECK but the problem persist.
    Any advise to fix this issue would be much appreciated.
    Thanks.
    Tom

    Hi Tom,
    Please see if below exiting threads help you.
    COM error 40134 in Interactive Planning on SCM 5.0 Support Pack SAPKY50011
    Error for COM Routine application program (return code 40028)
    Thukral

  • Error while calling COM routines via application program (return code 40028

    Hi ,
    When i am doing these steps i am getting the following error.
    1.from SAP menu...Demand Planning>Planning>Interactive Demand planning
           2.after the transaction gets loaded...click on the 2nd button that is selection window from the left ALV menu..on the top.
            3.type the below
    show -  Material
    APO Planning Version - K01
    Material  - 12345
    4.Material 12345 will be loaded
    5.Double click and i am getting  ''error Error while calling COM routines via application program (return code 40028)''
    Note : Observed that this is not happening everytime, but happening alternatively.
    Can any one say what is the problem for Error.
    Thanks
    Gerard

    Hello Gerard, Hello Krishna,
    -> The liveCache application failed with COM error::
                                   40028 Illegal timestamp in rough timegrid
    More details about COM error 40028 you will see in TA /n/sapapo/om10
         -> Return code: 40028 -> execute ::
    Invalid time stamp in the time buckets profile relation     
    ( om_ts_tgrelinvalidstamp )     
       < click on '?' mark >
    -> Open an OSS message in accordance with SAP note 167280 if further help
         needed to solve the issue on your system.
    Thank you and best regards, Natalia Khlopina

  • "Error for COM routine using application program (return code 40,020)"

    Dear All,
    Working on 4.1
    We are getting the below error while loading the Data into planning book...
    "Time Series has to be updated"
    After this we updated the storage bucket profile and the fiscal year varient calender.
    And after this we are trying to initialize the planning area..but getting the below error...
    "Error for COM routine using application program (return code 40,020)"
    So then we try to run the LCM CON check  , but here also we are getting the  below log...
    "Inconsistent time series initialization horizons"
    We teasted all the above in TEST system , but we are not facing any issue.
    Plz plz help us to resolve the same.
    Regards,
    Rajesh Patil

    Hello Rajesh,
    COM error 40,020 generally indicates that no Time Series exists for
    the characteristic combination that is being loaded or saved.
    In certain cases it could be related to missing Time Series for aggregates.
    Therefore, performing a consistency check for the relevant planning area by running the program
    /SAPAPO/TS_LCM_CONS_CHECK is usually the first option.  You could also check the relevant planning
    object structure and any aggregates using the programs /SAPAPO/TS_PSTRU_TOOL and /SAPAPO/TS_PSTRU_CONS_CHECK.
    Additionally, please make sure that the time series exists for the horizon for which data is to be loaded. Should all these not resolve the issue, the problem will be resolved by deinitializing & reinitializing the time series.
    Please note that deinitializing of the the planning area will lead to data loss, so please take the backup of your data before you
    deinitialize the planning area.
    Hope this helps.
    Regards,
    Ade

  • Error for COM Routine application program (return code 40028)

    Hi,
    When we loading data in Planning Book ,we are getting below error
    Error for COM Routine application program (return code 40028)

    Hi,
             Did you try checking your COM build? The COM communicates between your database and Livecache and fetches the data requested. The last time we had this, SAP recommended COM upgrade.

  • Error for  COM routine using application program (return code 40069)

    Hi,
    In our planning book, sometimes, when we change a value and save, we are getting a pop up with the message "Error for  COM routine using application program (return code 40069)". When we click ok, the value in that cell is reset to the previous value.
    I initially thought this is due to duplicate CVCs and ran the consistency checks, /SAPAPO/TS_LCM_CONS_CHECK and /SAPAPO/TS_PSTRU_CONS_CHECK. I found few and corrected them. Now even after correcting them, I am still getting this COM error.
    I could not find any SAP notes on this.
    I switched on the SQL trace in ST05 and executed the same operation to get the COM error.
    I noticed this part of the trace that is unusual and I am guessing that is what the system is doing when I get the error.
    Can somebody please explain me the meaning of this attached trace?
    http://spreadsheets.google.com/pub?key=pMjKR_3qLaxblBDDPfRt6cw
    what does the SIM_SIMSESSION_CONTROL do?
    Does CALL USER.SAPTS_AGGMULT_TIMESERIES  mean there are duplicate time series?
    Thanks.

    I may not be technical person but may be the following thread on SIMSESSION may help.
    SIM Session
    ST05 trace only gives DB level traces. It would not give you traces of things happening in Live Cache since there are stored DB procedures that are called for LC activity.
    Did you do OSS search on "return code 40069" ? CHeck OSS note 863244. See if it is applicable.

  • "Error for COM routine using application program (return code 1028514-)"

    Hello Experts,
    We have one issue in SAP SAP SCM 5.10.
    When we are accessing the SNP Planing book, Now a days every often we are getting kicked out of the Planning book
    with the error message "Error for COM routine using application program (return code 1028514-)"
    How to rectify this,..Please advice /suggest
    Regards,
    Ramesh

    Sorry, I copy the content as below:
    Error -28514
    Version Not Found
    You attempted to access an OMS version, the liveCache infrastructure to store a Simulation Version, which does not exist (any longer).
    On a productive system this error should only occur in exceptional situations because liveCache checks whether the simulation exists beforehand and returns an Error 17831 if this is not the case.
    Reasons (=exceptional situation) for an error -28514 are:
    a transactional simulation (Simulation Version) is older than liveCache parameter MaxRetentionTime (default: 8 hours). In this case, the OMS version (more precisely: the corresponding consistent view) can be deleted (asynchronously) by liveCache and an error -28514 will occur if the application tries to use the transactional simulation again.
    a transactional simulation (Simulation Version) is older than liveCache parameter MinRetentionTime (default: 1 hour) and the data area usage exceeds 90%. In this case, the OMS version (more precisely: the corresponding consistent view) can be deleted (asynchronously) by liveCache and an error -28514 will occur if the application tries to use the simulation again.
    If liveCache deletes an OMS version due to one of the reasons above, a corresponding notice can be found in liveCache's knlmsg file (cyclically overwritten!).
    Error -28833
    Error -28833 ("Consistent view has been cancelled") occurs instead of an error -28514, if the an OMS version is deleted while a parallel liveCache call is still using this OMS version.
    Malfunction Test
    If this error occurs during LCAPPS internal malfunction tests, it indicates that the preceeding provoked exception has not been handled correctly. During the handling of the provoked exception the OMS version is dropped automatically. As the malfunction test program catches the exception which would normally lead to a shortdump, it either has to recreate the current simulation in liveCache or to ensure that it is not used any more.
    Error 17831 does not occur in this situation, because the keyed object representing the simulation (OMS version) is not deleted along with the version and can therefore still be accessed.
    Best Regards,
    Ada

  • Error for COM routine using application program (return code 40.301)

    Hi All,
    We are loading data in the DP book interactviely and then trying to Execute the Update Quantity button. The error message given is "Error for COM routine using application program (return code 40.301)".
    We are on APO 5.0 and have the highest Support Pack of SAPKY50011.
    I have searched in the SAP notes and one note 1050350 talks about a similar issue however the corrections mentioned are already there in our system and there the desired SP is SAPKY50010.
    Can anyone tell what could be the reason for such error and how to resolve the same.
    Thanks
    Harsh

    Hi Senthil / Vijaya,
    Thanks for your prompt response.
    Well first responding to Senthil
    - Issue is not reproducable in Dev or Q systems.
    - How to check the application logs during the time of errors
    - Yes I have checked system locks they are clear
    - We have run OM 17 and TS consistency checks but still the error persists.
    I will go through the notes refered by you and see if it is of help.
    Vijaya
    - Yes you are Correct that for the related keyfigures the tick "No Negative stocks is there" also the tick for Fixed Values is also there. But the concern is that it was running fine earlier with the same settings.
    To give you more inputs perhaps this is being run with the Sales Order History and the key figure which is in consideration is a Sales Override.If it is the negative values that are causing the problem they how can we avoid that figures?
    Looking forward from hearing from you guys
    Thanks,
    Harsh

  • Error for COM routine using application program (return code 40,134)

    Hi,
    I am facing Error while loading P-book
    Error for COM routine using application program (return code 40,134)
    My system details are
    SC2 system is SCM 7.0 and support pack SAPKY70002
    i have checked following thing before posting it but dint helped.
    1) SAP Notes 863244, 944254 -Not relevant to my system.
    2) Checked Livecache performance.
    3) Checked application logs during the time of error
    4) Carry out livecache inconsistency check and check any errors.
    let me know your expert views on this.
    Regards.
    Sandeep K.
    Edited by: khaire sandeep on Jul 27, 2009 4:21 PM

    Hi Sandeep,
    If you have de-intialised the planning area and intialised agian the com routine errors will be washed out, but still it is surprising.
    i guess this is something with the version that we are using in the planning area should have some issues.
    i prefer you to run the re-oraganisation check for the vesion if not done earlier.
    /SAPAPO/TSLCREORG - Check LiveCache Time Series Data
    And please dont look at the issue only at planning area level, pls explore your circumstances at the whole planning areas and commom objects like Storage bucket profiles.
    Yarala

  • Error for COM routine using application program (return code 40,053)

    i get the below error while running process chain from APO to BW system.
    Error for COM routine using application program (return code 40,053)
    Message no. /SAPAPO/OM102
    Diagnosis
    An application program has called a COM routine. During the process, an error occurred.
    Message number /SAPAPO/OM102
    Return code 40,053
    Error code
    please let me know how to proceed.I am not able to get a relevant note either.

    not ansered

  • Error for COM routine using application program (return code 40,075)

    Hi Experts,
    I am facing the problem to save in the Forecast in interactive planning book after executing the univerate fcst.
    It is saying "Error for COM routine using application program (return code 40,075)" when i save it in interactive
    planning book.
    The is happening to only one product among in the list of selections in the selection profile.
    What could be the reason, what i have to do to save my forecast in interactive planning book.
    it is not showing any error message for other products in the selection profile.
    please help me

    Hello Bhushan,
    The problem may be becuase your forecast keyfigure has fixed values in it. After forecast, the new values will be different but it cannot be saved since the values in your forecast keyfigure is fixed. So please undo fixing from your forecast kefigure inorder for the new values to be saved. Also you can check the note 1437685 inorder to have warning message.
    Thanks and Regards,
    Nithin.

  • Error for COM routine using application program (return code 40.022)

    Hi,
    When iam loading the data into the DP planning book iam getting the "Error for COM routine using application program (return code 40.022)" error.
    How to rectify this,
    Regards,
    Vignesh

    Hi,
    Thank you for your answers. the problem solved now, i did the consistency check for the Planning Area in the background.
    The COM error occurred coz i was trying to change one KF setting in the active PA in the foreground, and when i did the same in the background it worked..
    Regards,
    Vignesh

  • COM routine error using application program (return code 40,134)

    All,
    In Interactive Demand Planning ( /SAPAPO/SDP94 ), when im trying to load data in a planning book ther is an error 'Error while calling COM routines using application program (return code 40,134)
    is encountered.
    What should I do ?
    Regards
    Steve

    Hello Steve,
    Return code 40.134 means a key figure operation tried, via a key figure anchor, to dereference a key figure object that does not exist in the liveCache.  This problem is due to master data inconsistency in the application.
    You might as well want to open an OSS message in accordance with SAP Note 167280.
    Hope this helps,
    Raymond

  • Error for COM routine using application program (Return Code 40301)

    Hi Experts,
    Currently we are working on SCM 5.1 version.
    We are facing one issue. When we are trying to save one particular KF the system through below error
    "Error for COM routine using application program (Return Code 40301)"
    But when we save other KFs then data save successfully.
    This may be resolve by running consitancy check but if the inconsistancy is the issue then it should impact all the KFs.
    Can anyone help me to find the correct reason & solution?
    Thanks & Regards
    Sujay

    Dear Sujay Joshi ,
    The COM ERROR 40.301 means that the key figure became negative although this is not permitted.
    You need to check the setting of the key figure in your planning area and ensure that you have setup the respective key figure(s) accordingly (not allow negative values).
    If you believe that the negative value is not correct you have to reinitialize the planning area, after correcting the same. Please do a backup of the planning area before reinitializing.
    Please refer to the following SDN Thread for more information about the COM ERROR 40.301.
    How to allow or not allow negative values in key figures for SNP
    Check Note 944254. Also check the KF for Sales history or Statistical Fcst. where the tick negative values not allowed should be there. Sometimes calulation of the Praportional factors also causes te negative values getting calculated for certain KF. You will have to do thorough research to ascertain where from the negative value are coming into the KF.To start with reading the note that I have mentione above.
    I hope this helps.
    Regards,
    Tibor

  • Rescue and Recovery 4.3 - Unable to Install - Return-Code: 6

    Hi!
    I've a complete fresh Install of Windows 7 x64.
    There is a problem. I am unable to install Rescue and Recovery v4.3.
    Setup aborts with this error:
    EN: During Installation of Boot-Manager of Rescue and Recovery occurred an error. Return-Code: 6
    DE: Beim Installieren des Boot-Managers von Rescue and Recovery ist ein Fehler aufgetreten. Rückkehrcode: 6.
    Any Ideas?
    Lenovo X200 Tablet [7450-EQG]

    Google translation:
    Hello ConiKost, about this issue, you though I can not solve - but to offer some advice: In the current version of RnR there seems to be a bug that blocks the backup as soon as you personal data into the corresponding folders (music, documents, places) . That means even if you have it installed, it is not functional. Postings on this subject already exist. My RnR yesterday I uninstalled again ... Have you ever seen you since the Win7 integrated backup solution? This is no longer compare with "ntbackup" too! :-) You can create system images - individually as well as protect your data. Try this way, I also found a long-suffering RnR - user :-) See you there just in time. Before a patch RnR is not usable at the moment anyway. Hope this cheers you up a little! :-) Regards
    moderator note: this forum is in English only, Please write in Englsh.
    Hallo ConiKost, zu diesem Problem kann ich Dir zwar keine Lösung - aber einen Rat anbieten: In der aktuellen Version von RnR scheint es einen Bug zu geben, der das Backup blockiert, sobald man persönliche Daten in den entsprechenden Ordnern (Musik, Dokumente) platziert. Das bedeutet, selbst wenn Du es installiert hast, ist es ohne Funktion. Zu diesem Thema existieren bereits Postings. Mein RnR habe ich gestern wieder deinstalliert... Hast Du Dir denn schon einmal die Win7 integrierte Backuplösung angesehen? Diese ist schon nicht mehr mit "ntbackup" zu vergleichen! :-) Du kannst Systemabbilder erstellen - wie auch Deine Daten einzeln schützen. Diesen Tipp fand ich übrigens auch bei einem Leidgeprüften RnR - User :-) Sieh es Dir einfach mal an. Vor einem Patch ist RnR momentan sowieso nicht zu gebrauchen. Hoffe, das heitert Dich ein wenig auf! :-) Viele Grüße

Maybe you are looking for

  • Power Macintosh G3 (beige)   Desktop Mac OS X  Monitor problem

    I am trying to use a Power Macintosh G3 desktop (beige) that has been unused for about 8 years now. When I first turned it on all was fine, but in subsequent boot ups the monitor has failed to come on. The green light on the monitor flashes. I can he

  • WAR Doesn't explode in Weblogic 8

    Hi, I am using Weblogic 8 and I have a WAR file to deploy. But I have another jar which needs to be manually copied into the WEB-INF/lib directory after doing some configuration changes for my application. This is my first time in Weblogic 8. And i f

  • I cannot find my download I downloaded from an email, how do I go about finding it

    I am having a problem finding a download that I downloaded from an email how how do I go about finding it..... HELP!!!!

  • Employee and Catagory problem

    Hellow all, I have 2 Tables 1) Employee 2) Category Employee Table Structure 1)emp_id 2)emp_name Category Table Structure 1)Category_id 2)Category_name I Need in Form when I enter Employee id = first 2 Digit which is 01,02,03 as on 99 For Example Emp

  • Sap pp -MRP-area

    Hello SAP-Guruu2019s Pls tell me the Procedure/steps/Details to maintain MRP-area for a Vendor & also for a Sub-Contractor. Any comments welcome   & Thanks in advanc