473,403 Members | 2,366 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,403 software developers and data experts.

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

Nov 17 '05 #1
0 1063

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

Similar topics

0
by: nibha kothari | last post by:
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...
1
by: chandan | last post by:
hi, I have a insert trigger on a table. I want commit to happen after insert before invoking the trigger. So that if a quey is made before the completion of the trigger.Modified Data should be...
0
by: nibha kothari | last post by:
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...
0
by: nibha kothari | last post by:
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...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.