none
Attachment upload failed when uploading a work item attachment

    Question

  • getting exact error as below when uploading a work item attachment

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    Attachment upload failed. Check that you have a network connection and that the Team Foundation Server is available. If the problem persists, contact your Team Foundation Server administrator.

    size of the attachment is in KB's. checked with solutions mentiond below,but didnot work out:

    http://support.microsoft.com/kb/2010121

     


    j_bond
    Tuesday, May 31, 2011 6:51 AM

Answers

All replies

  • Hello j_bond,

    Thanks for your post.

    The KB article you provided above is the environment with TFS2008 and IIS7, when you upload an attachment greater than 28 MB you got that error message. Do you mean you have the exactly same scenario as the KB described?

    If so, could you please set a much larger data?

    If not, what is the size of attachment you upload? If the attachment is very large, could you please consider add a link or path from which you can get the attachments instead of uploading them directly?

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, May 31, 2011 9:27 AM
  • I dont have the exactly same scenario(IIS7) as the KB described.But the error & the rest of the things are  exactly the same.

    I am having TFS 2008 & IIS6 environment.

    The size is of the file is very small(not even in kb's.)


    j_bond
    Wednesday, June 01, 2011 10:51 AM
  • Hello j_bond,

    Thanks for your response. Based on your description, it seems that your scenario is not the same as the KB described, so the solution on the KB article maybe not work for you.

    To further troubleshoot your issue, please use your account do the same operation on another machine to see if the same issue resists. And you also try to use another user account (for example, administrator) on your machine.

    In addition, it is better if you can provide us the event logs on the TFS App-Tier to see if there is something useful.

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, June 02, 2011 2:02 AM
  • Hello j_bond,

    What about your issue now? Have you resolved it?

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, June 06, 2011 2:19 AM
  • I just went through troubleshooting this same error message, and my attachments were also fairly small (under 200k). The solution ended up being modifying the web.config for TFS and restarting the IIS website. The step-by-step is here, in case j_bond wants to give it a try:

    http://social.msdn.microsoft.com/Forums/en/tfsworkitemtracking/thread/243cb6aa-4f78-4f0e-947c-e2016e06d10a

    Monday, June 06, 2011 5:42 AM