473,394 Members | 1,663 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

trying to run executable on server

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")


Apr 17 '07 #1
3 1379
On Apr 17, 11:46 pm, "Kevin O'Brien" <kevin...@usa.netwrote:
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/micro...=Process.Start

Apr 18 '07 #2
Does the aspnet account just needs read and execute rights to the folder?

Thank you,
Kevin
"Alexey Smirnov" <al************@gmail.comwrote in message
news:11*********************@y5g2000hsa.googlegrou ps.com...
On Apr 17, 11:46 pm, "Kevin O'Brien" <kevin...@usa.netwrote:
>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/micro...=Process.Start

Apr 18 '07 #3
On Apr 18, 2:51 pm, "Kevin O'Brien" <kevin...@usa.netwrote:
Does the aspnet account just needs read and execute rights to the folder?

Thank you,
Kevin

"Alexey Smirnov" <alexey.smir...@gmail.comwrote in message

news:11*********************@y5g2000hsa.googlegrou ps.com...
On Apr 17, 11:46 pm, "Kevin O'Brien" <kevin...@usa.netwrote:
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/micro...ework.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/lib...t5(VS.80).aspx

Apr 18 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: klkuenzel | last post by:
Can you run a VB.NET executable from a network share on a server. My company does this with VB 6.0. Example ..Net executable on network file server called Toky client computer has a shortcut on...
0
by: Randy | last post by:
Hi all, I'm a developer on the database backend and need to figure out how to get a c++ .net executable to run on a win2003 server. The executable transfers data between oracla and sql server...
3
by: Me | last post by:
hi, I have this file I need to execute from an ASP client. since we have installed it on the SQL Database server machine, I thought I could run it like this: Set Cn =...
7
by: Johnny | last post by:
How do I create a link on a Web page on my hard drive that will run an executable file on my hard drive? For example, let's say I create runpoodle.htm and save it to my hard drive, and let's...
12
by: Dave Hammond | last post by:
I recently noticed the stylesheet link in an html page had the href set to a PHP script, as in: <LINK REL="stylesheet" href="some_css.php" type="text/css"> Presumably the file being referenced...
21
by: Cigar | last post by:
I am developing a program for a client. She runs a shop where her clients bring in items for sale or short term buyback. Development of the program has been going great but she's mentioned that...
5
by: Kenneth | last post by:
Hi, I've upgraded to .NET 2003 and I opened an .NET 2002 app and let the new IDE convert it to .NET 2003 project. Then I tried to start the application but it keeps on saying "Error while...
6
by: Frank Wilson | last post by:
Tom, It sounds to me like ASP, not ASP.NET is handling the request for WebForm1.aspx. This is most likely an IIS config issue that may have been caused by order of installation or...
5
by: nylyst | last post by:
I've run into a rather strange situation, and can't seem to find any details on why this would even be happening, so here goes: I've created an app to force users to update their pcAnywhere...
1
by: wanaruk | last post by:
Hi all. I am working on a legacy application written in Classic ASP with VB6 COM+ components running on Windows 2003 Adv Server (32bit). There is one page in the app that uses Secure FTP to send...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.