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 7931059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:36:48+00:00 2026-06-03T20:36:48+00:00

Building an ASP.NET MVC3 application at work and I’m trying to use a program

  • 0

Building an ASP.NET MVC3 application at work and I’m trying to use a program that has to be started through a command prompt and passed arguments.

Currently I’m getting…

System.ComponentModel.Win32Exception (0x80004005): Access is denied 
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) 
at System.Diagnostics.Process.Start() 
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

This is only needed for one section of the website and I’m not sure what the best process would be to allow IIS (6) to accomplish this while maintaining security.

I don’t think it’s relevant, but just in case here is the code that I’m using to start the Process()

try {
    ProcessStartInfo startInfo = new ProcessStartInfo();
    startInfo.FileName = @"C:\pdftohtml\pdftohtml.exe";
    startInfo.Arguments = "-c " + NewsletterPath + @"\" + fileName + ".pdf";

    Process.Start( startInfo );
} catch( Exception ex ) {
    return ex.ToString();
}

Question in a nutshell:

What is the best way to allow IIS6 to start a new Process that needs to pass arguments through a command prompt while maintaining security?

  • 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-06-03T20:36:50+00:00Added an answer on June 3, 2026 at 8:36 pm

    Grant access to the user running IIS (Usually ASPNET) to the directory c:\pdftohtml\, that’ll fix it.

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

Sidebar

Related Questions

I am building an asp.net mvc3 application and I have decided to use areas
I am developing an application in ASP.NET MVC3 in C#. I am currently building
I'm building a new .NET 4.0 ASP.NET MVC3 application and currently the database is
I am fairly new to unit testing. I am building an ASP.NET MVC3 application
Background I'm working on building an ASP.Net MVC 3 application that utilizes: JQueryUI for
I am building an application in ASP.NET, C#, MVC3 and SQL Server 2008. A
I am building an application in ASP.NET, C#, MVC3 and SQL Server 2008. A
i am building a new web site using asp.net mvc3 web application ,, and
When building ASP.NET projects there is a certain amount of boilerplate, or plumbing that
I'm building ASP.NET MVC2 website that lets users store and analyze data about goods

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.