Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exec Process works with Http://Localhost but not Http://<IP Address>

Status
Not open for further replies.

leo2180

IS-IT--Management
Jun 7, 2000
52
US
Hello all,

I'm working on a simple web app that calls an executable using System.Diagnostics.Process. For some reason though, when I run the application locally in my DevEnv it works fine - the program executes and does what I'm expecting. The very moment when I try calling the page using my computer's IP address instead of localhost:<port number> the program fails. Any idea why this is? Please let me know. The program is a simple console .NET application yet it throws: "The exception unknown software exception (0xe0434f4d) occurred in the application at location 0x7c812a5b."

Please help if you can, any suggestion welcome.


Regards!
 
check the inner exception to see if this provides any additional information. I'm guessing it's a security issue. bwtween the client, asp.net, IIS and the console application.

everything runs successfully on your local box because the client and server are the same box, with the same credentials.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
No additional information found unfortunatly... If it is indeed security, where do I start?
 
If it is indeed security, where do I start?
at the source of the exception. also do a google search on the exception message.

also connect to the remote server and run the console seperate from the web app. make sure this runs without error as a local user.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Yeah it runs just fine under my local account at a command prompt. Googling the error code isnt really helpful - it point to tons of other errors unfortunatly...
 
it runs fine on your machine, but what about the remote server?

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Runs fine there too; anywhere really - where I kick it off from a command prompt. Weird...
 
Googling the error code isnt really helpful
Googling the error is always helpful, you just have to put it in a context of what you are doing. I'd say around 95% of the questions asked here can be answered within 30 minutes of looking on google.


-------------------------------------------------------

Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
[URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions
[URL unfurl="true"]http://weblogs.asp.net/marksmith[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top