473,394 Members | 1,735 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.

asp.net 2.0 and process.start

Can someone set me straight on things to look out for in regards to being
able to launch an external application from within an asp.net 2.0 web
application please? I am using impersonation in web.config running under a
specific account but I think this is irrelevant in that a process will
launch using the asp worker process. Can you confirm?

Enter .NET 2.0, which includes the User, Domain, and Password properties on
the ProcessStartInfo type. In .NET 2.0 you can start a process under a
different set of credentials.

Is this still true? If so I guess I cannot re-use the same credential used
in my web.config for launching another app and would need to used a new
credential for the external process? Comments appreciated.
Sep 21 '06 #1
5 2357

Hi Pierre,

Do you want Process.Start on client machine or on server ?

We implemented one solution in which we have to launch our few windows based
application on client side. For this purpose, we created "Windows Control"
hosted in browser. Then that Windows control have enough permission to
launch our required client application.

Shahzad Godil

"Pierre" <pi*****@cideotron.cawrote in message
news:er**************@TK2MSFTNGP04.phx.gbl...
Can someone set me straight on things to look out for in regards to being
able to launch an external application from within an asp.net 2.0 web
application please? I am using impersonation in web.config running under a
specific account but I think this is irrelevant in that a process will
launch using the asp worker process. Can you confirm?

Enter .NET 2.0, which includes the User, Domain, and Password properties
on the ProcessStartInfo type. In .NET 2.0 you can start a process under a
different set of credentials.

Is this still true? If so I guess I cannot re-use the same credential used
in my web.config for launching another app and would need to used a new
credential for the external process? Comments appreciated.


Sep 21 '06 #2

Hi Pierre,

Do you want Process.Start on client machine or on server ?

We implemented one solution in which we have to launch our few windows based
application on client side. For this purpose, we created "Windows Control"
hosted in browser. Then that Windows control have enough permission to
launch our required client application.

Shahzad Godil

"Pierre" <pi*****@cideotron.cawrote in message
news:er**************@TK2MSFTNGP04.phx.gbl...
Can someone set me straight on things to look out for in regards to being
able to launch an external application from within an asp.net 2.0 web
application please? I am using impersonation in web.config running under a
specific account but I think this is irrelevant in that a process will
launch using the asp worker process. Can you confirm?

Enter .NET 2.0, which includes the User, Domain, and Password properties
on the ProcessStartInfo type. In .NET 2.0 you can start a process under a
different set of credentials.

Is this still true? If so I guess I cannot re-use the same credential used
in my web.config for launching another app and would need to used a new
credential for the external process? Comments appreciated.


Sep 21 '06 #3

Hi Pierre,

Do you want Process.Start on client machine or on server ?

We implemented one solution in which we have to launch our few windows based
application on client side. For this purpose, we created "Windows Control"
hosted in browser. Then that Windows control have enough permission to
launch our required client application.

Shahzad Godil
Karachi-Pakistan.

"Pierre" <pi*****@cideotron.cawrote in message
news:er**************@TK2MSFTNGP04.phx.gbl...
Can someone set me straight on things to look out for in regards to being
able to launch an external application from within an asp.net 2.0 web
application please? I am using impersonation in web.config running under a
specific account but I think this is irrelevant in that a process will
launch using the asp worker process. Can you confirm?

Enter .NET 2.0, which includes the User, Domain, and Password properties
on the ProcessStartInfo type. In .NET 2.0 you can start a process under a
different set of credentials.

Is this still true? If so I guess I cannot re-use the same credential used
in my web.config for launching another app and would need to used a new
credential for the external process? Comments appreciated.



Sep 21 '06 #4

Hi Pierre,

Do you want Process.Start on client machine or on server ?

We implemented one solution in which we have to launch our few windows based
application on client side. For this purpose, we created "Windows Control"
hosted in browser. Then that Windows control have enough permission to
launch our required client application.

Shahzad Godil

