简体   繁体   中英

Run .EXE in using Azure ADF V2

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!

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. 在此处输入图片说明

由于某些原因,Debug无法正常工作,我必须实际触发管道才能使其正常工作!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM