Run .EXE in using Azure ADF V2












0















I'm fairly new to Azure and I have setup an .exe file to run in an Azure ADF V2.



I my Custom Activity setup with the account and batch setup.



When I try to run the exe in debug it just keeps running indefinitely with no fail or anything.



The exe gets data from multiple web apis and loops through it using C# code and outputs to a database. I'm not looking for alternative to this. The exe works fine on my machine but not sure if it's working in Azure.



I've been setting everything up through the portal as well.



Here are the settings I have:



Command: program.exe



FolderPath: mycontainer



I copied the exe directly in to the container (mycontainer)



Any guidance appreciated!










share|improve this question























  • What is the question? Custom activity should be the right way to go.

    – Fang Liu
    Nov 7 '18 at 15:04











  • I don't know if it's running or not it keeps hanging indefinitely. Any way to troubleshoot this? Has anyone ran into this issue? Are my configuration correct?

    – Sewder
    Nov 7 '18 at 15:06











  • Try to compress the file and specific the properties like the link.

    – Joy Wang
    Nov 8 '18 at 2:26











  • You mentioned that you C# code will output to a database, right? So is there anything added in your database? Another way I guess is you could check your azure batch jobs in Azure portal. Is there any running jobs in batch?

    – Fang Liu
    Nov 8 '18 at 3:12
















0















I'm fairly new to Azure and I have setup an .exe file to run in an Azure ADF V2.



I my Custom Activity setup with the account and batch setup.



When I try to run the exe in debug it just keeps running indefinitely with no fail or anything.



The exe gets data from multiple web apis and loops through it using C# code and outputs to a database. I'm not looking for alternative to this. The exe works fine on my machine but not sure if it's working in Azure.



I've been setting everything up through the portal as well.



Here are the settings I have:



Command: program.exe



FolderPath: mycontainer



I copied the exe directly in to the container (mycontainer)



Any guidance appreciated!










share|improve this question























  • What is the question? Custom activity should be the right way to go.

    – Fang Liu
    Nov 7 '18 at 15:04











  • I don't know if it's running or not it keeps hanging indefinitely. Any way to troubleshoot this? Has anyone ran into this issue? Are my configuration correct?

    – Sewder
    Nov 7 '18 at 15:06











  • Try to compress the file and specific the properties like the link.

    – Joy Wang
    Nov 8 '18 at 2:26











  • You mentioned that you C# code will output to a database, right? So is there anything added in your database? Another way I guess is you could check your azure batch jobs in Azure portal. Is there any running jobs in batch?

    – Fang Liu
    Nov 8 '18 at 3:12














0












0








0








I'm fairly new to Azure and I have setup an .exe file to run in an Azure ADF V2.



I my Custom Activity setup with the account and batch setup.



When I try to run the exe in debug it just keeps running indefinitely with no fail or anything.



The exe gets data from multiple web apis and loops through it using C# code and outputs to a database. I'm not looking for alternative to this. The exe works fine on my machine but not sure if it's working in Azure.



I've been setting everything up through the portal as well.



Here are the settings I have:



Command: program.exe



FolderPath: mycontainer



I copied the exe directly in to the container (mycontainer)



Any guidance appreciated!










share|improve this question














I'm fairly new to Azure and I have setup an .exe file to run in an Azure ADF V2.



I my Custom Activity setup with the account and batch setup.



When I try to run the exe in debug it just keeps running indefinitely with no fail or anything.



The exe gets data from multiple web apis and loops through it using C# code and outputs to a database. I'm not looking for alternative to this. The exe works fine on my machine but not sure if it's working in Azure.



I've been setting everything up through the portal as well.



Here are the settings I have:



Command: program.exe



FolderPath: mycontainer



I copied the exe directly in to the container (mycontainer)



Any guidance appreciated!







c# azure azure-sql-database azure-data-factory azure-data-factory-2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 7 '18 at 14:26









SewderSewder

5042925




5042925













  • What is the question? Custom activity should be the right way to go.

    – Fang Liu
    Nov 7 '18 at 15:04











  • I don't know if it's running or not it keeps hanging indefinitely. Any way to troubleshoot this? Has anyone ran into this issue? Are my configuration correct?

    – Sewder
    Nov 7 '18 at 15:06











  • Try to compress the file and specific the properties like the link.

    – Joy Wang
    Nov 8 '18 at 2:26











  • You mentioned that you C# code will output to a database, right? So is there anything added in your database? Another way I guess is you could check your azure batch jobs in Azure portal. Is there any running jobs in batch?

    – Fang Liu
    Nov 8 '18 at 3:12



















  • What is the question? Custom activity should be the right way to go.

    – Fang Liu
    Nov 7 '18 at 15:04











  • I don't know if it's running or not it keeps hanging indefinitely. Any way to troubleshoot this? Has anyone ran into this issue? Are my configuration correct?

    – Sewder
    Nov 7 '18 at 15:06











  • Try to compress the file and specific the properties like the link.

    – Joy Wang
    Nov 8 '18 at 2:26











  • You mentioned that you C# code will output to a database, right? So is there anything added in your database? Another way I guess is you could check your azure batch jobs in Azure portal. Is there any running jobs in batch?

    – Fang Liu
    Nov 8 '18 at 3:12

















