在将文件签入TFS时,错误消息“服务器返回内容类型application / x-ashx,这是不受支持的”。 [英] Error message "The server returned content type application/x-ashx, which is not supported” while checking in files to TFS.

查看:125
本文介绍了在将文件签入TFS时,错误消息“服务器返回内容类型application / x-ashx,这是不受支持的”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试将文件签入TFS服务器时,我都会收到一条错误消息"服务器返回内容类型application / x-ashx,这是不受支持的"。通常,当我再次尝试登记时,它会成功。但有时候,这个错误会导致
发生,我根本无法签入文件。当变更集存在冲突时,这也会导致问题。不知何故,Visual Studio会收到它无法识别的.ashx响应,而应该收到冲突发生
的通知,以便用户可以解决它们。我使用Visual Studio 2013和TFS 2015.谁能让我知道什么可以解决这个问题?

Whenever I try to check in files to TFS server I get an error message saying "The server returned content type application/x-ashx, which is not supported". Usually, when I try to check in again, it succeeds. But sometimes, this error keeps occurring and I am not able to check-in the files at all. This also causes issues when there are conflicts on change set. Somehow Visual Studio receives an .ashx response it doesn't recognize while instead it should receive a notification that conflicts have occurred so that the user can resolve them. I use Visual Studio 2013 and TFS 2015. Can anyone let me know what can resolve this?

推荐答案

你好,

请你告诉我这个问题只发生在你身上,如果你团队中还有另一个遇到同样的错误吗?

我建议您可以尝试手动清理TFS的客户端缓存(仅删除文件夹的内容,而不是缓存文件夹本身)。

客户端缓存文件夹路径为:C:\Users\username \ AppData \ Local \ Microsrosoft \ Team Foundation \5.0\Cache 服务器缓存。

这是一个帖子,你可以看看作为参考。

https://social.msdn.microsoft.com/Forums/vstudio/en-US/94b71a6f-806e-4e59-89bd-61dc5d46fbf3/the-server -reurned-content-type-applicationxashx-which-not-supported

https://social.msdn.microsoft.com/Forums/vstudio/en-US/94b71a6f-806e-4e59-89bd-61dc5d46fbf3/the-server-returned-content-type-applicationxashx-which-is-not-supported


这篇关于在将文件签入TFS时,错误消息“服务器返回内容类型application / x-ashx,这是不受支持的”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