Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > QueryInterface for interface Excel._Application failed / QueryInterface for interface Word._Application failed SOLUTION

Reply
Thread Tools

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

 
 
Wildepiet
Guest
Posts: n/a
 
      06-14-2004
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
QueryInterface for interface OssDsDCOM.IProducts failed Vasil Buraliev ASP .Net 0 03-15-2006 04:22 PM
QueryInterface for interface comFileFuncs._clsFileFuncs failed in ASP.NET. adiel_g@hotmail.com ASP .Net 1 02-08-2005 04:00 PM
QueryInterface for interface Excel._Application failed Michael Connerton ASP .Net 1 02-09-2004 08:40 PM
QueryInterface for interface Excel._Application failed KC ASP .Net 1 12-05-2003 10:35 PM
(Important)QueryInterface for interface Interop.SQLXMLBULKLOADLib.ISQLXMLBulkLoad failed Von Shean ASP .Net 3 07-17-2003 10:57 AM



Advertisments