[英]TFS2017 On-Prem - Build Web page is blank & images not showing
There are a few cosmetic issues with a TFS server I've setup. 我设置的TFS服务器存在一些外观问题。
The Builds Page is blank and the images aren't showing: 生成页面为空白,并且图像未显示:
The entire strip where the Build Definitions are displayed should look like this: 显示“构建定义”的整个条带应如下所示:
A less obvious problem is the images are not showing. 一个不太明显的问题是图像未显示。
Does anyone know whats causing this? 有谁知道是什么原因造成的? or how to troubleshoot it?
或如何解决?
Note: All the other pages show up fine, Releases, Packages, Library & Task Groups, its only Builds that's missing. 注意:所有其他页面都可以正常显示,发行版,软件包,库和任务组,这是唯一缺少的内部版本。
I found this MSDN thread for the missing images: 我为缺少的图像找到了这个MSDN线程 :
1) Open IIS Manager (inetmgr)
1)打开IIS管理器(inetmgr)
2) Navigate to Sites > Team Foundation Server
2)导航到站点> Team Foundation Server
3) Double click on the Authentication icon
3)双击身份验证图标
4) Right Click on Anonymous Authentication and select "Edit..."
4)右键单击“匿名身份验证”,然后选择“编辑...”
5) Anonymous user identity is normally set to IUSR.
5)匿名用户身份通常设置为IUSR。 Change it to "Application pool identity".
将其更改为“应用程序池标识”。
So I did that: 所以我做到了:
And now the Build Definitions showing, but the images are still not showing. 现在显示了“构建定义”,但是图像仍然没有显示。 Its so weird how running a fix for images (symptom) fixed the root cause, but the symptom is still not fixed .
运行图像修复程序(症状)解决了根本原因很奇怪,但是症状仍然没有解决 。
Edit: 编辑:
After a IISRESET the images are now showing properly. IISRESET之后,图像现在可以正确显示。 Also note that a Build Agent I had setup and registered to a AgentPool was not showing either until I applied this fix.
还要注意,在我应用此修复程序之前,我已设置并注册到AgentPool的Build Agent均未显示。
ps: ps:
The other thing I didn't try is setting the SPN for the service account: 我没有尝试的另一件事是为服务帐户设置SPN:
https://developercommunity.visualstudio.com/content/problem/61335/cannot-view-images-in-tfs-web-portal.html https://developercommunity.visualstudio.com/content/problem/61335/cannot-view-images-in-tfs-web-portal.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.