TFS 2012:显示嵌入到描述中的图片的问题 [英] TFS 2012: Issues with displaying pictures embedded into description

查看:89
本文介绍了TFS 2012:显示嵌入到描述中的图片的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,¥b $ b我有TFS 2012(从TFS 2010升级)。


使用Visual Studio 2012我创建了工作项并在说明中字段(HTML的类型)我粘贴图片。图片嵌入并显示为文本的一部分,因此体验非常好(类似于Word)。


当我再次打开此工作项时,所有内容都在我的机器上正确显示即可。问题是当另一个用户试图打开它时。
图片丢失。


经过一番调查后,似乎存储在说明字段中的HTML嵌入了使用以下网址从服务器引用的图片(看起来很像很有前途):


http:// xxxx:8080 / tfs / yyyy / WorkItemTracking / v1.0 / AttachFileHandler.ashx?FileNameGUID = e1d94157 -889a-411c-aea6-41fafe782548& FileName = tmp990D.png


但此URL不适用于每个用户。


有些用户会在浏览器中出现以下错误并直接访问上述网址:

TF51305:文件标识号不正确或文件丢失。


其他一些用户得到HTTP错误400"错误请求"(取决于浏览器)。


看来我们在TFS 2012中的改进很好嵌入式图片支持。我只需要让它工作。我需要额外的故障排除指南或解决方案。



最好的问候,


Pawel

解决方案


嗨Pawel,



感谢您的帖子。



您的TFS 2012,RC或RTM的版本是什么? 



在Tfs_CollecitonName数据库下,查询WorkItemFiles表格,确保表格中存在文件guid e1d94157-889a-411c-aea6-41fafe782548,工作项目ID是您创建的工作项目,并在其中插入图片
。   



这个问题发生在随机机器上,发生在随机用户?



我建议你重启TFS服务器:在Server机器上,单击Start并选择Run ...打开对话框,然后输入iisreset.exe并单击OK,等待它完全运行。



如果您对此问题有任何进一步的研究,请在此处分享您的经验。  


Hello,
I have TFS 2012 (upgraded from TFS 2010).

Using Visual Studio 2012 I created work item and inside the description field (type of HTML) I pasted picture. The picture is embedded and displayed as part of text so experience it very nice (similar to Word).

When I open this work item again everything is displayed correctly on my machine. The problem is when another user tries to open it. The picture is missing.

After little investigation it seems that HTML stored in description field embeds picture referenced from the server using following URL (which looks very promising):

http://xxxx:8080/tfs/yyyy/WorkItemTracking/v1.0/AttachFileHandler.ashx?FileNameGUID=e1d94157-889a-411c-aea6-41fafe782548&FileName=tmp990D.png

But this URL does not work for every user.

Some users get following error and accessing above URL directly in browser:
TF51305: Either the file identification number is incorrect, or the file is missing.

some other users get HTTP error 400 "bad request" (depending on the browser).

It seems we have nice improvement in TFS 2012 in area of embedded pictures support. I just need to make it work. I need additional troubleshooting guidelines or solutions.

Best Regards,

Pawel

解决方案

Hi Pawel,

Thanks for your post.

What’s the version of your TFS 2012, RC or RTM? 

Under Tfs_CollecitonName database, query the WorkItemFiles table, ensure the file guid e1d94157-889a-411c-aea6-41fafe782548 existed in the table, and the work item ID is that work item which you created and inserted picture in it.   

This issue happened on the random machine and occurred with the random users?

I suggest you restart the TFS Server: on Server machine, click Start and select Run… to open the dialog box, then input iisreset.exe and click OK, wait it run completely.

If you have any further research of this issue, please share your experience here.  


这篇关于TFS 2012:显示嵌入到描述中的图片的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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