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
Dino Chiesa [Microsoft] - 03 Aug 2004 20:42 GMT
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
> I have a web service the uses MS Word to do mail merge and printing
> documents.
[quoted text clipped - 13 lines]
> Any ideas, theories, suggestions?
> Thanks! ---Selden McCabe