1.生成证书不对,personal证书没加权限,用本地产生的根证书生成私有证书
2.IIS不支持asp.net,在控制面板中勾选asp.net.
3.使用代码注册.net 4.0  (C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -iru)
4.在IIS中勾选4.0
5.缺少生成的dll   (logging.Database.dll, ...)
6.防火墙例外掉端口号
7.web.config 的设置不对

ImageServiceOnHub:

<add key="cnName" value="ghost-pc"/>
<dns value="ghost-pc"/>
<serviceCertificate findValue="ghost-pc"

ImageServiceOnLA:

<dns value="richard-pc"/>
<serviceCertificate findValue="richard-pc"

ImageServiceForPaymentGateway:

<add key="isLocalModel" value="false"/>
<endpoint address="http://ghost-pc:9001/ImageServiceOnHub.svc"
<dns value="ghost-pc"/>

<endpoint address="http://richard-pc:9002/ImageServiceOnLA.svc"
<dns value="richard-pc"/>
<clientCertificate findValue="jerry"/>

 

8.库中LA地址的配置

9.发布到IIS时用机器名,程序调试用localhost,如果本地调试要卸载掉ForTMS
在使用HUB方式本地调试时,要用IIS LA(Thabo库LA地址设置为http://jerry:9002/ImageServiceOnLA.svc)

10.GateWay与Hub时间不一致,导致通信失败。(解决方法: http://blog.csdn.net/educast/article/details/6332563

 

posted on 2012-02-14 11:46  jerry liu  阅读(194)  评论(0编辑  收藏  举报