RE: Word 2007 Automation BUG? in Windows 2008 Service C++

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I've tried everything I could think of. I believe the changes are due to
changes in the service model in 2008. Speicfically the lack of a "desktop
environment" in Session 0. I don't know the full details, but basicly
resources Word needs to run just plain aren't there.

I DO consider it a bug that the method reports success, and then fails. But
that's for Microsoft to contemplate.

Until then we're examining non-microsoft solutions.

"Zoharat" wrote:

Hey ,

I have a similar set up as you.
I am using C# and Java though. Java application runs as a service and in
invokes the exe.

The Document Open method does not fail but the document is always NULL.

It works on 2003 and XP as a service.

Have you played around with permissions stuff?


http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.office.developer.automation&tid=17c5430a-d3b4-43d4-82f3-7fc8755b29f2&cat=&lang=en&cr=US&sloc=&p=1
.



Relevant Pages

  • Re: Newbie (Post#1): Help with Array of Objects
    ... I code Java in a TDD environment, ... > sense if you picture yourself in a war against the compiler to make your ... Best possible scenario. ... The code always fails at runtime. ...
    (comp.lang.java.help)
  • heap limits: mmap(2) vs. break(2) on i386
    ... I am trying to figure out why java fails to start with 1024MB of heap on i386 with 4GB of RAM and 4GB of swap. ... 9154 java RET mmap -1 errno 12 Cannot allocate memory ... I made a small program that uses mallocto allocate the same amount of memory, and that works nicely, ktrace reveals why: ...
    (freebsd-stable)
  • heap limits: mmap(2) vs. break(2) on i386
    ... I am trying to figure out why java fails to start with 1024MB of heap on i386 with 4GB of RAM and 4GB of swap. ... 9154 java RET mmap -1 errno 12 Cannot allocate memory ... I made a small program that uses mallocto allocate the same amount of memory, and that works nicely, ktrace reveals why: ...
    (freebsd-current)
  • heap limits: mmap(2) vs. break(2) on i386
    ... I am trying to figure out why java fails to start with 1024MB of heap on i386 with 4GB of RAM and 4GB of swap. ... 9154 java RET mmap -1 errno 12 Cannot allocate memory ... I made a small program that uses mallocto allocate the same amount of memory, and that works nicely, ktrace reveals why: ...
    (freebsd-hackers)
  • Re: Vista - jre1.6.0_05 - applets wont run
    ... and this is immediately after I install the JRE. ... Still it fails. ... I'm wondering if I need to wait for Java 6 Update 10? ... certain changes to become effective it required a reboot. ...
    (comp.lang.java.programmer)