TRACKER : error TRK0002: Failed to execute command










6














I got this error while trying to build my project on a buildAgent running as a service, does anyone have a solution for it?



 TRACKER : error TRK0002: Failed to execute command: ""C:Program Files (x86)Microsoft Visual Studio 14.0VCbinamd64CL.exe" @C:BuildAgenttempbuildTmptmpfde187c5fd8a42299ab4d18e25e0c9fe.rsp". The operation identifier is not valid.


i tried a solution to a similar issue when building the project in command line (using "_IsNativeEnvironment" variable ) but it didn't work for me, also i need the solution to work on my local computer permanently.










share|improve this question





















  • This may be of interest to you: connect.microsoft.com/VisualStudio/feedback/details/800753/…
    – Arnav Borborah
    Aug 31 '16 at 14:35















6














I got this error while trying to build my project on a buildAgent running as a service, does anyone have a solution for it?



 TRACKER : error TRK0002: Failed to execute command: ""C:Program Files (x86)Microsoft Visual Studio 14.0VCbinamd64CL.exe" @C:BuildAgenttempbuildTmptmpfde187c5fd8a42299ab4d18e25e0c9fe.rsp". The operation identifier is not valid.


i tried a solution to a similar issue when building the project in command line (using "_IsNativeEnvironment" variable ) but it didn't work for me, also i need the solution to work on my local computer permanently.










share|improve this question





















  • This may be of interest to you: connect.microsoft.com/VisualStudio/feedback/details/800753/…
    – Arnav Borborah
    Aug 31 '16 at 14:35













6












6








6







I got this error while trying to build my project on a buildAgent running as a service, does anyone have a solution for it?



 TRACKER : error TRK0002: Failed to execute command: ""C:Program Files (x86)Microsoft Visual Studio 14.0VCbinamd64CL.exe" @C:BuildAgenttempbuildTmptmpfde187c5fd8a42299ab4d18e25e0c9fe.rsp". The operation identifier is not valid.


i tried a solution to a similar issue when building the project in command line (using "_IsNativeEnvironment" variable ) but it didn't work for me, also i need the solution to work on my local computer permanently.










share|improve this question













I got this error while trying to build my project on a buildAgent running as a service, does anyone have a solution for it?



 TRACKER : error TRK0002: Failed to execute command: ""C:Program Files (x86)Microsoft Visual Studio 14.0VCbinamd64CL.exe" @C:BuildAgenttempbuildTmptmpfde187c5fd8a42299ab4d18e25e0c9fe.rsp". The operation identifier is not valid.


i tried a solution to a similar issue when building the project in command line (using "_IsNativeEnvironment" variable ) but it didn't work for me, also i need the solution to work on my local computer permanently.







c++ visual-studio-2015 build-agent






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 31 '16 at 14:33









Daniel

10616




10616











  • This may be of interest to you: connect.microsoft.com/VisualStudio/feedback/details/800753/…
    – Arnav Borborah
    Aug 31 '16 at 14:35
















  • This may be of interest to you: connect.microsoft.com/VisualStudio/feedback/details/800753/…
    – Arnav Borborah
    Aug 31 '16 at 14:35















This may be of interest to you: connect.microsoft.com/VisualStudio/feedback/details/800753/…
– Arnav Borborah
Aug 31 '16 at 14:35




This may be of interest to you: connect.microsoft.com/VisualStudio/feedback/details/800753/…
– Arnav Borborah
Aug 31 '16 at 14:35












3 Answers
3






active

oldest

votes


















0














Windows LogsApplication in Windows Event Viewer may have clues about that.



In my case, it produce an event like




Activation context generation failed for "C:Program Files (x86)Microsoft Visual Studio 12.0VCbinCL.exe".Error in manifest or policy file "C:Program Files (x86)Microsoft Visual Studio 12.0VCbinCL.exe.Config" on line 0. Invalid Xml syntax.




I simply remove that .config file and it works.






