Access Denied error

From: Sudha (sudha_s_at_mailcity.com)
Date: 06/27/03

  • Next message: James J. Foster: "Re: Custom Authentication Ticket"
    Date: Fri, 27 Jun 2003 14:43:10 -0700
    
    

    I am attempting to import data from dataset to excel in an
    ASP.NET project. I imported the COM object Microsoft excel
    9.0 and am referencing it in my project. I keep getting
    the following error:

    "System.UnauthorizedAccessException: Access is denied.

    The ASP.NET process is not authorized to access the
    requested resource. For security reasons the default
    ASP.NET process identity is '{machinename}\ASPNET',
    which has limited privileges. Consider granting access
    rights to the resource to the ASP.NET process
    identity."
     
    The imported assembly works fine in a Windows Forms
    environment. Security (it seems) is preventing it
    from working in ASP.NET. Any ideas on what to do?


  • Next message: James J. Foster: "Re: Custom Authentication Ticket"

    Relevant Pages

    • Access Denied
      ... execution of the current web request. ... requested resource. ... For security reasons the default ... the resource to the ASP.NET process identity. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Creating Word Document Issue
      ... user account to access word application ... > The ASP.NET process is not authorized to access the requested resource. ... > security reasons the default ASP.NET process identity is ... > access rights to the resource to the ASP.NET process identity. ...
      (microsoft.public.dotnet.languages.vb)
    • Re: Creating Word Document Issue
      ... user account to access word application ... > The ASP.NET process is not authorized to access the requested resource. ... > security reasons the default ASP.NET process identity is ... > access rights to the resource to the ASP.NET process identity. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Creating Word Document Issue
      ... user account to access word application ... > The ASP.NET process is not authorized to access the requested resource. ... > security reasons the default ASP.NET process identity is ... > access rights to the resource to the ASP.NET process identity. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Creating Word Document Issue
      ... user account to access word application ... > The ASP.NET process is not authorized to access the requested resource. ... > security reasons the default ASP.NET process identity is ... > access rights to the resource to the ASP.NET process identity. ...
      (microsoft.public.dotnet.languages.csharp)