D*****n 发帖数: 363 | 1 I have an assembly that invokes an outside app to do a job via the
Process.Start api. If I write a console program that loads the assembly,
it can invoke the outside app. But if write a webservice that loads
the assembly to do the same, it can not invoke the app. Is there
some kinda permission restriction that spoils my webservice? I didn't
get any error code or exceptions that tells me why it can't. Can I
get around it via some security calls? | c**t 发帖数: 2744 | 2 When an app is executed in command line mode, it's most likely using your
own context; once executed via web service, it will be using IUSR_... 's
context. You could use impersonal to set the context..
【在 D*****n 的大作中提到】 : I have an assembly that invokes an outside app to do a job via the : Process.Start api. If I write a console program that loads the assembly, : it can invoke the outside app. But if write a webservice that loads : the assembly to do the same, it can not invoke the app. Is there : some kinda permission restriction that spoils my webservice? I didn't : get any error code or exceptions that tells me why it can't. Can I : get around it via some security calls?
| c**t 发帖数: 2744 | 3 check #3008
【在 c**t 的大作中提到】 : When an app is executed in command line mode, it's most likely using your : own context; once executed via web service, it will be using IUSR_... 's : context. You could use impersonal to set the context..
|
|