"Access is denied" for Excel Application

Discussion in 'ASP .Net Security' started by Annie, Nov 27, 2003.

  1. Annie

    Annie Guest

    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).
     
    Annie, Nov 27, 2003
    #1
    1. Advertising

  2. Annie

    Teemu Keiski Guest

    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" <> wrote in message
    news:074a01c3b4af$9e3c6320$...
    > 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).
     
    Teemu Keiski, Nov 27, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Curt_C [MVP]
    Replies:
    4
    Views:
    440
    Murat Tunaboylu
    Jan 15, 2004
  2. RobT
    Replies:
    2
    Views:
    336
  3. Alex D.
    Replies:
    6
    Views:
    14,098
    Alex D.
    Aug 5, 2005
  4. Replies:
    2
    Views:
    4,301
    Rad [Visual C# MVP]
    Nov 28, 2006
  5. =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=

    Problem with Excel reports ::::Excel 2003 Migration To Excel 2007

    =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=, Oct 5, 2007, in forum: ASP .Net
    Replies:
    15
    Views:
    1,521
    =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=
    Oct 24, 2007
Loading...

Share This Page