Re: "Access is denied" for Excel Application

From: Teemu Keiski (joteke_at_aspalliance.com)
Date: 11/27/03

  • Next message: Pete: "Re: achieve password encryption"
    Date: Thu, 27 Nov 2003 11:46:53 +0200
    
    

    So DCOM settings for Excel are set up? Where did you set the ASPNET user
    (launching Excel, accessing Excel)?

    -- 
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist
    "Annie" <anniech2000@hotmail.com> wrote in message
    news:074a01c3b4af$9e3c6320$a401280a@phx.gbl...
    > I have created an Excel object to run an excel report and
    > download to client side.  I use the Excel 9.0 COM object
    > (Excel 2000) in my project.  However, when deployed to
    > client site (which is using Excel 2003), the workstations
    > show "Access is denied" when running the excel report.
    >
    > I've already added rights to the ASPNET user in the
    > server's component services.  What else do I miss?  Or is
    > there any version problem on excel?  I suppose it should
    > be okay running older version code (Excel 2000) by newer
    > application (Excel 2003).
    

  • Next message: Pete: "Re: achieve password encryption"

    Relevant Pages

    • Found solution
      ... The last permission I needed to set was Local Activation for the ASPNET user. ... Then I could run Excel from my app. ... I don't think the Excel functionality for the app. ... Are the local permissions what I need? ...
      (microsoft.public.dotnet.framework.interop)
    • In asp.net ,"excel.application"cant create ,it displayed "Rfuse Access"
      ... In asp.net with vb.net,I can't create a excel object,such as ... It displayed that "System.UnauthorizedAccessException Refuse Access". ... import "Microsoft Excel9.0 Object Library", aspnet user have all data ...
      (microsoft.public.dotnet.framework.aspnet)