Get HTTP 500 error when displaying File Attachment

Oct 24, 2008 at 4:29 AM
My code:


foreach (MercuryAttachment mercuryAttachment in mercury.MercuryIssues[i].MercuryAttachments)
Attachment tfsAttachment = new TFSC.Attachment(mercuryAttachment.FileName.ToString(), "Attachment");


When I go into the File Attachments/Screenshots tab and double click one of the file attachments I get the follow Web page:

The page cannot be displayed

There is a problem with the page you are trying to reach and it cannot be displayed.

Please try the following:


HTTP 500 - Internal server error
Internet Explorer

BUT, when I go back to the File Attachments/Screenshots Tab and manually add an attachment it works!!!!!

What am I doing wrong?  Thanks!

Oct 24, 2008 at 6:37 AM
Edited Oct 25, 2008 at 8:44 AM
Hi MeDrum4You,

Unfortunately we cannot help you with your request as it pertains to aCodePlex project and not the CodePlex site itself. I recommend usingthe discussions with the project you're referring to. You can searchfor the project here, if you don't remember the URL directly.