+ Reply to Thread
Results 1 to 3 of 3

Rejected Safe Mode action : Microsoft Office Excel.

  1. #1
    Moinak Bhattacharya
    Guest

    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.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    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

  3. #3
    Moinak Bhattacharya
    Guest

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


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1