Re: Access denied...
- From: Kagamoto@xxxxxxxxx
- Date: 31 Oct 2006 03:34:47 -0800
Ok, I've solved.
a)
Run DCOMCNFG.EXE , select Word Application - Properties - select
Security and add ASPNET to the Launch and Access permissions list.
or
b)
add <identity impersonate="true"/> to web.config
Thanks!
Kagamoto@xxxxxxxxx wrote:
Hello everybody!
I'm developing an ASP.NET (v1.1) web application which includes a
reference to the "Microsoft Word 11.0 Object Library".
When I try the following code:
...
...
Microsoft.Office.Interop.Word.Application app = new
Word.ApplicationClass();
...
...
I get an ASP.NET Error "System.UnauthorizedAccessException: Access
denied"
What can be the problem?
Thanks in advance!
Bye
.
- References:
- Access denied...
- From: Kagamoto
- Access denied...
- Prev by Date: Setting default page in deployment
- Next by Date: Re: Button & TextBox Custom Control
- Previous by thread: Re: Access denied...
- Next by thread: Re: Access denied...
- Index(es):