Thursday, August 19, 2010

Reconnecting to Team Foundation

For the past few days, Team Foundation source control was acting strangely – as in, when I edited a code file, it did not want to automatically check out the file, but instead asked me whether to edit in memory or make the file writable on the disk. I would then go through Team Explorer and check the file out directly from Source Control view, and make my changes, then attempt to check in. The Check In button was enabled, but I could not click it. So what the heck is going on here?

Well, at one point during the week, IIS on the Team server had been restarted. I had the project open, and was coding at that time, so Team flipped to Off-Line mode, and I continued on my way. But when the server came back online, Team did not automatically flip to On-Line mode. So, to correct it, select the Solution in Solution Explorer and go File > Source Control > Go Online.

That fixed it for me.

No comments:

Post a Comment