BizTalk Server Applications Integration - Executing 16-bit applications from BizTalk

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Applications Integration > May 2005 > Executing 16-bit applications from BizTalk





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Executing 16-bit applications from BizTalk
johanfeuk

2005-05-13, 6:23 am

Hi,

I have developed a custom adapter to send flat files in to a small economy s
ystem. This system has an import program that is a 16-bit .exe file that tak
es the filename and a few other parameters as a string argumentline.

But it seems like BTSNTSvc.exe donīt have premission to execute 16-bit appli
cations because nothing happens when I try to run it.

If I try to run this importprogram from a .net windowsapplication it works j
ust fine but not from BTSNTSvc.exe or aspnet_wp.exe.

This is a small snappshot of my code:

Process p = new Process();
p.StartInfo.FileName = HogiaImportFile;
p.StartInfo.Arguments = " /GI " + HogiaCompanyID + " /IF=" + importFile +
" /LF=" + importLogFile + " /VL=0 /DL=1";
p.Start();


As a integration tool it surely most be possible to do this in custom adapte
rs...or??

Very thankfull for an answer!!

/Johan Feuk
Khaled M. Hnidk

2005-05-15, 5:48 pm

What are the user that your BTS service runs under?

Kal
"johanfeuk" <johanfeuk.1oz0h0@mail.webservertalk.com> wrote in message
news:johanfeuk.1oz0h0@mail.webservertalk.com...
>
> Hi,
>
> I have developed a custom adapter to send flat files in to a small
> economy s
> ystem. This system has an import program that is a 16-bit .exe file
> that tak
> es the filename and a few other parameters as a string argumentline.
>
> But it seems like BTSNTSvc.exe donīt have premission to execute 16-bit
> appli
> cations because nothing happens when I try to run it.
>
> If I try to run this importprogram from a .net windowsapplication it
> works j
> ust fine but not from BTSNTSvc.exe or aspnet_wp.exe.
>
> This is a small snappshot of my code:
>
> Process p = new Process();
> p.StartInfo.FileName = HogiaImportFile;
> p.StartInfo.Arguments = " /GI " + HogiaCompanyID + " /IF=" +
> importFile +
> " /LF=" + importLogFile + " /VL=0 /DL=1";
> p.Start();
>
>
> As a integration tool it surely most be possible to do this in custom
> adapte
> rs...or??
>
> Very thankfull for an answer!!
>
> /Johan Feuk
>
>
>
> --
> johanfeuk
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message1057918.html
>



johanfeuk

2005-05-16, 1:21 am

Hi,


My BizTalk user are a member of Administrators.







quote:
Originally posted by Khaled M. Hnidk
What are the user that your BTS service runs under?

Kal
"johanfeuk" <johanfeuk.1oz0h0@mail.webservertalk.com> wrote in message
news:johanfeuk.1oz0h0@mail.webservertalk.com...
>
> Hi,
>
> I have developed a custom adapter to send flat files in to a small
> economy s
> ystem. This system has an import program that is a 16-bit .exe file
> that tak
> es the filename and a few other parameters as a string argumentline.
>
> But it seems like BTSNTSvc.exe donīt have premission to execute 16-bit
> appli
> cations because nothing happens when I try to run it.
>
> If I try to run this importprogram from a .net windowsapplication it
> works j
> ust fine but not from BTSNTSvc.exe or aspnet_wp.exe.
>
> This is a small snappshot of my code:
>
> Process p = new Process();
> p.StartInfo.FileName = HogiaImportFile;
> p.StartInfo.Arguments = " /GI " + HogiaCompanyID + " /IF=" +
> importFile +
> " /LF=" + importLogFile + " /VL=0 /DL=1";
> p.Start();
>
>
> As a integration tool it surely most be possible to do this in custom
> adapte
> rs...or??
>
> Very thankfull for an answer!!
>
> /Johan Feuk
>
>
>
> --
> johanfeuk
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message1057918.html
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com