This project is read-only.

Attachments failing with invalid id


On our server attachments are failing with 'Invalid Id' and I cannot trace the problem at all. I'ce had a look in add_attachment.aspx and have found the segment of code giving the error but the ID is passed correctly in the URL and cannot be null or 0.
I'm at a real loss and this is causing loads of problems on our tracker now.
does anyone have any ideas ?
thanks in advance


greight01 wrote Apr 17, 2009 at 4:28 PM

I am having a similar issue. We recently moved our bug tracker app from one server to another. On the previous server, attachments uploaded fine (to the database). On the new server, we get an 'Invalid ID' message when we try to upload attachments. We are using the same database as it never moved.

I assume it is a setting or something simple that just needs set up since it worked on the first server. Does anyone have any ideas?

Also, even when I do not select a file and press upload, I get the Invalid ID message. I would assume I would get the message telling me to select a file but do not. Not sure if that has anything to do with this or not.

dwallom wrote Aug 27, 2009 at 5:06 PM

We started seeing this issue yesterday on our product bug tracker instance.

From this URL:

I applied this:

remove this from add_attachment.aspx.

Fixed the error!



ivalencia wrote May 24, 2010 at 4:05 PM

We also experienced this problem and the solution was the one given above by Don.

The only configuration change in our server was a bunch of patches downloaded from microsoft via windows update.

wrote Feb 14, 2013 at 8:11 PM