Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking 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 Basics 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
Old June 5th, 2006, 04:10 AM
Registered User
Join Date: Jun 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Call .exe from asp.net with 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
calling .exe from asp.net c# vishwanath.yr ASP.NET 2.0 Professional 0 June 5th, 2006 04:18 AM
How can i call exe using .NET roydaniel .NET Framework 2.0 1 April 16th, 2006 02:26 PM
call window dialog component with asp.net/vb.net s3ng ASP.NET 1.x and 2.0 Application Design 0 June 21st, 2005 04:54 AM
How to call VC++ DLL from ASP/ASP.net? leesoon Classic ASP Professional 0 December 9th, 2004 10:06 PM
How can I call a vb.net Exe from an asp.net page? jorevil Classic ASP Basics 0 October 1st, 2003 11:34 AM

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