Posted tagged ‘Visual Studio’

Issues when Visual Studio 2008 SP1 is installed on Team Foundation Server 2008.

August 15, 2008

We are running TFS 2008 and installed the recent service pack for Visual Studio (Visual Studio 2008 SP1) on the same server that TFS is running.  At first everything was fine, actually we went an entire day without any trouble.  However, when we arrived at work the next morning, we found TFS was logging a bunch of errors.

From Team Explorer we were receiving the following error:

  • TF30331: Team Explorer could not connect to Team Foundation server…TF30059: Fatal error while initializing web service.

The event log was filled with the following errors:

  • TF53010: The following error has occurred in a Team Foundation component or extension:
  • TF53013: A crash report is being prepared for Microsoft. The following information is included in that report:
  • The Team Foundation warehouse service was unable to initialize Web Request
    Details Url: http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx

Initially we found this post (Error installing SP1 – TFS Left in Broken State) and wasted time trying to figure out if stopping the web sites would help us like it helped the posters.  Then we tried repairing TFS through add/remove programs.  This was looking promising until about 95% of the way through when we encountered “Error 28002” in a dialog box.  The event log error for this was:

TF213000: A required user account could not be added during installation or repair of Team Foundation Server.  The installation or repair failed with the following exception message: blah blah.

Finally broke down and called Microsoft for my first time ever.  The whole team was down so it had to be done.

This apparently is a recently known issue and they just posted a KB article on the day before.  I sure wish that would have shown up in search.  Anyway the resolution was to install the service pack for Team Foundation Server (Team Foundation Server 2008 SP1).  Amazingly it worked beautifully.  It didn’t need a reboot, didn’t need to restart IIS, nothing it just worked.  Sweet!  We did reboot the server anyway to make sure that two days from now we wouldn’t run into something else.

Microsoft KB Article – TFS 2008/ Not able to connect to TFS 2008 after installing Visual Studio 2008 SP1

Hope this saved you some time,
Tom

Advertisements

What’s This? No Intellisense for WPF’s Xaml View.

March 18, 2008

I swear that the Xaml view had intellisense at one point. What is going on? Well apparently there is a problem where the intellisense stops working after installing an SDK or MSDN. In my case I believe this occurred after installing the .NET 2.0 Framework SDK. Great news though, there is a fix thanks to Brett Kilty of Microsoft.

To fix this you need to set the Default string value to the path of your TextMgrP.dll for the key “HKEY_CLASSES_ROOT\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32”.

Here are the steps I executed to fix this:
1) Opened regedit
2) Searched for ‘{73B7DC00-F498-4ABD-AB79-D07AFD52F395}’
3) Expanded the key and clicked InProcServer32
4) The Default string was empty so I set it to ‘C:\Program Files\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll’
5) Restarted Visual Studio
6) Smiled

btw – I’m running Visual Studio Professional 2008.

Link to Brett’s Post: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2840817&SiteID=1

It’s Official: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2892404&SiteID=1 

Thanks Brett!