Re: trying to run executable on server



On Apr 18, 2:51 pm, "Kevin O'Brien" <kevin...@xxxxxxx> wrote:
Does the aspnet account just needs read and execute rights to the folder?

Thank you,
Kevin

"Alexey Smirnov" <alexey.smir...@xxxxxxxxx> wrote in message

news:1176892385.675265.30680@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



On Apr 17, 11:46 pm, "Kevin O'Brien" <kevin...@xxxxxxx> wrote:
Hey guys,

I am trying to run an exe on the server with the following line and it is
not working. Any help would be greatly appreciated!

Thanks,
Kevin

Dim myProcess As Diagnostics.Process =
System.Diagnostics.Process.Start("d:\bin\discover.exe -r server01 -7
wxpmis01 -v 9")

The process.Start created a process under the asp.net account. Does
your account has rights to execute it?

http://groups.google.com/group/microsoft.public.dotnet.framework.aspn...- Hide quoted text -

- Show quoted text -

I think this should be enough...

Why do you think the process is not working? You don't see an output,
or it doesn't make any result?

I see, you have an arguments in the string

try to call it using as follows (I don't know if it makes any
difference)

Process.Start("d:\bin\discover.exe",
"-r server01 -7 wxpmis01 -v 9");

http://msdn2.microsoft.com/en-us/library/h6ak8zt5(VS.80).aspx

.



Relevant Pages

  • Re: SQL Server 2005 Stored Procedure security annoyances
    ... Can you grant an EXECUTE permission on stored procedure? ... I have came to the maturity level to stop using the sa account when I ... I mean it is unrealistic to have to manually set for each SP the rights ...
    (microsoft.public.sqlserver.security)
  • How to execute a process under another account - PROPERLY?
    ... elsewhere on the network and not accessible from the local system account. ... therefore implemented an option to execute the report writer in another ... goto OPEN_DOORS; ... revert_to_self, error_message, error, string)) ...
    (microsoft.public.win32.programmer.kernel)
  • Re: installing mod_python -- sharing experiences
    ... rights are granted to whatever account the apache ... service is run under to read and execute not only in the ... import mod_python.apache`` in the apache errors log ... service account to administrator (provided you have the ...
    (comp.lang.python)
  • Re: DTSRUN using MSDTC must run under Cluster Admin account?
    ... Actually, I logon as the account, invoke enterprise Manamager, ... highlight the DTS package and execute. ... > locally" rights. ...
    (microsoft.public.sqlserver.clustering)
  • Re: So leaky that a $4 billion industry was built to protect it
    ... The owner can read and write and execute the file. ... this is similar to the "limited user rights" concept. ... Windoze on the other hand doesn't have this kind of security. ... Can't happen on a Linux system. ...
    (microsoft.public.windowsxp.general)