Access Denied on "New Microsoft.Office.Interop.Word.Application"
From: Mike (nygard_at_mr.net)
Date: 06/29/05
- Next message: Phil C.: "Shared variable storage/ Encryption Corruption"
- Previous message: jobz: "Authentication ticket work across browser windows?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 29 Jun 2005 06:55:04 -0700
I'm getting the following error in my ASP.Net application:
System.UnauthorizedAccessException: Access is denied.
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request
identity....
The line of code that produces the error is:
objWord = New Microsoft.Office.Interop.Word.Application
It runs fine on my XP laptop, but produces the "Access denied" error on
our Windows 2003 server. The web site has "Enabled Anonymous Access"
and "Integrated windows authentication". I have granted "Full Control"
to the ASP.Net machine account to both the C and D drives on the
server.
IN Web.config: <authentication mode="Windows" />
In machine.config: <processModel...userName="SYSTEM".../>
I've looked at earlier postings on this issue but none of the
suggestions have worked for me. Any assistance would be greatly
appreciated.
-Mike
- Next message: Phil C.: "Shared variable storage/ Encryption Corruption"
- Previous message: jobz: "Authentication ticket work across browser windows?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|