473,788 Members | 2,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Process.Start/ASP.NET under **Vista**

I am almost afraid to ask this question but under Windows Vista can an
ASP.NET application launch an interactive UI based process using
Process.Start(. .)?

I see various posts that recomment the ASPNET account be granted
"interactiv e logon" rights. and allowing IIS Admin service to
interact with the desktop. However under Vista services CANNOT
interact with desktop, period (and there is no IIS Admin Service
anyway). There is no ASPNET account on Vista -- how does one grant
sufficient permissions to NETWORK SERVICE to get this to work?

Is there a way out?
Feb 21 '08 #1
5 1517
Hello Dilip,

Why do u need to do this? Because there could be other more "normal" ways
to achive your requirement

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
DI am almost afraid to ask this question but under Windows Vista can
Dan ASP.NET application launch an interactive UI based process using
DProcess.Start( ..)?
D>
DI see various posts that recomment the ASPNET account be granted
D"interactiv e logon" rights. and allowing IIS Admin service to
Dinteract with the desktop. However under Vista services CANNOT
Dinteract with desktop, period (and there is no IIS Admin Service
Danyway). There is no ASPNET account on Vista -- how does one grant
Dsufficient permissions to NETWORK SERVICE to get this to work?
D>
DIs there a way out?
D>
Feb 21 '08 #2
On Feb 21, 3:07*pm, Michael Nemtsev [MVP] <nemt...@msn.co mwrote:
Hello Dilip,

Why do u need to do this? Because there could be other more "normal" ways
to achive your requirement
Its a long story. I would love to elaborate but its very difficult to
explain anything coherently without giving you the complete picture
right from the beginning which would only serve to confuse the
issues. Think of this as a legacy hurdle with our product.

For the moment can you tell me if its even possible to launch an UI
app from an ASP.NET application running under IIS7/Vista?
Feb 21 '08 #3
I am sure it can be done, but the problem is - the UI app is going to run on
the webserver, not on the client. Probably nobody will even be logged on to
see it and dismiss any dialogs, so "not advised".
--Peter
Site: http://www.eggheadcafe.com
UnBlog: htp://petesbloggerama .blogspot.com
Short Urls & more: http://ittyurl.net
"Dilip" wrote:
I am almost afraid to ask this question but under Windows Vista can an
ASP.NET application launch an interactive UI based process using
Process.Start(. .)?

I see various posts that recomment the ASPNET account be granted
"interactiv e logon" rights. and allowing IIS Admin service to
interact with the desktop. However under Vista services CANNOT
interact with desktop, period (and there is no IIS Admin Service
anyway). There is no ASPNET account on Vista -- how does one grant
sufficient permissions to NETWORK SERVICE to get this to work?

Is there a way out?
Feb 21 '08 #4
"Dilip" <rd*****@lycos. comwrote in message
news:63******** *************** ***********@z17 g2000hsg.google groups.com...
The machine where the webserver is running is logged on _all_the_time_!
You can't possibly be serious...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Feb 21 '08 #5
On Feb 21, 4:28 pm, "Mark Rae [MVP]" <m...@markNOSPA Mrae.netwrote:
"Dilip" <rdil...@lycos. comwrote in message

news:63******** *************** ***********@z17 g2000hsg.google groups.com...
The machine where the webserver is running is logged on _all_the_time_!

You can't possibly be serious...
I am. Have you seen applications running on big kiosks that allow
patrons to selfcheck items they rent from the library? Those
applications cover the entire real estate of the monitor and run
forever 24x7. Access to that kiosk is locked out (no keyboards or
mouse or such).
Feb 22 '08 #6

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

Similar topics

2
4745
by: SMichal | last post by:
Hi, I'm starting from my application simple bat data...test.bat. This file (test.bat) should start another aplication app.exe. I'm starting the test.bat from my application with Start() method of Process class. With proc.WaitForExit I'm waiting for end of the process and I must check the return code of process that I've started...this job does proc.ExitCode. I'm alway dealing with returnCode = 255 but I'm pretty sure that the
9
16158
by: SeC | last post by:
Hi. Is there any way to detect if application is being killed by 'End Process' via Task Manager ?
5
5824
by: Atara | last post by:
On Windows Vista, Process.Start() generates Win32Exception. Sample Code: Dim selfProc As String = System.Windows.Forms.Application.ExecutablePath System.Diagnostics.Process.Start(Chr(34) & selfProc & Chr(34)) The generated Exception:
4
5494
by: =?Utf-8?B?U3VyZXNoIE5hZ2FyYWphbg==?= | last post by:
Hello, I am trying to execute an application on a remote system. After checking several of the website I was managed to write a C# application do the same. But I am not able to track the Exit Code of the application. The return value only tells me if the application started successfully. Is their a way to capture the final exit code of the application that is started remotely?
4
1338
by: Linda Liu[MSFT] | last post by:
Hi Scott, Are the ClickOnce applications 32-bit or 64-bit applications? For more information on 64-bit applications, visit the following link: "64-bit Applications" http://msdn.microsoft.com/en-us/library/ms241064.aspx If they're 64-bit applications, you may refer to the following MSDN document on how to publish these application:
4
8462
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: System.Diagnostics.Process.Start("http://www.microsoft.com/") It works if I do it like this (thank you HKW), but what if the user doesn't use IE, but uses some other browser?
12
2169
by: d-42 | last post by:
Hi, How do I ask for escalation from within a program? I'm developing a standalone program that can also act as a 'plugin' to another application. The way the other app was designed, it scans a plugin folder in its "program files" folder for settings documents which contain all the settings it needs to know to call the plug-in apps.
1
5796
by: =?Utf-8?B?TUE=?= | last post by:
Hi all, In Vista, I am triying to assign the following file read-write-modify rights. "C:\ProgramData\CompanyName\SomeFolder\somefile.dll" I can do that manually by starting the command promt as administrator mode then use the following utility. takeown /f "C:\ProgramData\CompanyName\SomeFolder\somefile.dll"
1
4244
by: =?Utf-8?B?U3VydHVyWg==?= | last post by:
The following code used to work. It starts up notepad and types a few lines. What am I doing wrong? I'm using VB.NET 2005 under Vista. It starts notepad okay, but it can't 'type' into it. 'demonstrate "typing" into notepad Dim psiProcessStartInfo As New ProcessStartInfo With psiProcessStartInfo .Arguments = "" 'command line arguments .CreateNoWindow = False
0
9656
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10370
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8995
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7519
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5402
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4074
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.