Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 5th, 2006, 04:18 AM
Registered User
 
Join Date: Jun 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default calling .exe from asp.net c#

Hi all,
 I'm using visual web developer to develop my asp.net applications. The requirement is to call an executable file from one of the aspx pages on the click event of a button.
 The good news is that I've achieved it using the process class function and it runs fine when I start debugging from the Visual web developer environment.
 Here comes the bad news. When I deploy this page on localhost and click on the button, the desired process starts < I can say this because it's there in the task manager's process tab > but the console application <window> is not displayed. < Also the application tab of the task manager doesn't have this exe file shown >

My observation:
 When I run the page with Visual Web Developer environment, the invoked application runs with my user-name against it. But when I run the page after deploying at the local-host, it runs with ASPNET user-name against it.

My tries:
I tried to load window's user profile and tried to run it... It loaded the process with my user-name alright, but it abruptly ended with a 0x00000142 error < I aint sure about the number of 0s it has :) > I looked up in Google and found that this error has to do something with user.dll

Please Help :( :
 Now you know what kind of mess I'm in, please try and help me get out of this.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Call .exe from asp.net with c# vishwanath.yr ASP.NET 2.0 Basics 0 June 5th, 2006 04:10 AM
Calling a .exe or .vbs file from ASP komalac Classic ASP Basics 1 September 16th, 2004 03:04 AM
Calling an ActiveX.EXE in C++ xgbnow Visual C++ 4 March 31st, 2004 08:12 AM
How can I call a vb.net Exe from an asp.net page? jorevil Classic ASP Basics 0 October 1st, 2003 11:34 AM
calling exe from asp.net delcyan VS.NET 2002/2003 0 September 2nd, 2003 03:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.