Re: Web Service Access Denied with MS Word

From: Dino Chiesa [Microsoft] (dinoch_at_online.microsoft.com)
Date: 08/03/04

  • Next message: Dino Chiesa [Microsoft]: "Re: apachesoap:element issues"
    Date: Tue, 3 Aug 2004 15:42:38 -0400
    
    

    http://support.microsoft.com/?kbid=257757

    Microsoft does not currently recommend, and does not support, Automation of
    Microsoft Office applications from any unattended, non-interactive client
    application or component (including ASP, DCOM, and NT Services), because
    Office may exhibit unstable behavior and/or deadlock when run in this
    environment.

    -Dino

    "Selden McCabe" <smccabe@integrantInc.com> wrote in message
    news:e1rXOHXeEHA.556@tk2msftngp13.phx.gbl...
    > I have a web service the uses MS Word to do mail merge and printing
    > documents.
    > When I run the service on my development box, it works.
    > When I run in on the server, I get "Access Denied" when it tries to start
    > Word.
    > At first, I was getting a dcom launch failure in the event log, but I
    fixed
    > that with DCOMCNFG settings.
    > But I'm still getting Access Denied.
    > I tried setting the user for Word (in dcomcnfg) as a local acmin account
    on
    > the server.
    > I tried putting aspnet in the admin group.
    > I tried setting the Credentials for the web service before calling the
    > method.
    > None of these has worked.
    >
    > Any ideas, theories, suggestions?
    > Thanks! ---Selden McCabe
    >
    >


  • Next message: Dino Chiesa [Microsoft]: "Re: apachesoap:element issues"

    Relevant Pages

    • Re: How to communicate between CE 6.0 device (as server) and PC (as client).
      ... DCOM is a bad idea, Remoting isa not supported by the CF, not is WS hosting. ... to use the device web server and create a RESTful web service that you call. ... We would like to communicate using interfaces (using DCOM (we know it is ...
      (microsoft.public.windowsce.embedded)
    • calling dcom from web service
      ... I am trying to call DCOM from web service. ... Tried code from within web service, separate class, enveloped it in a ... separate .net dll calling dcom (the same dll worked like a champ ...
      (microsoft.public.dotnet.framework.interop)
    • Problem calling dcom from web service
      ... I am trying to call DCOM from web service. ... Tried code from within web service, separate class, enveloped it in a ... separate .net dll calling dcom (the same dll worked like a champ ...
      (microsoft.public.dotnet.framework.aspnet.webservices)
    • Com, Dcom, com+, web service questions
      ... vb with dll on locally and asp with dll on server? ... Second dcom is same as com but it can call by other machine remotelly? ... third, com+ is added some add-in function to com, such as transaction, resource pooling etc and it can not be call remotely? ... Fourth, web service is component that can be called by any machine with all function with com, dcom, com+? ...
      (microsoft.public.dotnet.framework.remoting)