Re: Calling a batch file from a web service
- From: "Alvin Bruney [MVP - ASP.NET]" <www.lulu.com/owc>
- Date: Sat, 16 Apr 2005 17:26:36 -0400
You need to determine if your webservice has permissions to fire an
executable. By default, it doesn't. Add these permissions first. You will
also need permissions for the process executing the exe to read or write
from the drive. So there are two sets of permissions issues you need to deal
with first.
--
Regards,
Alvin Bruney - ASP.NET MVP
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc
"JoelBrimm" <JoelBrimm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A5B14461-D527-42D9-A73A-428BD16C2705@xxxxxxxxxxxxxxxx
>I have a batch file that executes a command line utility to do a secure
>file
> copy from our server to a 3rd party server. The batch file works fine,
> but
> when I call it from the web service the log file shows that it hangs up on
> the execution of the utility ( an exe ).
>
> Batch files without an exe work fine.
>
> I also tried running the exe from the web service ( rc =
> shell(application,hide,true) ) but it didn't work either.
>
> Is it possible to run an application from a web service?
.
- Follow-Ups:
- Re: Calling a batch file from a web service
- From: JoelBrimm
- Re: Calling a batch file from a web service
- References:
- Calling a batch file from a web service
- From: JoelBrimm
- Calling a batch file from a web service
- Prev by Date: Re: Encrypting data vs using HTTPS?
- Next by Date: Re: MySQL database
- Previous by thread: Calling a batch file from a web service
- Next by thread: Re: Calling a batch file from a web service
- Index(es):
Relevant Pages
|