Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    TFS2012

    Scheduled Pinned Locked Moved Support
    buildmastertfserror
    8 Posts 1 Posters 7 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I'm trying to setup a deployment and I'm having trouble connecting to our TFS2012 server to get the code. I get this error when the Server is set to the agent server...

      "An unexpected error occurred while attempting to connect. Exception has been thrown by the target of an invocation."

      I get this error when Server is set to the buildmaster server (non-agent)...

      "An unexpected error occurred while attempting to connect. Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."

      I installed the TFS2012 extention and it restarted the services, what else do I need to do?

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Do you have Team Explorer installed on the agent server? Unfortunately, we're not allowed to distribute TFS DLL with the extension, so it must be installed for our code to use it.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          What server do I need to install Team Explorer on, the agent or the main server?

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            The agent server would be all that's needed.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Does this mean I have to install Team Explorer on all of my agent servers?

              Isn't there a way to tell it to go to this file share and copy the code to this agent??

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                Team Explorer must be installed on any server in which you want to use the TFS Source Control actions on --- generally, this is just your build server.

                From your build server, you'd create an artifact of the build output, and deploy the artifact from there.

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  I installed on Team Explorer on the server that hosts the BuildMaster service, but I'm still having an issue.

                  These are the steps i did...

                  1. Setup a new activity by selecting: Source Control > Get Latest > Team Foundation Serv (TFS2012)

                  2. Set Execute On Server to the machine that BuildMaster Service is running on. I set the target dir.

                  3. Click the browse button to select the source path

                  On step 3 I get this error: "An unexpected error occured: Exception has been thrown by the target of an invocation."

                  Am I missing a step?

                  1 Reply Last reply Reply Quote 0
                  • ? This user is from outside of this forum
                    Guest
                    last edited by

                    In case anyone else runs into difficulty with this, as I did, here are a couple of things to keep in mind:

                    1. You WILL need to install Team Explorer 2012 on the server that will be connecting to TFS -- in my case, since I don't have a dedicated Build server, that means I needed to install Team Explorer BuildMaster server.

                    2. Installing Team Explorer (http://www.microsoft.com/en-us/download/details.aspx?id=30656) WILL install a "shell" version of Visual Studio 2012. If (like me) you don't want extra tools like VS on your server, it's possible that you may only need the DLLs -- but according to Inedo support, that would be a violation of Microsoft's licensing rules for Team Explorer.

                    3. In the "Server Name" field, you should enter the complete URL to the TeamProjectCollection you'll be working with, NOT just the main server or web access URL. In my case, this was http://tfs_host:8080/tfs/MyProjectCollection

                    I hope these help someone else; it took a lot of guessing and finessing to figure all this out, as Inedo support reps really don't tend to explain things clearly AT ALL, at least if you're using their Free Support.

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 1 / 1
                    • First post
                      Last post
                    Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation