Changeset Comments Policy Error

A SQL Server Management Studio add-in to source control your database in Subversion or Team Foundation Server.

Moderators: Chris Auckland, David Atkinson, sherr, PhilScrace, andy.campbell.smith

Changeset Comments Policy Error

Postby flyer299 » Fri May 24, 2013 3:26 pm

I have Team Foundation server setup to require a Check In Comment on all check ins. I was excited to see that SQL Source was going to support this feature.

When we upgraded to the new version, even if we enter a comment we get an error.

"This Commit doesn't meet the server's policy requirements, or the policy isn't configured on your machince. The Server returned the follwing "Internal error in ChangeShet commetns Policy. Error loading the changeset comments Policy policy."

It does reference a CheckForComments.CS with instructions. Please help? We are dead in the water and can't check code in right now!
flyer299
 
Posts: 6
Joined: Mon Apr 12, 2010 2:52 pm

Postby eugef » Wed May 29, 2013 10:22 pm

Same exact problem.

SQL Source stopped working after latest update.


P.S. I evaluated the tool and pushed my manager hard to purchase a licence for it which he finally agreed to do, however 2 days after activation i have upgraded the the version and it stopped working. Please, fix it ASAP!!!!
eugef
 
Posts: 15
Joined: Wed May 29, 2013 10:17 pm

Postby eugef » Wed May 29, 2013 10:27 pm

Oh and one more thing:

I followed the instructions to disable TfsPolicies here http://documentation.red-gate.com/displ ... y+checking and it didn't resolve the problem
eugef
 
Posts: 15
Joined: Wed May 29, 2013 10:17 pm

Postby eugef » Fri May 31, 2013 10:02 pm

I would appreciate any response from Red-Gate support team
eugef
 
Posts: 15
Joined: Wed May 29, 2013 10:17 pm

Postby james.billings » Mon Jun 03, 2013 12:27 pm

Hi,
Sorry to hear you're having some trouble. Disabling should work fine- but only on the very latest release. What version are you on?

If you are on the latest, can you post the config file change you made so we can double check it looks correct?
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby eugef » Mon Jun 03, 2013 2:31 pm

Hi Thank you for the response. I recentrly rolled back to an old version, cause new one didn't work (still had intaller on my machine, uninstalled latest and re-intalled older version), but I still have config file that I created earlier (i don't see option to attach file in this forum):

System: Win 7 Prof 64Bit; SQL 2008R2 SSMS

File name: RedGate_SQLSourceControl_Engine_EngineOptions.xml
Folder: C:\\Program Files (x86)\\Red Gate\\SQL Source Control 3

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<EngineOptions version="3" type="EngineOptions">
<IgnoreTfsPolicies>True</IgnoreTfsPolicies>
</EngineOptions>
eugef
 
Posts: 15
Joined: Wed May 29, 2013 10:17 pm

Postby james.billings » Mon Jun 03, 2013 2:33 pm

Ah, the problem looks like you have created / edited the file in the wrong location. It isn't in Program Files, it's in your user profile (%localappdata%\\Red Gate\\SQL Source Control 3) - which would translate to "c:\\users\\<your username>\\appdata\\local\\red gate\\sql source control 3"
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby eugef » Mon Jun 03, 2013 3:04 pm

Oh, ok. thanks. I'll give it a try.

But still this is workaround, please, let me know when the real issue is resolved. Let me know if you need additional information for your investigation.
eugef
 
Posts: 15
Joined: Wed May 29, 2013 10:17 pm

Postby james.billings » Mon Jun 03, 2013 3:08 pm

If you're able to just supply versions of SSMS, VS, TFS and the TFS Client DLL's on your machine, it may be of use in our investigation?
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby eugef » Mon Jun 03, 2013 3:26 pm

SSMS: 2008 R2 - 10.50.2500.0
VS: 2010 Ultimate - 10.402119.1 SP1Rel
TFS: 2010
Microsoft.TeamFoundation.VersionControl.Controls.dll - 10.0.40219.445

Let me know if you need additional information.
eugef
 
Posts: 15
Joined: Wed May 29, 2013 10:17 pm

Postby james.billings » Mon Jun 03, 2013 3:27 pm

Thanks, I'll pass that on to the team
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

I am getting the exact same issue with the newest version

Postby mryhmln » Wed Jun 12, 2013 3:57 pm

VS 2010 Ultimate - 10.0.40219.1 SP1Rel
SSMS 2008 R2 10.50.1617.0
Don't know my version of TFS DLL.
mryhmln
 
Posts: 12
Joined: Mon Aug 29, 2011 4:05 pm

Any update on this issue?

Postby mryhmln » Fri Jun 28, 2013 3:05 pm

We have a policy to require associating work items, but even when I attempt to associate a work item, I am getting a policy failure. I have to do an "ignorepolicies" and then go back and manually associate the changeset later. It is a hassle.
mryhmln
 
Posts: 12
Joined: Mon Aug 29, 2011 4:05 pm

Postby james.billings » Fri Jun 28, 2013 3:17 pm

We're still investigating the full fix for this, but in the meantime you can disable policy checking completely to avoid having to add the comment. See here for details.
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.


Return to SQL Source Control 3

Who is online

Users browsing this forum: No registered users and 1 guest