Rejected Safe Mode action : Microsoft Office Excel.

G

Guest

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.
 
L

Leith Ross

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
 
G

Guest

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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top