Calling Interop.Excel from a web service : Access Denied

Discussion in 'ASP .Net Web Services' started by Jaime Stuardo, Dec 2, 2005.

  1. Hello...

    I'm trying to load an excel file from a webService. When I tried to
    instantiate a WorkBook class, I get an access denied method.

    When I do this in C++ or VB, for example, I don't get the error, but I do
    with .NET. What permissions do I have to add? I followed suggestions from a
    lot of Internet sites but it isn't still working.

    Thanks
    Jaime
     
    Jaime Stuardo, Dec 2, 2005
    #1
    1. Advertising

  2. Jaime Stuardo

    DC Guest

    the web service is probably running as the ASPNET user.

    But,
    there is a KB article which advises against automating Excel from server
    apps (like web services apps).
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757

    -Dino


    "Jaime Stuardo" <> wrote in message
    news:...
    > Hello...
    >
    > I'm trying to load an excel file from a webService. When I tried to
    > instantiate a WorkBook class, I get an access denied method.
    >
    > When I do this in C++ or VB, for example, I don't get the error, but I do
    > with .NET. What permissions do I have to add? I followed suggestions from
    > a
    > lot of Internet sites but it isn't still working.
    >
    > Thanks
    > Jaime
     
    DC, Dec 13, 2005
    #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. Patrick
    Replies:
    2
    Views:
    683
    Steven Cheng[MSFT]
    Oct 1, 2004
  2. Peter Reid

    Interop problems "Access is denied"

    Peter Reid, Oct 17, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    3,056
    Paul Glavich [MVP - ASP.NET]
    Oct 17, 2004
  3. =?Utf-8?B?T3N3YWxkbw==?=

    Error Access is denied: 'Interop.ADOR'.

    =?Utf-8?B?T3N3YWxkbw==?=, Jun 21, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    500
    =?Utf-8?B?T3N3YWxkbw==?=
    Jun 21, 2005
  4. Alex D.
    Replies:
    6
    Views:
    14,252
    Alex D.
    Aug 5, 2005
  5. Big Man
    Replies:
    0
    Views:
    318
    Big Man
    Oct 24, 2003
Loading...

Share This Page