web服务与com [英] web service with com

查看:178
本文介绍了web服务与com的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的web服务(c#)使用com对象(* .dll写在Delphi中),在我的localhost
(win xp 32bit iis 5.1)它的工作罚款,服务器(win 2003 32位),最近thay移动到win服务器2008 64位(iis 7.0),web服务工作正常,但现在我得到以下错误:



由于以下错误,检索具有CLSID {F9CFBBAD-F699-4957-9E6F-79083B7B57E6}组件的COM类工厂失败:80040154:at Service.logStatus(String firm,String sUser,String sPassword):App_Code p>

我试过以下:
1.regsvr32(管理员)
2.put的dll在\WINDOWS\system32和allso在\Windows \SysWOW64
3.在组件服务中查看---> dcom comfig(couldnt find the dll by name or CLSID)
4.设置我的web服务在x86中构建



我遇到这个问题3天了,请帮助!!!!!!!



感谢Rotem

解决方案

尝试在IIS中启用32位模式:




i am using in my web service (c#) a com object (*.dll Written in Delphi),on my localhost (win xp 32bit iis 5.1) its working fine,allso its working fine on a client server (win 2003 32 bit), recently thay moved to win server 2008 64 bit(iis 7.0) ,the web service working fine but now i get the following error:

"Retrieving the COM class factory for component with CLSID {F9CFBBAD-F699-4957-9E6F-79083B7B57E6} failed due to the following error: 80040154.: at Service.logStatus(String firm, String sUser, String sPassword):App_Code "

i tryed the following: 1.regsvr32 (administrator) 2.put the dll in \WINDOWS\system32 and allso in \Windows\SysWOW64 3.looking in component services--->dcom comfig (couldnt find the dll by name or CLSID) 4.set my web service to build in x86

i am Struggling with this Problem for 3 days please HELP!!!!!!!

Thanks Rotem

解决方案

Try enabling 32-bit mode in IIS:

这篇关于web服务与com的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