Re: Calling a batch file from a web service
- From: JoelBrimm <JoelBrimm@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 18 Apr 2005 04:51:03 -0700
Right now this is all on my development machine and I'm running it through
the Visual Studio Debugger. Wouldn't that have all necessary permissions
since I'm an administrator on my development machine?
Thanks!
Joel Brimm.
"Alvin Bruney [MVP - ASP.NET]" wrote:
> 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
- Re: Calling a batch file from a web service
- From: Alvin Bruney [MVP - ASP.NET]
- Calling a batch file from a web service
- Prev by Date: RE: impersonation
- Next by Date: RE: impersonation
- Previous by thread: Re: Calling a batch file from a web service
- Next by thread: Re: Calling a batch file from a web service
- Index(es):
Relevant Pages
|
Loading