首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

vc 6 写的com,用本地C#写的程序可以顺利调用,但是通过webservice就不能调用,请问这是什么原因

2012-02-16 
vc 6 写的com,用本地C#写的程序可以顺利调用,但是通过webservice就不能调用,请教这是什么原因vc6写的com,

vc 6 写的com,用本地C#写的程序可以顺利调用,但是通过webservice就不能调用,请教这是什么原因
vc   6   写的com,用本地C#写的程序可以顺利调用,但是通过webservice就不能调用,提示System.Web.Services.Protocols.SoapException:   Server   was   unable   to   process   request.   --->   System.InvalidCastException:   Unable   to   cast   COM   object   of   type   'DOGMANAGERLib.DogManageClass '   to   interface   type   'DOGMANAGERLib.IDogManage '.   This   operation   failed   because   the   QueryInterface   call   on   the   COM   component   for   the   interface   with   IID   '{EE1DA689-6D90-4ECC-A988-E774D0D946AF} '   failed   due   to   the   following   error:   No   such   interface   supported   (Exception   from   HRESULT:   0x80004002   (E_NOINTERFACE)).
why???


[解决办法]
接口注册方面的问题,可能是。
看看注册表吧。
[解决办法]
看看DCOM的设置
[解决办法]
接口类型要为Dual,单线程调用
[解决办法]
GZ
[解决办法]
重点在这句,
This operation failed because the QueryInterface call on the COM component for the interface with IID '{EE1DA689-6D90-4ECC-A988-E774D0D946AF}
查这个,
IID '{EE1DA689-6D90-4ECC-A988-E774D0D946AF}

热点排行