Error Loading Policy Installation Instructions
Studio Team Foundation Server > Team Foundation Server - Source and Version Control Question 0 Sign in to vote Hi, we are getting this error very often (most of the team, not me - may be because I am in admin group). Here it is: We have "Changesets Comments Policy" enabled (only this checkin policy, none else). While checking in, even though the checkin comments are entered, it throws up the "Override checkin policy" popup with checkbox and reason. Under "Policy Warnings", an error message that reads "Internal error in changesets comments policy" is listed. When opened that warning, the following error message pops up. While checking in some documents and team build types, this error does not show up. Error Message: "Error loading the Changeset Comments Policy policy (The policy assembly 'Microsoft.TeamFoundation.PowerTools.CheckinPolicies.ChangesetComments, Version=8.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not registered.). Installation instructions: To install this policy, follow the instructions in CheckForComments.cs." I wonder, why it allows certain files checkin with comments and for most files it doesn't allow though comments are entered. Any ideas? Thanks Kris Thursday, August 09, 2007 11:54 PM Reply | Quote Answers 4 Sign in to vote We have encountered this problem a number of times. In our case the problem was because we were using the Comments policy from the Power tools and not everyone had the power tools installed. As Eugene mentioned the policy dll was missing on some of the client machines. The error message displayed does not exactly point you in this direction but after installing the Power tools the policy is validated correctly and the error message is no longer displayed. Hope this helps! _________________________________ Sarah Cameron - Incycle Software Friday, August 10, 2007 5:41 PM Reply | Quote All replies 0 Sign in to vote That might be a stupid question - but is the policy DLL properly installed on all workstations? Is there any correlation between error message and user security permissions? Regards, Eugene Friday, August 10, 2007 4:11 PM Reply | Quote 4 Sign in to vote We have encountered this problem a number of times. In our case the problem was because we were using the Comments policy from the Power tools and not everyone had the power tools installed. As Eugene mentioned the policy dll was missing on some of the client machines. The error message displayed does not exactly point you in this direction but after installing the Power tools the policy is validated correctly and the error message is
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Internal error in Changeset Comments Policy after updating VS2015 to Update 1 https://social.msdn.microsoft.com/Forums/vstudio/en-US/853d13bf-9b72-44ca-ae67-572dbda1386a/error-loading-the-changesets-comments-policy-policy?forum=tfsversioncontrol up vote 4 down vote favorite 1 Everything was fine about an hour ago, when i tried to checkin something, the policy friendly reminded me to "provide a comment for the check-in". Then I installed VS2015 Update 1, like some of my colleagues did, and after that, i receive the following error message when trying to check something in: Internal error in Changeset Comments Policy. Error loading the Changeset http://stackoverflow.com/questions/34203112/internal-error-in-changeset-comments-policy-after-updating-vs2015-to-update-1 Comments Policy policy (The policy assembly 'Microsoft.TeamFoundation.PowerTools.CheckinPolicies.ChangesetComments, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not registered.). Installation instructions: To install this policy, follow the instructions in CheckForComments.cs. My colleagues, of course, don't. As far as i know since VS2012 there is no need to install any version of the Power Tools anymore, so why does this happen? Additionally I also have VS2013 installed, where i do NOT get that error message, that version is working perfectly. Anyone having any idea where i need to look? tfs visual-studio-2015 policy checkin share|improve this question asked Dec 10 '15 at 13:25 Andreas 18811 add a comment| 1 Answer 1 active oldest votes up vote 8 down vote accepted Okay, i got it. Somehow the installation messed something up. On my machine the folder C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation was pretty empty, where my colleagues had a junction there, leading to this folder C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\XXXXXXX where XXXXXX obviously varies from machine to machine. To find the correct one, go to the extensions folder (one up) and look for the one that contains "Microsoft.TeamFoundation.Build.Controls.dll" and some other Teamfoundation dlls, then open an elevated command prompt and create the missing junction like so: mklink /j "C:\Program Files (x86)\Microsoft Visua
Sign in Pricing Blog Support Search GitHub This repository Watch 75 Star 1,021 Fork 355 git-tfs/git-tfs Code Issues 175 Pull https://github.com/git-tfs/git-tfs/issues/959 requests 28 Projects 0 Wiki Pulse Graphs New issue rcheckin errors in policies (Visual Studio 2015 update 2?) #959 Open JoachimC opened this Issue Apr 25, 2016 · 7 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 5 participants JoachimC commented Apr 25, 2016 • edited After installing error loading Visual Studio 2015 Update 2, when I run git tfs rcheckin I get the error: [ERROR] Policy: Internal error in Changeset Comments Policy. Error loading the Changeset Comments Policy policy (The policy assembly Microsoft.TeamFoundation.PowerTools.CheckinPolicies.ChangesetComments, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not registered.). Installation instructions: To install this policy, follow the instructions in CheckForComments.cs. [ERROR] Policy: Internal error in error loading policy Work Items. Error loading the Work Items policy (The policy assembly 'Microsoft.TeamFoundation.VersionControl.Controls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not registered.). Installation instructions: No changes checked in. I'm not sure if it's the right fix but all is now well after I changed versions in paket.dependencies file: nuget Microsoft.TeamFoundationServer.Client 14.95.3 framework: >= net45 nuget Microsoft.TeamFoundationServer.ExtendedClient 14.95.3 framework: >= net45 JoachimC commented Apr 27, 2016 btw, this is with git-tfs version 0.25.0.0 (TFS client library 14.0.0.0 (MS)) (64-bit) MedlockC commented May 25, 2016 I am having the same issue but it isn't because of VS2015 update 2 as it was working fine with update 2 installed for a while, but then something else changed to cause the issue(MS update maybe). I am running Win 10 with VS2015 Update 2 and I get the same error but its looking for version 8: The policy assembly 'Microsoft.TeamFoundation.VersionControl.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not registered. I tried the fix above but it does not fix this issue for me. Also with this. git-tfs version 0.25.0.0