Re: I can't start the Word object

From: ghostnguyen (ghostnguyen_at_yahoo.com)
Date: 04/27/05


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



Relevant Pages

  • Re: I cant start the Word object
    ... Gabriel Lozano-Morán ... > My machine installed Office 2003. ... >> You need to perform the same steps as for the Microsoft Word Application ... Doing so you don't need to give the IIS user accounts ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • multi-user editing Microsoft Word 2003 document
    ... I have nine users who have been using a Microsoft word document to prepare ... work schedules that then go to other people. ... changed information, e.g., updated tables (each user has their own calendar ... Please advise if this information is already in the Microsoft Word help file. ...
    (microsoft.public.word.docmanagement)
  • Document control characters
    ... Sibley Forest Business Network ... Microsoft Word Document ...
    (microsoft.public.word.docmanagement)
  • Re: looking at PIDs on eBay??
    ... If you want this file in Microsoft Word format, e-mail me and I will try to ... > The Microsoft Word document was originally sent to me by ColdFusion after ... Purchased from coldfusion for $43 incl ...
    (alt.coffee)
  • Re: XP HAVE MICROSOFT WORD?
    ... OE Help Site from Tom Koch: http://insideoe.tomsterdam.com ... Windows XP is an "Operating System". ... It does not include Microsoft Word. ... | new user with xp cannot open microsoft word document I ...
    (microsoft.public.windowsxp.newusers)

Loading