QueryInterface for interface Excel._Application failed / QueryInterface for interface Word._Applicat

Discussion in 'ASP .Net' started by Wildepiet, Jun 14, 2004.

  1. Wildepiet

    Wildepiet Guest

    It turns out this is a permissions problem.

    Useing the registry monitor from www.sysinternal.com, and
    regedt32.exe, I was able to pick up on which registry entries access
    was denied, by giving read access to everyone ( although aspnet will
    probably be better) on those entries (especially the ones from
    HKCR\Typelib and HKCR\CLSID), everything works fine.

    or you can have a look at
    http://www.eggheadcafe.com/articles/20021012.asp
    and use impersonation instead.

    (First get the code to work in a winforms app, then you'll know that
    all that's left to do is to give the correct access)

    Remember to ensure that you're dcomcnfg permissions are also correct.
    Wildepiet, Jun 14, 2004
    #1
    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. Von Shean
    Replies:
    3
    Views:
    910
    Von Shean
    Jul 17, 2003
  2. KC
    Replies:
    1
    Views:
    790
    Steve C. Orr [MVP, MCSD]
    Dec 5, 2003
  3. Michael Connerton
    Replies:
    1
    Views:
    3,116
    Steve C. Orr [MVP, MCSD]
    Feb 9, 2004
  4. Replies:
    1
    Views:
    1,477
  5. Stan
    Replies:
    2
    Views:
    142
Loading...

Share This Page