How many times do I have to tell you, the right tool for the right job!

How many times have you used one tool for a job only to have the requirements change and you then realize the tool doesn’t support the new requirements?  It happens very often!  Let’s consider this requirement for a WinForms application: REQUIREMENT: On any error, display the error message as richly formatted text and allow for…

0

Using PowerShell to clean up SharePoint document library files with no versions

Versioning of SharePoint document libraries allows it to become a great repository for files.  You can check items in and out and maintain the history of the file automatically.  A powerful library tool in SharePoint document libraries is the ability to open the document library with Explorer.  If you have the Windows Desktop Experience installed (default…

4

Using the TFS Object Model to populate Test Details

Comprehensive documentation on the various TFS Object Models is available on MSDN here.  While the documentation is complete, sometimes it helps to see a sample to help you understand how to use a tool.  In this post, I will show you how to do that.  Say you are using running manual tests and you want information about your test…

8

Building Windows Phone apps with a 64-bit Build Agent from TFS build

Developers writing Windows Phone 7 or 7.1 apps who use TFS to manage their builds can find that setting up machines to be build agents is a time consuming and problematic process.  You have to make sure all the patches and updates for the OS are installed.  All of the service packs and security updates are intalled for…

2

Removing [MissingFeature] Database & [MissingWebPart] WebPart class errors from SharePoint 2010

My customer performed an in-place upgrade of SharePoint 2007 to SharePoint 2010.  Unfortunately, several errors were left over and constantly flagged in the SharePoint Health Analyzer.  The errors were like the below:  [MissingWebPart] WebPart class [fe5408f9-d9d4-a317-6c7f-122032c54475] is referenced [1] times in the database [APP], but is not installed on the current farm. Please install any…

5

Using PowerShell scripts to modify document properties in SharePoint 2010

I recently had to find a way to add a value to the “Title” property of documents in a list.  There are many ways to do this, but PowerShell seems to be pretty powerful when it comes to this type of direct manipulation.  Since all my customer needed was to assign a value to the…

5

Command logging in TFS

By default all commands are logged in TFS 2010 in two tables; tbl_Command and tbl_Parameter.  tbl_Command contains every command that was executed against TFS, while tbl_Parameter is only populated if there is an error executing the command or the command takes a long time to execute.  This is very useful for helping diagnose performance issues…

2

What is the difference between maxQueryString and maxUrl?

I’m re-BLOGing these IIS 7 settings because someone recently asked this question of me.  The original information was pulled from Rakki Muthukumar’s BLOG. maxURL The length of the URL would constitute just the length of the URL (/results.aspx) – including 1 for the / and not the length of the query strings. So, if you…

0

Adding all of the controls on a page to the UIMap – be careful!

When you create a coded UI test using Visual Studio 2010, the test only adds the controls you recorded or created assertions against; after all, why keep track of controls that your test will never use?  While that seems like a pretty straight forward assumption, in use, customers at times wish they could just press…

0

Bypassing the CRL Check on CLR Startup

Ever wonder why your managed service may be slow to start up at times?  The Microsoft assemblies that you depend on in your managed service are signed with both a strong name signature and an Authenticode signature.  Authenticode signatures allow for the identity of the assembliy to be verified by chaining the certificate to a trusted root.  In…

2