Forum Discussion
ALind51
Jan 17, 2024Copper Contributor
On prem Azure DevOps 2022.1 Patch 1 - unable to download attachments for some work items
Hello- Running on prem Azure DevOps 2022.1 Patch 1. My users have found some attachments for work items that we're unable to download. We're getting this error: { "$id": "1", "innerExcept...
brianstrick9
Mar 19, 2024Copper Contributor
We got a fix back from MS. Our contact, Luis, explained that he was able to reproduce the issue by specifically updating to Azure DevOps Server version 2022.1. This update unset a feature flag and he sent us a SQL Script to reset the flag. His instruction was to run the script below on both the configuration and collection databases. After I did so, I was able to download or preview all of the WI attachments in a test set that I was unable to before. Here is the script that I ran in SSMS ...
EXEC prc_SetRegistryValue 1, '#\FeatureAvailability\Entries\WorkItemTracking.Server.AllowAccessToDeletedAttachments\AvailabilityState\', 1
Hopefully you understand the risk of running scripts from strangers like me and take precautions before doing anything I have presented here.
Thanks everyone for raising attention on this issue. I wish you luck on your future endeavors.
Brian
EXEC prc_SetRegistryValue 1, '#\FeatureAvailability\Entries\WorkItemTracking.Server.AllowAccessToDeletedAttachments\AvailabilityState\', 1
Hopefully you understand the risk of running scripts from strangers like me and take precautions before doing anything I have presented here.
Thanks everyone for raising attention on this issue. I wish you luck on your future endeavors.
Brian
- CD_AlexanderwMar 19, 2024Copper Contributor
did you get any info if this will be fixed with an update for all of us?
- Luis1177Mar 23, 2024Copper Contributor
CD_Alexanderw Eventually they will release a fix in upcoming patches since is affecting several users, maybe if you open a ticket you will get more prompt answer for this!