Wednesday, March 07, 2007
VS2005 SP1 Vista Update Now Available
You can download the update from Microsoft Downloads.
You've to apply VS2005 SP1 before applying this update on Vista.
Wednesday, February 14, 2007
TFS SP1 Installation Problems
For a while now people are struggling with some TFS SP1 installation issues. The majority of issues come down to a tool called TFSQuiesce.exe, that is responsible to "shutdown" TFS while performing the SP1 upgrade and restart it when it is done. Most issues with it are that for some reason, it does not always shutdown all services and it does not always restart them properly - leaving your server in an inoperable state. The good news is that it is almost always easy to recover from.
Customer Scenarios
The following scenarios describe the vast majority of issues seen around SP1.
Issue | Customer Impact | Workarounds/Next Steps | |
1 | SP1 fails to install on a SQL Cluster | Blocked from installing SP1 or any other DT patches. | None. Look for a patch/work around coming in the next couple of weeks. |
2 | SP1 install fails and:
| AT won’t start an errors reported in Event Log. Http 403 forbidden error with browsers TF2101 message from TE (can't connect) | To get running (without SP1):
To install SP1:
|
3 | SP1 install succeeds but leaves IIS in state where remote connections are declined | Http 403 forbidden error with browsers TF2101 message from TE (can't connect) | IIS must be manually configured to accept remote connections - See section 6.9 of the SP1 Known issues doc below. |
4 | Users can’t uninstall SP1 Beta after installing Quiescing | The Quiescing logic breaks the Beta from uninstalling but you can’t uninstall Quiescing from Add/Remove programs because it doesn’t appear there if SP1 Beta is installed. (A chicken and egg issue.) The SP1 RTM will not allow you to install if the SP1 Beta is installed. |
|
5 | SP1 fails to install | These error are usually due to changes in configuration after RTM installation that our setup does not handle well. In some cases the customers are left with an unusable server. | Requires a review of the install logs for more details on the specific error and then ultimately identify the configuration change that broke the installer. |
Here is a link to an SP1 Known Issues page. Most of these "issues" aren't new problems with SP1 but rather just common issues that people run into with TFS and what you can do about them.
Monday, November 20, 2006
TFS Capacity Planning
We've tried to be very conservative - generally rounding down the actual
results we achieved by 10-20%. Of course every team varies and if you have a
team of people who run queries every 30 seconds all day, you'll need more server
than we're recommending here. These numbers were based on the load we've
experienced using TFS internally for the past year or so. Again, you can read
more detail in previous blog posts but this turns out to be about 0.1 peak
requests per second per user.
Thursday, November 09, 2006
TFS - WSS 3.0 Integration Fails!!
Doing so will result in the following:
- The Team Explorer's 'Documents' node will have a red X on it and will not expand.
- Team Project Creation Wizard will fail with the standard templates, only templates with all WSS functionality removed will work.
- You will not be able to browse to the site by right-clicking on the project and selecting 'Open Project Portal'.
This means that the WSS integration to TFS will fail on all client machines.
And this is not resolved in Service Pack 1 as well, I think we'll have to wait for future releases of TFS
Wednesday, November 08, 2006
TFS Installation Common Errors
Still, a lot of people face problems while doing so. Below is a list of common errors that may appear and their most common resolutions.
Error 26403 (Failed to get group 'WinNT://Localhost/STS_WPG' or failed to add user: TFSSERVICE to group STS_WPG)
There can be several causes for this error. Check the following:
- Under Administrative Tools in the Control Panel, open Computer Management and check Groups. Make sure the STS_WG group exists. If not, this will need to be created and needs to include the TFSSetup, TFSService and TFSReports users, or whichever users you are using for setup.
- Make sure that you do not have the SQL Server Desktop Engine (MSDE) or Windows Sharepoint Services for MSDE installed. Check Add/Remove Programs in the Control Panel. If it exists, remove it. Remove Windows Sharepoint Services 2.0 from the machine. Make sure you are installing Windows Sharepoint Services with SP2 that can be downloaded from the Microsoft web site. When doing the installation WSS 2.0, make sure you choose a server farm installation when it asks for the installation type.
Error 28804 (Setup cannot connect to the SQL Server 2005 Reporting Services report server)
This problem can happen if the machine you are installing to has multiple IP addresses, and the address that hosts the report server is not the same as the one to which DNS resolves the machine name. TFS setup will attempt to connect to the Report Server through the IP Address but if the address resolves to a secondary web site and not the report server, the request will fail with HTTP Status 404: Not Found.
To resolve this problem, chang the IP address of the report server in IIS Manager (START, RUN, INETMGR) to match the machine name IP Address and retry the installation.
Error 28805 (Setup cannot finish the request to the SQL Server 2005 Reporting Service report server. Verify that the report server is installed and running and that you have sufficient privileges to access it)
Check the following to resolve this problem:
- In the SQL Reporting Services Configuration Tool, click on the Database Setup tab and make sure you are using Windows Credentials.
- Delete encryption keys in reporting service configuration if they exist.
Error 28936 (the Team Foundation Server ServerStatus Web service failed with 404 HTTP NotFound status)
This error typically happens because you logged onto the machine with a domain account and then tried to install TFS with two local accounts. When doing TFS Setup you need to log into the machine on the local account that will be doing the install such as the local TFSSetup account (the account you will use for TFS Setup) or the admin account.
If the above fails, again check that Windows Sharepoint Services for MSDE is not installed.
Error 28925 (Calling the Team Foundation Server ServerStatus Web service failed)
This error has to do with DNS and connectivity. It is typically caused by the server name not resolving via DNS correctly. You can add the server name to the DNS server so that it resolves correctly. It can also be caused by the DNS server IPAddress not matching the other machines on the network. To check, go to START, RUN and type CMD. In the command prompt window type IPCONFIG /ALL and hit Enter. Then check the IP Address of the DNS server. Match this against the DNS Server of another machine on the network.
You can also check IIS to make sure nothing else is using port 8080. If you have something like Apache using port 8080, you will need to have it use a different port.
Error 20082 (Error Unknown)
There are a couple of known causes for this error. First and foremost, remember that when installing TFS you need to be logged in as a user that is under the same context as the TFSService and TFSReports accounts. To clarify - if the accounts that you will use for TFSService and TFSReports are domain accounts, then the account you use to setup TFS must also be a domain account and that's the account you need to be logged into. If the accounts you are using for TFSService and TFSReports are local machine accounts, then the account you use to setup TFS must be a local machine account and you must be logged in as that user. In either case, the account you use to setup TFS must have admin rights to the machine.Another possible cause for this error is that SQL Reporting Services is not configured correctly. Open the Reporting Services Configuration tool from Start, Programs (or All Programs), Microsoft SQL Server 2005, Configuration Tools. If you have red X's on Server Status, Report Server Virtual Directory, Report Manager Virtual Directory, Windows Service Identity, Web Service Identity, Database Setup or Initialization, you will need to resolve these before you can install. You can also start up the IIS configuration tool by going to START, RUN and type INETMGR. Expand the local computer. You should see Application Pools. Look under the Default Application Pool. Make sure ReportServer is listed in the Application Pool. Also, right click Report Server, left click properties and go to the Identity tab. Make sure this is set to run under the local system account.
Error 29112 (Report server service not configured properly)
This error can have multiple causes. Check the following:
- Reporting Services isn't configured properly, like the error says. Open the Reporting Services Configuration tool (Start, Programs, Microsoft SQL Server 2005, Configuration Tools). If you don't have green checks all the way down to and including Initialization (with the exception of Encryption Keys) then this is most likely the problem. Check the following:
Server Status - If not Running, click the START button in the middle of the page
Report Server Virtual Directory - Name should read Report Server; Website should read Default Web Site
Report Manager Virtual Directory - Name should read Reports; Website should read Default Web Site
Windows Service Identity - Service Name should read Report Server; Service Account should read LocalSystem; Built In Account should be selected with Local System in the drop down boxWeb Service Identity - ASP .NET Service Account should read NT Authority\Network Service;
Report Server should read ReportServer; Report Manager should read ReportServer
Database Setup - Server Name should be the name of the machine; Database Name should read ReportServer; Credentials Type should read Service Credentials
Initialization - The machine name should be listed with the SQL Server, the ID and the Initialized check box checked. If not checked, select the instance and click the Initialize button - Make sure that the Default Application Pool in IIS Manager is set to run under the Network Service Account (Start, Run, type INETMGR, click OK. Right click Default App Pool, Properties, Identity tab)
Error 32000
This is one of those all-inclusive errors that looks really intimidating when you see it because the error itself contains a really big freaking number. 32000 comes in many flavors. It's the very end of the error that you want to look at right after the words 'non 0 value: or 'non-zero value'.
- non zero value: -2130246810 -
In INETMGR, right click the Default web site and left click on Properties. On the Directory Security tab, click Edit and make sure that Integrated Windows Authentication is being used.
In INETMGR, right click the Default web site and left click on Properties. Go to the Web Site tab. Make sure the IP Address field under Web Site Identificaiton is set to 'All Unassigned'. - non zero value:-2130242250 or -1 -
There isn't much info on this error, just that it is normally caused by a bum installation of Windows Sharepoint Services 2.0. Try removing it from ARP (Add/Remove Programs) and reinstall. - non zero value: -4 or -5
This one is typically a problem with SQL Reporting Services. Check the Reporting Services Configuration tool to make sure that you have green check marks for all items.
Open Internet Explorer and in the Address Bar, type http://machinename/reports to bring up the Reporting Services reports. If you bring up a 'Page cannot be displayed' or 401 or 404 error then Reporting Services is not correctly configured.