![]() |
Rejected Safe Mode action : Microsoft Office Excel.
Hi,
I am using Excel 2003 SP2 automation from within a multithreaded windows service written in c#. My event log is flooded with the following message "Rejected Safe Mode action : Microsoft Office Excel." Any help will be appreciated. Thanks. |
Rejected Safe Mode action : Microsoft Office Excel.
Hello Moinak, Microsoft discourages using Office programs on multithreaded server environments. I suspect this is part of the problem. As to the meaning of the error log message, I can only guess. Perhaps you should use XML on the server side instead. Sincerely, Leith Ross -- Leith Ross ------------------------------------------------------------------------ Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465 View this thread: http://www.excelforum.com/showthread...hreadid=483832 |
Rejected Safe Mode action : Microsoft Office Excel.
Hi Leith,
Thanks for your reply. Appreciate your quick response. Looks like I have solved this problem, here is what I did: 1. Created a local Windows account with Administrative previleges. 2. Logged in to the Windows 2003 box using this login ID and created an office profile by running Excel first. This ensures that I don't get the Install message thrown by the MSI first. 3. Logged out and re-logged in with whatever account I had logged in earlier. 4. Instead of LocalSystem account ran the service using the above account. This seems to have done the trick :-) "Leith Ross" wrote: Hello Moinak, Microsoft discourages using Office programs on multithreaded server environments. I suspect this is part of the problem. As to the meaning of the error log message, I can only guess. Perhaps you should use XML on the server side instead. Sincerely, Leith Ross -- Leith Ross ------------------------------------------------------------------------ Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465 View this thread: http://www.excelforum.com/showthread...hreadid=483832 |
All times are GMT +1. The time now is 05:47 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com