Re: I can't start the Word object
From: ghostnguyen (ghostnguyen_at_yahoo.com)
Date: 04/27/05
- Next message: Gabriel Lozano-Morán: "Re: I can't start the Word object"
- Previous message: Divya: "RE: Copy File from 1 domain to another"
- In reply to: LOZANO-MORÁN, Gabriel: "Re: I can't start the Word object"
- Next in thread: Gabriel Lozano-Morán: "Re: I can't start the Word object"
- Reply: Gabriel Lozano-Morán: "Re: I can't start the Word object"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 27 Apr 2005 09:30:55 +0700
Hi
In DCOM Config, I see only the "Microsoft Word Document". There is no
"Microsoft Word Application".
My machine installed Office 2003.
>> But I would consider putting these things in a seperate .NET assembly
As I understand your idea, I think if I create an assembly A that operates
with Office and my WebApp calls A. A still runs under "NET SERVICE" account
and gives the same problem.
Ghost Nguyen
"LOZANO-MORÁN, Gabriel" <gabriel.lozano@no-spam.com> wrote in message
news:unAJD2WSFHA.2348@TK2MSFTNGP09.phx.gbl...
>> Microsoft.Office.Interop.Word.Document doc = new DocumentClass(); //Fail
>>
>> Exception Details: System.Runtime.InteropServices.COMException: Server
>> execution failed.
>
> You need to perform the same steps as for the Microsoft Word Application
> but
> now for the Microsoft Word Document
>
>> In addition, is it a good idea if I apply Word automation in Webpage?
>>
>
> That depends on the project you are working on and on what you are trying
> to
> establish. But I would consider putting these things in a seperate .NET
> assembly. Doing so you don't need to give the IIS user accounts
> permissions
> for Word application and you make your application more scalable.
>
> Gabriel Lozano-Morán
>
>
- Next message: Gabriel Lozano-Morán: "Re: I can't start the Word object"
- Previous message: Divya: "RE: Copy File from 1 domain to another"
- In reply to: LOZANO-MORÁN, Gabriel: "Re: I can't start the Word object"
- Next in thread: Gabriel Lozano-Morán: "Re: I can't start the Word object"
- Reply: Gabriel Lozano-Morán: "Re: I can't start the Word object"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|