S
Selden McCabe
I have a web service that uses MS Word to do mail merge and printing. It
works fine when running on my development machine.
But when I deploy it to the server, it fails with "Access Denied" when it
tries to launch Word.
I've used DCOMCNFG to set the user for "MS Word Document" to a local account
which is admin on that box, but that didn't work. I've also tried making
ASPNET a member of admins on the box. Still didn't work.
I've also tried using either a local admin account and also my domain
account as the user the web service runds under.
I've also tried setting the Credentials of the web service to
System.Net.CredentialCache.DefaultCredentials before calling the method that
uses Word.
None of these worked.
Before I set the DCOMCNFG settings, I was getting a DCOM launch failure in
the event log on the server, but that's gone now, and there are no events in
the event log when this failure happens.
Any ides, theories, suggestions?
Thanks, ---Selden McCabe
works fine when running on my development machine.
But when I deploy it to the server, it fails with "Access Denied" when it
tries to launch Word.
I've used DCOMCNFG to set the user for "MS Word Document" to a local account
which is admin on that box, but that didn't work. I've also tried making
ASPNET a member of admins on the box. Still didn't work.
I've also tried using either a local admin account and also my domain
account as the user the web service runds under.
I've also tried setting the Credentials of the web service to
System.Net.CredentialCache.DefaultCredentials before calling the method that
uses Word.
None of these worked.
Before I set the DCOMCNFG settings, I was getting a DCOM launch failure in
the event log on the server, but that's gone now, and there are no events in
the event log when this failure happens.
Any ides, theories, suggestions?
Thanks, ---Selden McCabe