A
ankhansen
Hi all
I am having a problem with my office automation.
I have a script that runs fine, but when i try to schedule it, and it
doesn't execute by manually be executed by a logged in user it fails
with the above.
What i am doing is creating a Word Application object from a c#
application.
From what i have found on the net so far, it relates to access denied
for the user running the schedule. The most common solution seems to
be to edit the settings in DCOMCNFG.
My problem is that in my installation I don't have any Microsoft Word
Document in DCOMCNFG. So I can't figure out how to change the
settings.
The script is executed on a Windows 2008 R2, with Office 2003
Professional installed.
How do i get the security settings changed when i can't see the com
objects in the DCOMCNFG?
I have tried winword.exe /regserver, and it doesn't seem to make a
difference.
I hope somebody can help me get past this.
Bet regards
/Anders
I am having a problem with my office automation.
I have a script that runs fine, but when i try to schedule it, and it
doesn't execute by manually be executed by a logged in user it fails
with the above.
What i am doing is creating a Word Application object from a c#
application.
From what i have found on the net so far, it relates to access denied
for the user running the schedule. The most common solution seems to
be to edit the settings in DCOMCNFG.
My problem is that in my installation I don't have any Microsoft Word
Document in DCOMCNFG. So I can't figure out how to change the
settings.
The script is executed on a Windows 2008 R2, with Office 2003
Professional installed.
How do i get the security settings changed when i can't see the com
objects in the DCOMCNFG?
I have tried winword.exe /regserver, and it doesn't seem to make a
difference.
I hope somebody can help me get past this.
Bet regards
/Anders