Process.Start

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have intranet web app that I'm trying to execute a exe using Process.Start.
I get
"Logon failure: unknown user name or bad password ". The exe is a simple vb6
app that prints a Crystal report. My web app is on webserver and the exe is
on appserver, does any know how to get past this error.

Thanks in advance..
 
You don't say if your web app is running on Windows Server 2000 or Windows
Server 2003. That would be helpful information.

Your web app is probably running under the system account, which is not a
domain account... in other words, it is only allowed to run on the local
machine. You are trying to have code that is running in this restricted
context turn around and run a program on another machine. In order to run
the program, it has to log in, which it cannot because the account doesn't
have a name or password (you haven't specified the remoting mechanism you
are using... if you'd post code, that would also help).

Try setting the identity of the web server or web application to a domain
account that has privileges on both machines.

I hope this helps. If this isn't enough, or you need more detail, please
provide code and a little configuration information.

Thanks,
--- Nick
 
Back
Top