LabCenter can’t feel the SCVMM as it’s not configured



Finally after completing my infrastructure and start to use it, when I access the Lab center it doesn’t work and give me a gray message that said “the Lab Management maybe not configure”  when I check this error I found the following:

When I open the TFS Admin console and open the Lab Management node and click reconfigure and test the name of the SCVMM it give me an error I do many things but the problem was not normal the problem that when the TFS machine lose the domain trust of the active directory this happen

I face also the following errors:

Team Foundation Server cannot contact the following Virtual Machine Manager

The following library share could not be verified because of one or more errors: name: ‘name’ path: ‘\\network path‘ . Possible causes include: a) the library server is currently unavailable, or b) the library share was deleted, renamed, or removed and added back in SCVMM. Delete this library share from project collection, close the dialog, reopen it, and then add it again to project collection.”

So I do the following

  • Uninstall SCVMM from the hyper v machine and deleted it’s database
  • You may need to un-join and rejoin the domain again for the hyper v machine
  • You may need also to un-join and rejoin the domain again for the TFS machine
  • You may need to create a library and make it as network share first and give the TFSSERVICE read and write permission on it
  • Try to verify the library from the TFS Admin console in the application tier node
  • If it’s not verified you will need to add new library from SCVMM Admin by adding folder and share and give TFSSERVICE Read/write share permission after that you can delete the default library folder and re add it again, but remember you can’t delete library from Team collection unless you put another one

For some little help see the following page

http://msdn.microsoft.com/ru-ru/library/ff966328.aspx

Configure TFS 2010 Alert using Local SMTP that use Gmail account



When I start the task of configuring TFS Alert I found very good article on how to configure this alert using the Gmail, see the following link

http://elbruno.com/2011/04/25/tfs2010-howto-configure-an-smtp-service-to-send-mails-using-a-gmail-account/

Thanks Albruno for this post

Any way when I start test the example all I need to do just stop and start the SMTP server from IIS 6.0 Manager and the e-mails will be sent, I also decide to decrease all the time for the retry time which is the first one is 15 minutes to be 5 minutes and so on

You can also test the email using Telnet

for more information google how to send email using telnet

Don’t forget to change the service to be automated start for Simple Mail Transfer Protocol service

We will also configure the alert in the MOSS 2010 as the following:

Configure outgoing e-mail for a farm by using Central Administration in MOSS 2010

  1. In Central Administration, click System Settings.
  2. On the System Settings page, in the E-Mail and Text Messages (SMS) section, click Configure outgoing e-mail settings.
  3. On the Outgoing E-Mail Settings page, in the Mail Settings section, type the SMTP server name for outgoing e-mail (for example, mail.example.com) in the Outbound SMTP server box.
  4. In the From address box, type the e-mail address as you want it to be displayed to e-mail recipients.
  5. In the Reply-to address box, type the e-mail address to which you want e-mail recipients to reply.
  6. In the Character set list, select the character set that is appropriate for your language.
  7. Click OK.

Installing Office web app 2010 to work with TFS 2010



I install the office web app 2010 and configure it so anyone can open word and excel file from the browser

I follow this guid and test it on a team project and everything was very good except I don’t need to active the office web app on the team project because it’s already activated

http://sharepointgeorge.com/2010/installing-office-web-apps-for-sharepoint-2010/

 

Lab Environment Viewer (LEViewer.EXE)



LEViewer is an application that enable developer or anyone else to open environment snapshot, so the Tester can take a snapshot of the environment and attached it to the bug and the developer can open the bug, see the attachment and open the snapshot using LEViewer

LEViewer

LEViewer

How to prevent some files from committed to the source control?



I will show another small tip which prevent file from committed to the source control or TFS 2010, I will  prevent the generated minifiy file that create by Microsoft Ajax Minifier.

Open Check-in policy

Open Check-in policy

Open forbedding pattern policy

Forbidden policy

Forbidden policy

Enter reguler expression that prevent .minifie files from from committed

Regulaer Expression

Regulaer Expression

Done.

 

How to prevent some file from committed to the source control

How to exclude file from the Source Control?



I will show a small tip of how to exclude a file from TFS 2010 or exclude file from source control, please see the following image, if you want to include just do the Vice versa.

Exclude file

Exclude file

That’s it, very small :-)

Vice versa

How to change the souce control?



I will show another small tip which will change the source control, just click the project that doesn’t has binding info and then click on the file source control and then choose change source control as you can see in the following  image

Open source control menu

Open source control menu

Now bind or unbind the files you want

Bind files

Bind files

That’s it