"Pierre" <pi*****@cideotron.cawrote in message
news:er**************@TK2MSFTNGP04.phx.gbl...
Can someone set me straight on things to look out for in regards to being
able to launch an external application from within an asp.net 2.0 web
application please? I am using impersonation in web.config running under a
specific account but I think this is irrelevant in that a process will
launch using the asp worker process. Can you confirm?

Enter .NET 2.0, which includes the User, Domain, and Password properties
on the ProcessStartInfo type. In .NET 2.0 you can start a process under a
different set of credentials.

Is this still true? If so I guess I cannot re-use the same credential used
in my web.config for launching another app and would need to used a new
credential for the external process? Comments appreciated.


Sep 21 '06 #5
Process in on the server

"Shahzad Godil" <sh**********@gmail.comwrote in message
news:uK****************@TK2MSFTNGP04.phx.gbl...
>
Hi Pierre,

Do you want Process.Start on client machine or on server ?

We implemented one solution in which we have to launch our few windows
based
application on client side. For this purpose, we created "Windows
Control"
hosted in browser. Then that Windows control have enough permission to
launch our required client application.

Shahzad Godil
Karachi-Pakistan.

"Pierre" <pi*****@cideotron.cawrote in message
news:er**************@TK2MSFTNGP04.phx.gbl...
>Can someone set me straight on things to look out for in regards to being
able to launch an external application from within an asp.net 2.0 web
application please? I am using impersonation in web.config running under
a
specific account but I think this is irrelevant in that a process will
launch using the asp worker process. Can you confirm?

Enter .NET 2.0, which includes the User, Domain, and Password properties
on the ProcessStartInfo type. In .NET 2.0 you can start a process under a
different set of credentials.

Is this still true? If so I guess I cannot re-use the same credential
used
in my web.config for launching another app and would need to used a new
credential for the external process? Comments appreciated.




Sep 21 '06 #6

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

Similar topics

12
by: serge calderara | last post by:
Dear all, I have an application which is suppose to start another executable process. As soon as that process is running, I need to retrive its handle. The problem of the particular process I am...
18
by: jas | last post by:
Hi, I would like to start a new process and be able to read/write from/to it. I have tried things like... import subprocess as sp p = sp.Popen("cmd.exe", stdout=sp.PIPE)...
6
by: Dmitri Shvetsov | last post by:
Hi, Can I start an external process from the Web Service? I'm using a code, compiler keeps silence, compiles ok and starts the project. When I trace in Debugger it doesn't start an external...
4
by: Yiu | last post by:
upgent help i want to start IE explorer using C# i try many code such as below: ProcessStartInfo startInfo = new ProcessStartInfo("IEXPLORE.EXE"); Process.Start(startInfo); or Process...
10
by: Sorin Dolha [MCSD .NET] | last post by:
I would like to start a process from C# code as another user. The C# code is executed as the ASPNET user because it relies in a Web Page class, and I would like that the process will run as another...
12
by: Raymond Lewallen | last post by:
How to wait for a process to stop completion is my goal. Obviously, the looping while waiting for the HasExited property is not a solution.. but thats the best I can come up off the top of my...
0
by: henning.friese | last post by:
Hello NG, I'm need to write some code which creates tiff files from various document types (doc, pdf, xls). I want to do this by ShellExecuting (via System.Diagnostics.Process) the doc-files...
3
by: BuddyWork | last post by:
Hello, Could someone please explain why the Socket.Send is slow to send to the same process it sending from. Eg. Process1 calls Socket.Send which sends to the same IP address and port, the...
0
by: Buddy Home | last post by:
There is two examples of code. Example 1. Send and Receive within the same process. Put this code in a console app called SendAndReceive and run the code. using System; using...
0
by: =?Utf-8?B?Um9i?= | last post by:
I've a requirement to monitor when certain applications are started. I'm using WMI called from VS Stusio 2005 in VB to trap Excel and Word starting. I've written the following console application...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.