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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:26:19+00:00 2026-05-28T06:26:19+00:00

We would like to have our TFS automated CI build and test process use

  • 0

We would like to have our TFS automated CI build and test process use a remote test agent to run our tests separate from our build agent. On normal unit tests that do not use moles or moles host, we have no problems. However, when we include a moles host in our .testsettings or have a moles hosted test (via the HostType(“Moles”) attribute), the test agent seems to try and get the path to the moled .dlls that the build agent uses. It is almost as if the build agent passes a full path to the test agent and the test agent uses it. We either get a “You do not have the appropriate permissions to perform this action” (when in fact each service is running with administrative rights) or a cryptic “MSTest failed returned code 1 expected 0” and no logging information.

My questions for the group:

  1. Has anyone gotten MSTest, Moles, TFS Build, and Visual Studio 2010
    Test Controller/Test Agent (not part of the Test Lab setup) to work?
  2. If you have gotten it to work, what is your setup?
  • 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-28T06:26:20+00:00Added an answer on May 28, 2026 at 6:26 am

    It doesn’t work.

    While my scenario WAS in TFS Lab Mgmt, I found the problem really didn’t relate to lab mgmt, but instead in the fact the the Moles installer looks for registry keys just don’t exist when you only install the remote Test Agent without VS 2010 installed. See the following question for my Question & Answer:

    Microsoft Moles HostType errors in TFS 2010 Lab Management environment

    I stress that while I was using TFS Lab Management, it didn’t matter. The issue occurs any time you want to run remote tests with VS installed.

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

Sidebar

Related Questions

In our project, we'd like to have our TFS build put each project into
I would like to have our web applications pull static content (css, js, images)
Our organization recently got TFS 2008 set up ready for our use. I have
In one of our project, we would like to have a calendar control that
I would like to access the work items in our TFS programmatically. Shouldn't there
I would like to have a simple query that I can run against a
I'm running Tomcat 6 on Windows and would like to have Tomcat use a
So in my project i would like have a nice treeview that has images.
I would like to have a Windows 2003 server fire a script to fire
I would like to have a QMainWindow that can change it's look at runtime,

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.