O
Oren
Hi,
I needed a client side to be able to start an exe application on
server side (It's an exe application with no gui that
preformce actions on some hardware).
I used Web services in order to do so.
The web service call the remote function that first update some data
in a few files and then
start the application using Process.Start().
The problem is that the though the remote function is being called and
the it does write to file and retuns a string value as it ahould.
it failed to start the exe application.
On the server computer i see the process starts and after a secode its
gone (In task manager).
this is how i call the the web service on client side:
//create web reference
EngineRef.Engine oWebService = new EngineRef.Engine();
//i tried defualt credentials and also network with user and password,
both didn't work.
oWebService.Credentials =
System.Net.CredentialCache.DefaultCredentials;
// oWebService.Credentials = new System.Net.NetworkCredential(sUser,
sPassword);
//call the remote function.
string sReturnValue = oWebService.Reset();
In the server event viewer i get .NET run time error but with event ID
0 something like:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot
be found....
I guess its a security issue but i can't figure it out and whether its
IIS or .NET issue.
My server is windows server 2003 standard edition service pack 2.
Running IIS6 in the authentication method and access its without
anonymous and integrated windows authentication.
I would like all clients to be able to run this web service don't care
much about security.
Any ideas ? Pls advice.
Thanks.
I needed a client side to be able to start an exe application on
server side (It's an exe application with no gui that
preformce actions on some hardware).
I used Web services in order to do so.
The web service call the remote function that first update some data
in a few files and then
start the application using Process.Start().
The problem is that the though the remote function is being called and
the it does write to file and retuns a string value as it ahould.
it failed to start the exe application.
On the server computer i see the process starts and after a secode its
gone (In task manager).
this is how i call the the web service on client side:
//create web reference
EngineRef.Engine oWebService = new EngineRef.Engine();
//i tried defualt credentials and also network with user and password,
both didn't work.
oWebService.Credentials =
System.Net.CredentialCache.DefaultCredentials;
// oWebService.Credentials = new System.Net.NetworkCredential(sUser,
sPassword);
//call the remote function.
string sReturnValue = oWebService.Reset();
In the server event viewer i get .NET run time error but with event ID
0 something like:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot
be found....
I guess its a security issue but i can't figure it out and whether its
IIS or .NET issue.
My server is windows server 2003 standard edition service pack 2.
Running IIS6 in the authentication method and access its without
anonymous and integrated windows authentication.
I would like all clients to be able to run this web service don't care
much about security.
Any ideas ? Pls advice.
Thanks.