When I use the word automation object (registered word10 andusing the namespace in the .cs file)
I get 'access denied' error when trying to run the thing on mylocal pc. I am using the ASPNET user.
I have heard this is due to the ASPNET user never having openedword before and it is subsequently prompted by word for ausername and password dialog, which obviously ASPNET canthandle. I can actually hear the system beep as the dialog iscalled in the background when testing the ASPX page on mylocalhost but after this i guess it just times out, returningthe access denied error.
I have used dcomcnfg.exe and ASPNET has full access to the wordapplication.
What is the solution?
I have tried changing the user context in web.config but to noavail ie still the access denied message.
Somebody must have come across a solution to this.
--------------------------------
From: matthew rutherford
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>8sgLMDF1YU2eZIYz9Avm6A==</Id>