Can't open same msg file more than once at the same time in Outlook 2010

Status
Not open for further replies.

MarkB@USLI

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server 2010
I'm running Outlook 2010. I copy an email to a network folder and it saves correctly as an .msg file. I can open it fine. Close it. Open it again. This is not the common problem listed about opening the file, then closing, then not being able to open again. I get the below error when I try to open it once, then while it's open try to open it a second time; or if one user has it open, if a second user tries to open it, they get the below error as well:

Cannot open file: ... The file may not exist, you may not have permission to open it, or it may be open in another program. Right-click the folder...

I've tried disabling all of the add-ins (no unusual looking add-ins anyway). I also tried starting Outlook in safe mode. None of that works.
If anyone knows how to get past this error, it would be a great help! This is currently a show-stopper for the project that I'm working on. Thanks.
 

Forum Admin

Senior Member
I don't think you can avoid that error - outlook puts a lock on it and another user can't use it until the first is done with it.
 

MarkB@USLI

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server 2010
I was afraid of that.
Do you know of any way to have more than one user look at the email at the same time?
Thanks.
 

MarkB@USLI

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server 2010
No, I don't - well, short of making a copy of the message and opening the copy, which is not practical.
Actually, that is a practical idea. This project is an in-house windows app. If the file is locked by Outlook I could make a copy to a local temp directory and open the copy. Thanks for the idea.
Do happen to know how to check if an .msg file is locked by Outlook? Is there an attribute or property of the file that I can check? Thanks.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
offhand, no, but maybe in error handling - basically, if error then copy, if you know the code that is generated, you can say if error code #, then copy.
 

MarkB@USLI

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server 2010
I wrote a little method to check if the file is locked by attempting to open the System.IO.FileInfo to a FileStream inside a try..catch that captures an IOException. If it opens, I close the FileStream and return a false. If it catches the IOException, I return a true. Works like a charm. Thanks a bunch for your help, Diane!
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Thanks for the update, I'm sure it will help others.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
C Want to Create Shortcut to Open Specific Calendars at the Same Time Using Outlook 2
I Two instances of Outlook open at the same time? Using Outlook 1
P Would like to find a shortcut to close all open Outlook messages at the same time Using Outlook 4
C Unable to open attachment in OWA while same attachment can be open from Outlook Using Outlook 5
L Cannot open PST file for first session each day Using Outlook 6
A How to open a specific link automatically with outlook 2016 Outlook VBA and Custom Forms 5
H Upon opening Outlook, make my popmail inbox open instead of outlook.com inbox Using Outlook 1
sahameed82 SharePoint calendar directly open in Outlook Using Outlook 0
N .pst archive from work will not open/import on Microsoft 365 Exchange Server Administration 0
C Outlook 2016/2019 hangs after being open for an extended period Using Outlook 4
M Where is the setting to *turn off* open calendar in a new window? Using Outlook 3
W Automatically open attachments without automatically printing them Using Outlook 0
Y Open and Save Hyperlink Files in multiple emails Outlook VBA and Custom Forms 9
J How to open OST file in Outlook 2019 & 2016 Using Outlook 1
C Can't Open Outlook 365 Using Outlook 0
D after delete mail, open the next one Outlook VBA and Custom Forms 0
N VBA Script to Open highlighted e-mail and Edit Message Outlook VBA and Custom Forms 5
M outlook won't open! Using Outlook 1
N Open & Save VBAProject.Otm using VBA Code Outlook VBA and Custom Forms 1
E Unable to open Outlook 2010 after adding new email account Using Outlook 4
M other user's mailbox won't open, forms disappeared Using Outlook 42
S SendFromAccount - Problem trying to test existing value in open email Outlook VBA and Custom Forms 2
J Open an outlook email by Subject on MS Access linked table with VBA Outlook VBA and Custom Forms 10
D Add Tetxbox at form open Outlook VBA and Custom Forms 1
U Catching ModuleSwitch events after "open in new window" Outlook VBA and Custom Forms 2
Andrew Quirl Open attachment, manipulate without add-on program? Outlook VBA and Custom Forms 5
S Reminder Dialog Open Button Using Outlook 2
A How to open a specific link automatically with outlook Outlook VBA and Custom Forms 13
S Outlook 2010 Cannot Open Attachments Using Outlook 14
N open the hyperlink in Outlook directly instead of browser Using Outlook 1
S Outlook does not open the .pst file created by the Outlook Using Outlook 5
A open Outlook with multiple windows. Using Outlook 0
K open calendar from address book Outlook VBA and Custom Forms 1
T Double clik behavior on agenda open a new meeting request Using Outlook 1
E Open olNoteItem Attachment Outlook VBA and Custom Forms 6
G Can't open .pst. Message could not access default folder (Outlook 2010 (.pst). Before that was backi Using Outlook 0
I Outlook 2010, 2013 will not open .msg or .eml files Using Outlook.com accounts in Outlook 1
Diane Poremsky Outlook VBA: Work with Open Item or Selected Item New Slipstick.com Articles 0
O Windows 10 x64 Outlook 2013 - URL does not open (anymore) Using Outlook 3
Hudas VBA find and open an email without looping thru each email in the inbox Outlook VBA and Custom Forms 1
Diane Poremsky Rules & Alerts Dialog Won't Open New Slipstick.com Articles 1
Diane Poremsky Outlook 2013: Control Panel Mail Won't Open New Slipstick.com Articles 0
O Cannot open or save calendar items Using Outlook 0
Diane Poremsky Outlook Links Won't Open In Windows 10 New Slipstick.com Articles 1
C scanpst.exe will not open Using Outlook 0
K cant read email or open attachement Using Outlook 0
B ...administrator has limited the number of items you can open simultaneously Outlook VBA and Custom Forms 7
D Calendar view problems with reading pane open Using Outlook 0
Diane Poremsky Open a Webpage When a Task Reminder Fires New Slipstick.com Articles 0
B Open a folder / subfolder of a PST in single click Outlook VBA and Custom Forms 4
Similar threads


















































Top