Archive by Author

Keep tabs on your site errors


Putting up a site on a remote server and placing your errors in the event log won’t do you much good so I opted to place some code in Global.asax Application_Error() to email me if something went horribly wrong.    Here is what it looks like:   void Application_Error(Object sender, EventArgs e) {         Exception […]

Continue reading

Team Foundation Server/MS Project Issue


We connected up MS project to Team System only to discover that MS Project uses "," as a list separator in the Resource Name and each resource now has become 2 people.   The work around is to change the list separator character in your Regional Settings to the ";" character.  This issue is apparently logged […]

Continue reading

Shared NIC Issue


While running some unit tests in our W2K3 VM configured with 2GB of RAM on a W2K3 HOST with 3Gb of RAM and a single ethernet adapter we noticed that if the VM accessed the HOST machine (sharing the same adapter) the machine connectivity was completely wiped out and the entire machine must be rebooted….and I tested this […]

Continue reading

TFS Build not executing unit tests


After writing over a 100 unit tests for some business logic and running the tests locally it was time to let the build server execute the job.  I went to the trouble to organize the tests into lists which matched the namespace of the business logic.   When I created my build project and selected the […]

Continue reading

Adding Web Part to Team Site fails


After an installation of Team Foundation Server you might want to customize the Team Site that has been created for you.  If you add a Web Part to a page you will receive the following error:   "An unexpected error has occurred"   After a bit of searching I found a Microsoft Support Article which […]

Continue reading

SQL Server 2005 Upgrade Issue


Attempting an upgrade from SQL Server 2000 to 2005 (Developer Edition) failed with the following error:   Error 1706. An installation package for the product Microsoft SQL Server Native Client cannot be found. Try the installation again using a valid copy of the installation package ‘sqlncli.msi’.   After a bit of research I found that […]

Continue reading

AS2005-KB912838-x86-ENU.exe Patch Error


Doing another installation of Team System we got the following error installing the SQL Server:   Title: Unexpected error Occurred Message: The following unexpected error occurred: Button: OK   I have installed this patch many times already and this error was a first for me, we tried a bunch of things to solve it (which […]

Continue reading

Encrypt your connection strings in a flash


In ASP.NET 2.0 you can now use the aspnet_regiis utility to encrypt and decrypt your connection strings.  Here is an example:   My web.config contains the following section   <connectionStrings>  <add name="ORCLR2" connectionString="User Id=hr;Password=xe;Pooling=false;Data Source=ORCL;" providerName="System.Data.OracleClient" /> </connectionStrings>   Open a command prompt and execute the following command:   C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pef "connectionStrings" "c:\_Apps20\demo\web\"   When you […]

Continue reading

Talking about Team Foundation Server Administration Tool


I was saved today.  After configuring users in Team System using three different interfaces, I thought there must be a better way since I could not believe that it could normal to add a user/group to TFS, then SQL Reporting Services, then in Windows SharePoint.   I came across this utility on gotdotnet.com TFS Adminstration Tool […]

Continue reading

Team Foundation Server


After following the instructions carefully contained in TFSInstall-v60208.chm I have been able to install the Release Candidate sucessfully twice now (along with 2 other failed attempts).  One install is attached to a domain and the other is a workgroup install — remember you can’t install TFS on a domain controller anymore.    The install is […]

Continue reading