473,414 Members | 1,643 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,414 software developers and data experts.

Process.Start syntax

mg
c:\pdf\pdfmp3d.exe /c:\exportfiles /0 /0 /0 /0 runs correctly in the Command
Prompt.

But, not in the C# code behind of a WebForm:

System.Diagnostics.Process.Start("c:\\pdf\\pdfmp3d .exe","/c:\\exportfiles /0
/0 /0 /0");

Can you see my error?
Nov 16 '05 #1
2 2123
hi
what is the error you are getting ,
may be because you are starting process uisng a web form your asp.net worker
process does not nave enough rights to start the process.

regards
Ansil

"mg" wrote:
c:\pdf\pdfmp3d.exe /c:\exportfiles /0 /0 /0 /0 runs correctly in the Command
Prompt.

But, not in the C# code behind of a WebForm:

System.Diagnostics.Process.Start("c:\\pdf\\pdfmp3d .exe","/c:\\exportfiles /0
/0 /0 /0");

Can you see my error?

Nov 16 '05 #2
mg
No error.
asp.net worker process does not nave enough rights to start the process.

I believe this is the case. How can I change this situation?
"Ansil MCAD" wrote:
hi
what is the error you are getting ,
may be because you are starting process uisng a web form your asp.net worker
process does not nave enough rights to start the process.

regards
Ansil

"mg" wrote:
c:\pdf\pdfmp3d.exe /c:\exportfiles /0 /0 /0 /0 runs correctly in the Command
Prompt.

But, not in the C# code behind of a WebForm:

System.Diagnostics.Process.Start("c:\\pdf\\pdfmp3d .exe","/c:\\exportfiles /0
/0 /0 /0");

Can you see my error?

Nov 16 '05 #3

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

Similar topics

7
by: Ryan Walker | last post by:
Hi, I'm getting started with python and have almost zero programming experience. I'm finding that there are tons of tutorials on the internet -- such as the standard tutorial at python.org -- that...
3
by: mg | last post by:
The Process.Start( ) method below works correctly. System.Diagnostics.Process.Start("c:\\program files\\adobe\\acrobat 6.0\\reader\\acrord32.exe",@"/t ""c:\exportfiles\d.pdf"" ""HP LaserJet 3300...
6
by: danl | last post by:
I need to be able to execute a .bat file from a C# web application I have the following code that compliles and seems to run fine, but the bat file never does it's work...
2
by: mg | last post by:
c:\pdf\pdfmp3d.exe /c:\exportfiles /0 /0 /0 /0 runs correctly in the Command Prompt. But, not in the C# code behind of a WebForm: ...
17
by: asearle | last post by:
Hallo everyone, After playing around with 'fork' in order to try to get a one process to monitor another, I have changed my tack and switched to Win32::Process. Indeed, it looks like this...
1
by: =?Utf-8?B?UmF5IE1pdGNoZWxs?= | last post by:
Hello, I have a C# application in which I start another process which produces output to stdout and stderr. In fact, that process is the uSoft VS2005 C/C++ compiler itself! I would like to...
4
by: =?Utf-8?B?YmlsbA==?= | last post by:
i'm using VS2005, VB.NET windows forms application when I try to open a web page using process.start, i get an error: "application not found" I'm using this syntax: ...
12
by: =?Utf-8?B?ZXAu?= | last post by:
What is preferred method to start an app process and then fill in form fields? The following prog does not compile (b/c AppActivate does not have the correct param):...
7
by: Kevin Vogler | last post by:
I'm trying to programatically run an app. The command line syntax is: "C:\Program Files\WinSCP3\WinSCP3.exe" -script=myscript.txt and it works as intended. In code, I have this Dim myProc As...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.