External command can't find user created *.dll on C#.NET

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

Guest

I'm trying to run an external command-line file using user create
C:\DLL\*.dll files as following code

Process.Start("c:\test.exe"

The test.exe has no problem when I run on the dos prompt as I se
path, C:\DLL, on system variable

Thanks for your hel
 
Hi,

if you trying to run process from ASP.NET the default ASP.NET user don't
have rights to run other processes. you need to change to user with
appropriate rights

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
 
Hi Natty
Thanks for your respond. I'm not sure the process
run on ASP.NET. I am a new at this environment
It worked when I tested first wit
Process.Start("notepad.exe")
When I tried to run Process.Start("test.exe"),
which uses several *.dll files, the error message is
"This application has failed to start because a.dll was not found".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top