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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:32:51+00:00 2026-06-15T02:32:51+00:00

We have a web page that uses Process.Start to run msbuild, and we supply

  • 0

We have a web page that uses Process.Start to run msbuild, and we supply it with an msbuild file to process.

The msbuild script contains many normal msbuild tasks, and an Exec task to run hg.exe.

When we tell Process.Start to simply run “msbuild.exe” it works fine. The script is executed, hg.exe is run, everything is fine.

But when we tell Process.Start to run “c:\specific-path-to-4.0\msbuild.exe” it fails. It does try to execute the script, and it does execute some of the tasks, but it fails to run the Exec task that runs hg.exe. It gives an “access denied” error.

The problem is, we have some tasks in there that require 4.0, so we do need to use that version of msbuild.

We have gone around giving priviliges like crazy to exes and paths all to no avail. Any help would be greatly appreciated.

  • 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-15T02:32:52+00:00Added an answer on June 15, 2026 at 2:32 am

    the problem had something to do with 64bit versus 32bit. while it “runs on my machine!” and on other servers just fine, on some servers we had the problem listed here. All of the test machines were 64 bit, but some had the problem and some did not. in the end, the fix was simple:

    we needed to call:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe

    instead of calling:

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe

    we never could figure out what exactly was the cause, or why it worked on some servers but not others. but this simple change works on all of them, so we’re happy!

    not sure if this is appropriate or not but to give credit where it is due… our fantatical support at Rackspace figured it out for us!

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

Sidebar

Related Questions

I have a web page that uses a Python cgi script to store requested
I have a web page that uses cross page posting to post to a
I have a web page that uses three controls to allow a user to
I have a web page that uses jquery ajax to grab the table markup
I have made a web application that uses master page for Login & Logout
I have a very basic web page that uses flot to create a canvas
I have a web page that uses a large image for its background. I
So I have a webpage scraper that uses backgroundworker to process each page. I
I have a web page that uses a date range filter, the selected date
I have a web page that uses xslt stylesheet, however it seems that it

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.