L
Laks Srini
Hi,
I have written a word automation application in c#, using the 2003
word
object model 11.0. I have tested it on my system and it works fine.
When i copy the EXE and required dll's on to another system, I get a
System.UnauthorizedAccessException.
Considering that all I have written is a windows form, that attempts
to create a word object and open a document, this is pretty unexpected
(atleast to me). This exception occurs on creating the word
application object itself.
But when I add the user to the DCOMCNFG Default Access, then I am able
to create the word object. But on my own system the code works fine
without the settings. Can anyone help me out here!!
Thanks and Regards,
Laks
I have written a word automation application in c#, using the 2003
word
object model 11.0. I have tested it on my system and it works fine.
When i copy the EXE and required dll's on to another system, I get a
System.UnauthorizedAccessException.
Considering that all I have written is a windows form, that attempts
to create a word object and open a document, this is pretty unexpected
(atleast to me). This exception occurs on creating the word
application object itself.
But when I add the user to the DCOMCNFG Default Access, then I am able
to create the word object. But on my own system the code works fine
without the settings. Can anyone help me out here!!
Thanks and Regards,
Laks