If you open this mail (saved as file) then 'll will be held until system reset unless you find a handle in processes and release it.
I check that for msg Outlook export file.
File.Copy returns error 317 ERROR_MR_MID_NOT_FOUND on Windows 11 22H2
Thomas
16
Reputation points
We use a 32bit Outlook VSTO, we make a copy of an email using interop and then we use File.Copy() to copy this email to another location. Seemlingly randomly, the message "System.IO.IOException: The message text associated with number 0x%1 cannot be found in the message file for %2." is displayed.
We have several customers reporting the error and it is only reproducible on Windows 11 22H2. We managed to reproduce it on build 10.0.22621.819.
Does anyone have any idea why File.Copy is returning ERROR_MR_MID_NOT_FOUND ?
1 answer
Sort by: Most helpful
-
Oskar Shon 866 Reputation points MVP
2022-11-15T15:47:36.883+00:00