What is the question? Custom activity should be the right way to go.

– Fang Liu
Nov 7 '18 at 15:04





What is the question? Custom activity should be the right way to go.

– Fang Liu
Nov 7 '18 at 15:04













I don't know if it's running or not it keeps hanging indefinitely. Any way to troubleshoot this? Has anyone ran into this issue? Are my configuration correct?

– Sewder
Nov 7 '18 at 15:06





I don't know if it's running or not it keeps hanging indefinitely. Any way to troubleshoot this? Has anyone ran into this issue? Are my configuration correct?

– Sewder
Nov 7 '18 at 15:06













Try to compress the file and specific the properties like the link.

– Joy Wang
Nov 8 '18 at 2:26





Try to compress the file and specific the properties like the link.

– Joy Wang
Nov 8 '18 at 2:26













You mentioned that you C# code will output to a database, right? So is there anything added in your database? Another way I guess is you could check your azure batch jobs in Azure portal. Is there any running jobs in batch?

– Fang Liu
Nov 8 '18 at 3:12





You mentioned that you C# code will output to a database, right? So is there anything added in your database? Another way I guess is you could check your azure batch jobs in Azure portal. Is there any running jobs in batch?

– Fang Liu
Nov 8 '18 at 3:12












2 Answers
2






active

oldest

votes


















0














Your Azure batch storage account should have a folder for each run (named based on the RunId Giod). Have you looked at the job output to see if there are any output files (there should always be an output directory with stdout.txt and stderr.txt files)? You can add Console.WriteLine commands in your EXE and they will write to the stdout.txt file - that may help you diagnose.enter image description here






share|improve this answer
























  • Thanks Joel we have this, I'm waiting on setting up an SA account to see if that fixes this will report when done

    – Sewder
    Nov 20 '18 at 19:44



















0














For some reason Debug wasn't working, I had to actually Trigger the pipeline to get it work!






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%2f53191428%2frun-exe-in-using-azure-adf-v2%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Your Azure batch storage account should have a folder for each run (named based on the RunId Giod). Have you looked at the job output to see if there are any output files (there should always be an output directory with stdout.txt and stderr.txt files)? You can add Console.WriteLine commands in your EXE and they will write to the stdout.txt file - that may help you diagnose.enter image description here






    share|improve this answer
























    • Thanks Joel we have this, I'm waiting on setting up an SA account to see if that fixes this will report when done

      – Sewder
      Nov 20 '18 at 19:44
















    0














    Your Azure batch storage account should have a folder for each run (named based on the RunId Giod). Have you looked at the job output to see if there are any output files (there should always be an output directory with stdout.txt and stderr.txt files)? You can add Console.WriteLine commands in your EXE and they will write to the stdout.txt file - that may help you diagnose.enter image description here






    share|improve this answer
























    • Thanks Joel we have this, I'm waiting on setting up an SA account to see if that fixes this will report when done

      – Sewder
      Nov 20 '18 at 19:44














    0












    0








    0







    Your Azure batch storage account should have a folder for each run (named based on the RunId Giod). Have you looked at the job output to see if there are any output files (there should always be an output directory with stdout.txt and stderr.txt files)? You can add Console.WriteLine commands in your EXE and they will write to the stdout.txt file - that may help you diagnose.enter image description here






    share|improve this answer













    Your Azure batch storage account should have a folder for each run (named based on the RunId Giod). Have you looked at the job output to see if there are any output files (there should always be an output directory with stdout.txt and stderr.txt files)? You can add Console.WriteLine commands in your EXE and they will write to the stdout.txt file - that may help you diagnose.enter image description here







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 20 '18 at 19:42









    Joel CochranJoel Cochran

    3,24221931




    3,24221931













    • Thanks Joel we have this, I'm waiting on setting up an SA account to see if that fixes this will report when done

      – Sewder
      Nov 20 '18 at 19:44



















    • Thanks Joel we have this, I'm waiting on setting up an SA account to see if that fixes this will report when done

      – Sewder
      Nov 20 '18 at 19:44

















    Thanks Joel we have this, I'm waiting on setting up an SA account to see if that fixes this will report when done

    – Sewder
    Nov 20 '18 at 19:44





    Thanks Joel we have this, I'm waiting on setting up an SA account to see if that fixes this will report when done

    – Sewder
    Nov 20 '18 at 19:44













    0














    For some reason Debug wasn't working, I had to actually Trigger the pipeline to get it work!






    share|improve this answer




























      0














      For some reason Debug wasn't working, I had to actually Trigger the pipeline to get it work!






      share|improve this answer


























        0












        0








        0







        For some reason Debug wasn't working, I had to actually Trigger the pipeline to get it work!






        share|improve this answer













        For some reason Debug wasn't working, I had to actually Trigger the pipeline to get it work!







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 30 '18 at 1:09









        SewderSewder

        5042925




        5042925






























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53191428%2frun-exe-in-using-azure-adf-v2%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

            MongoDB - Not Authorized To Execute Command

            Npm cannot find a required file even through it is in the searched directory

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith