Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 943109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:23:02+00:00 2026-05-15T22:23:02+00:00

I have a web service that must run an executable. To run the executable

  • 0

I have a web service that must run an executable. To run the executable in C# I am using the Process object.

The service runs the executable when I run it locally through visual studio. That is, it is converting a file and putting it in the output directory.

When I run the service on the production server the file does not get converted nor put into the Output directory.

I know that I am passing in the correct parameters to the executable because I had the service output the full path and parameter. Then I pasted the full path and parameters into a command window on the server and it properly converted the file and placed it into the Output directory.

So I know the executable and its parameters are working on the server, but just not through the service.

I have confirmed in IIS that the service has Executable Permissions on “Scripts and Executables.”

I am not sure what else to check or how else to test.


[Edit] More Info:

I had my web service call and run a file un-zipper. I gave it the path to the executable and arguments for the archive I wanted un-zippped and the destination. This worked fine.

When I point it back to the exe I need run it fails. Here are two more points:

1) I have given Everyone full control of the folders, subfolders, and files.

2) The exe I need run is 16 bit. Would that make a difference?

3) I was able to get it to return an error using proc.StandardError. The error is:
“This application has requested the Runtime to terminate it in an unusual way”

This is running on Windows Server 2003.


Any thoughts, ideas, or insight?

Thanks!
Mark

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T22:23:02+00:00Added an answer on May 15, 2026 at 10:23 pm

    Mark,

    Ensure that you’ve got the path to the excecutable as per the fully qualified path on the server, i.e.:

    e:\private\exe\businesscat1\yourexe.exe (etc,etc)
    

    of course, it could also be something being invoked by the exe that isn’t present that is being referenced.

    jim

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 529k
  • Answers 529k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer SerialPort.ReadLine is defined to block "up to the first occurrence… May 16, 2026 at 11:20 pm
  • Editorial Team
    Editorial Team added an answer Not sure why you initialize sNumber and sTitle to @"";… May 16, 2026 at 11:20 pm
  • Editorial Team
    Editorial Team added an answer :%s/^.\{-}\ze=// For more details on how to design reg.exps in… May 16, 2026 at 11:20 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have a jboss web service that is getting the wrong initial context. I
We are working on a web service that has to run a 3rd party
We have to create a web service client using Apache CXF in Java. The
I have installation solution that have installer project (not web installer but simple installer)
Here is my situation: I have my mvc-config.xml file for my web service set
I have Axis2 created web service client. This service uses both SSL and WS-Security
I have an ASP.Net MVC site, which connects to a web service. The site's
I am trying to create a WCF Streaming Service. I have two requirements that
We have an asp.net application that needs to be expanded to notify users when
I'm trying to create a small web service to convert PDF files to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.