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.
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.
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
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
>
>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks