Book a Demo

Author Topic: Error when checking out from TFS  (Read 5141 times)

ntm

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Error when checking out from TFS
« on: October 12, 2013, 05:14:24 am »
Hello,

One of our user is getting 'Unrecognized Command Info' error when trying to check out a package from TFS. After clicking 'Ok' on that error message, we get another message that says that The package cannot be checked out at this time. File is reported as 'Not Controlled'. We have other users who are ale to check out and in with the same configuration. We have also verified the access of this user in TFS.

Please advise.

Thanks,
NM

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Error when checking out from TFS
« Reply #1 on: October 12, 2013, 05:36:22 am »
Not knowing the answer, but what configuration do you use? Local EAP files per user?

q.

ntm

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Error when checking out from TFS
« Reply #2 on: October 12, 2013, 06:26:16 am »
Hi,

The project is setup on a SQL DBMS repository. Version control configuration was set up by the administrator. Every user has to provide the creadetials and configure when they connect to the project for the first time. The user is succesfully able to complete the configuration, but gets the message when trying to check out.

Thanks,
NM

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Error when checking out from TFS
« Reply #3 on: October 12, 2013, 09:05:51 am »
OMG. You are using a central repos AND version control. Not a good idea. Either use VC and EAP files  (for independent and off-site work) OR a central repos and locking (and taking eventual snapshots for VC).

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Error when checking out from TFS
« Reply #4 on: October 14, 2013, 05:51:17 pm »
Qwerty,

We are using SQL Server and TFS too, without any issues.
Are you sure the local configuration of the user point to the correct tfs.exe?
Another issue we had was with the workspaces. The connection only seems to work is you have a separate workspace for the EA stuff. Too much file into a single workspace tends to lock up the whole thing.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Error when checking out from TFS
« Reply #5 on: October 14, 2013, 08:52:26 pm »
Geert,
the fact that you don't have issues does not necessarily mean that the configuration is good  :-X

I'm definitely not trying to teach you anything related to EA. However, I could instantly start arguing against your configuration. But not here and now. I hope we can meet at the next user conference in Brussels.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Error when checking out from TFS
« Reply #6 on: October 16, 2013, 05:02:15 pm »
Quote
I hope we can meet at the next user conference in Brussels.

q.

Me too, but first I would need to organise one here. ;)
There are plans for such an event, but only plans so far.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Error when checking out from TFS
« Reply #7 on: October 16, 2013, 09:35:24 pm »
I know and hope for the best and to see you for a beer anyway. Likely I'm (more or less) back in business next year :-)

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Error when checking out from TFS
« Reply #8 on: October 17, 2013, 09:36:09 am »
Back on topic.

'Unrecognized Command Info' is coming from tfs.

What version of TFS are you using?

TFS 2012 renamed the 'properties' command to info. If you run the tfs command line tool without any arguments it should print a version number. I would expect to see if showing Version 11.x.xxxx.x

What do you get?

ntm

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Error when checking out from TFS
« Reply #9 on: October 22, 2013, 02:18:00 am »
Hello,

Looks like an issue with older version on TFS. We were able to resolve the issue by creating our workspaces in Visual Studio 2010 rather than using Visual Studio 2008 to manage the workspace.

Thanks,
NM
« Last Edit: October 22, 2013, 02:41:33 am by ntm »