This project has moved and is read-only. For the latest updates, please go here.

BTDF PATH environment variable for BTSTask?

Topics: General Questions
May 24, 2013 at 9:15 PM
I recently installed openSSH on my machine which subsequently overwrote my entire PATH environment variable string.

I've since put everything I could think of back in, including BTSTask.exe. I can run BTSTask manually just fine but when I try to use BTDF to deploy anything I get the following error:

BTSTask.exe AddApp -ApplicationName:"CHN.ASO.HealthX" -Description:"CHN.ASO.HealthX"
'BTSTask.exe' is not recognized as an internal or external command,
operable program or batch file.

Does BTDF create its own PATH env var when installed? Anyone know how to fix this?
May 24, 2013 at 10:42 PM
Excerpt from my 64-bit BizTalk 2010 machine PATH:
C:\Program Files (x86)\Microsoft BizTalk Server 2010\;C:\Program Files (x86)\Microsoft BizTalk Server 2010\Bins32;C:\Program Files (x86)\Microsoft BizTalk Server 2010\Bins64;

I'm guessing that you did not restart Visual Studio after you modified the PATH, because it will have a copy of the environment variables from the time it started up. I'm assuming that you're just running a deploy from Visual Studio. If you have the above in your PATH and restart VS it should work OK.

May 28, 2013 at 2:28 PM
That worked, you were right just needed to restart VS. Thanks!