Ask a Question related to ASP.NET General, Design and Development.
-
Nibha Kothari #1
Invoking an external program in ASP.NET
Hi,
I am trying to invoke an external email management
program from my ASP.NET web application. For testing
purposes I created a very simple webform that has a
single button. The code behind has the following:
Sub btnGo_Click(ByVal sender as System.Object, ByVal e as
System.EventArgs) Handles btnGo.Click
Dim objInfo As New ProcessStartInfo()
objInfo.FileName = "c:\program files\gammadyne
mailer\gm.exe"
objInfo.Arguments = "/t e:\temp\cba\eecm.txt"
Dim objProc As New Process()
objProc.Start(objInfo)
End Sub
When I click on the Go button, I can see gm.exe in the
Task Manager, but nothing happens. The program doesnt
send out the email like it's supposed to. When I use the
same piece of code in a Windows Application or a Windows
Service it works just fine.
I know this has to do with the security of the ASPNET
user, but I have also tried executing the webform and the
web application under a different user that belongs to
the Administrators group, but with the same result. So I
don't know what to do, please advice.
Regards,
Nibha
Nibha Kothari Guest
-
FSCommand, execute external program
Hi, i have a problem i wish to submit to you. i have created a graphic application on Flash MX, working on a browser. My customer use old printers... -
How to execute an external (like C++) program?
Hi, All, I need to execute a command-line utility just after stream publishing is over. Can I launch external EXE's from FCS's server-side scripts? -
invoking external programs
Hi I'm actually building a web interface to a news group server (INN). One of the feature is to allow a few users to create and delete newsgroups... -
starting an external program
starting an external program Tue, 11 November 2003 00:12 I'am using een php script with de exec() command to start een external program that... -
opening documents on external program
is your movie in a far deep folder ? sometimes paths too long or containing spaces can make problems..... I'm suggesting that 'cause I use Filextra4...



Reply With Quote

