问题
I have installed TFS for Visual studio 2010 on Windows Server 2012R2. ISS is already configured with IIS 6 compatibility, Static content compression and Windows authentication. But the application tier configuration failed with the following errors
Error [ Application Tier ] TF255120: Compatibility mode for Internet Information Services (IIS) 6.0 is not enabled. Team Foundation Server requires this on this operating system.
Error [ Application Tier ] TF255456: You must configure Internet Information Services (IIS) to use the Static Content component. Team Foundation Server requires the Static Content component in IIS.
Error [ Application Tier ] TF255397: Windows Authentication has not been configured as a role service in Internet Information Services (IIS). Team Foundation Server requires that Windows Authentication is installed as one of the role services in IIS.
Error [ Application Tier ] TF255397: Windows Authentication has not been configured as a role service in Internet Information Services (IIS). Team Foundation Server requires that Windows Authentication is installed as one of the role services in IIS.
Error [ Application Tier ] TF255397: Windows Authentication has not been configured as a role service in Internet Information Services (IIS). Team Foundation Server requires that Windows Authentication is installed as one of the role services in IIS.
I configured the IIS as in the image below
回答1:
Support for IIS8 (Win8 and 2012Svr use) was added in TFS2012. (TFS2012 calls dism with the proper feature list instead of pkgmgr). IIS8 shipped after TFS2010.
It's available for download here
Also consider using cloud TFS. It's free and avoids stuff like this: http://www.visualstudio.com/
If that's not an option and it's critical, I believe it can be hacked around. Contact me offline if that's the case (I wrote the code to make it work with IIS8). But, I still recommend TFS 2012 server :)
来源:https://stackoverflow.com/questions/22040827/application-tier-configuration-failed-for-tfs-2010-on-windows-server-2012-r2