share|improve this answer




























    0














    This happens me when the aggressive virus scanner in my org secretly detects these files as malicious and removes them in the background.



    In my case, changing the rules of the virus scanner resolves this problem.






    share|improve this answer




























      -1














      I had this troublesome error.
      I deleted my local TEMP folder completely and rebooted.



      C:Users[USER]AppDataLocalTemp





      share|improve this answer






















        Your Answer






        StackExchange.ifUsing("editor", function ()
        StackExchange.using("externalEditor", function ()
        StackExchange.using("snippets", function ()
        StackExchange.snippets.init();
        );
        );
        , "code-snippets");

        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "1"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f39252473%2ftracker-error-trk0002-failed-to-execute-command%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        0














        Windows LogsApplication in Windows Event Viewer may have clues about that.



        In my case, it produce an event like




        Activation context generation failed for "C:Program Files (x86)Microsoft Visual Studio 12.0VCbinCL.exe".Error in manifest or policy file "C:Program Files (x86)Microsoft Visual Studio 12.0VCbinCL.exe.Config" on line 0. Invalid Xml syntax.




        I simply remove that .config file and it works.






        share|improve this answer

























          0














          Windows LogsApplication in Windows Event Viewer may have clues about that.



          In my case, it produce an event like




          Activation context generation failed for "C:Program Files (x86)Microsoft Visual Studio 12.0VCbinCL.exe".Error in manifest or policy file "C:Program Files (x86)Microsoft Visual Studio 12.0VCbinCL.exe.Config" on line 0. Invalid Xml syntax.




          I simply remove that .config file and it works.






          share|improve this answer























            0












            0








            0






            Windows LogsApplication in Windows Event Viewer may have clues about that.



            In my case, it produce an event like




            Activation context generation failed for "C:Program Files (x86)Microsoft Visual Studio 12.0VCbinCL.exe".Error in manifest or policy file "C:Program Files (x86)Microsoft Visual Studio 12.0VCbinCL.exe.Config" on line 0. Invalid Xml syntax.




            I simply remove that .config file and it works.






            share|improve this answer












            Windows LogsApplication in Windows Event Viewer may have clues about that.



            In my case, it produce an event like




            Activation context generation failed for "C:Program Files (x86)Microsoft Visual Studio 12.0VCbinCL.exe".Error in manifest or policy file "C:Program Files (x86)Microsoft Visual Studio 12.0VCbinCL.exe.Config" on line 0. Invalid Xml syntax.




            I simply remove that .config file and it works.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 8 '17 at 20:01









            aleph0

            604




            604























                0














                This happens me when the aggressive virus scanner in my org secretly detects these files as malicious and removes them in the background.



                In my case, changing the rules of the virus scanner resolves this problem.






                share|improve this answer

























                  0














                  This happens me when the aggressive virus scanner in my org secretly detects these files as malicious and removes them in the background.



                  In my case, changing the rules of the virus scanner resolves this problem.






                  share|improve this answer























                    0












                    0








                    0






                    This happens me when the aggressive virus scanner in my org secretly detects these files as malicious and removes them in the background.



                    In my case, changing the rules of the virus scanner resolves this problem.






                    share|improve this answer












                    This happens me when the aggressive virus scanner in my org secretly detects these files as malicious and removes them in the background.



                    In my case, changing the rules of the virus scanner resolves this problem.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Oct 16 at 14:10









                    wrossmck

                    238619




                    238619





















                        -1














                        I had this troublesome error.
                        I deleted my local TEMP folder completely and rebooted.



                        C:Users[USER]AppDataLocalTemp





                        share|improve this answer



























                          -1














                          I had this troublesome error.
                          I deleted my local TEMP folder completely and rebooted.



                          C:Users[USER]AppDataLocalTemp





                          share|improve this answer

























                            -1












                            -1








                            -1






                            I had this troublesome error.
                            I deleted my local TEMP folder completely and rebooted.



                            C:Users[USER]AppDataLocalTemp





                            share|improve this answer














                            I had this troublesome error.
                            I deleted my local TEMP folder completely and rebooted.



                            C:Users[USER]AppDataLocalTemp






                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Nov 11 at 5:44









                            K.Dᴀᴠɪs

                            6,796112139




                            6,796112139










                            answered Nov 11 at 2:59









                            Haglund

                            1




                            1



























                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Stack Overflow!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f39252473%2ftracker-error-trk0002-failed-to-execute-command%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Darth Vader #20

                                How to how show current date and time by default on contact form 7 in WordPress without taking input from user in datetimepicker

                                Ondo