onsdag 9. mai 2012

Localization issue in TFS 11 Team Web Access: “object doesn’t support this action”


A customer of us had an issue with the new Team Web Accessen in TFS 11. The error she got was the client jscript error: “Object doesn’t support this action”


If the user opened up a work item, the fields where empty and UI elements where distorted.


In the script debugger we found the following error:

UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)

Timestamp: Wed, 9 May 2012 10:42:23 UTC
Message: Objektet støtter ikke angitt egenskap eller metode
Line: 4
Tegn: 1617
Code: 0

The problem was the localization on the local computer (no-NO), while the query was using loc=en-US. The solution was to change the localization to “en-US”. After we changed the localization everything worked as normal.

fredag 4. mai 2012

.Net 4.5 disables connection to remote database


After I installed .net v4.5 i ran into the following problem:

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.)

The funny thing was that the error only occured when connecting to a remote SQL server. The bug is reported on  Microsoft Connect.

The work around for me was to remove non-IFS LSP installed Winsock Catalog Provider as described in the KB 2568167.