Access Denied on "New Microsoft.Office.Interop.Word.Application"

From: Mike (nygard_at_mr.net)
Date: 06/29/05


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



Relevant Pages

  • Re: Web Service Problem
    ... The 404 error indicates that the requested resource ... > I have written a Web Service which is called from ASPX file. ... On the local machine I am using the ... > Now I want to use the same service on the Remote Server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Error while starting messenger sevice
    ... The server is currently out of the requested resource. ... Explanation: The server could not access enough of a resource, ... memory, to complete this task. ...
    (microsoft.public.win2000.networking)
  • Re: 0x800CCC3E
    ... ‘The requested resource was not found. ... The server ... > I’ve set up two hotmail accounts in my Outlook without any errors. ... What version of Outlook? ...
    (microsoft.public.outlook)
  • Re: SmtpMail
    ... What folders exactly are you refering to? ... > Curt Christianson ... >> ASP.NET is not authorized to access the requested resource. ... >> granting access rights to the resource to the ASP.NET request identity. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Fragen zu Ole =?ISO-8859-1?Q?R=F8mers_Arbeit_in_Paris?=
    ... An appropriate representation of the requested resource / could not be found on this server." ... Ach so, internet explorer Benutzer. ...
    (de.sci.astronomie)