为Windows应用商店应用安装WCF数据服务客户端时出错

时间:2013-10-11 14:50:43

标签: c# .net windows-8 windows-store-apps wcf-data-services-client

我正在使用Windows应用商店应用。我有WCF数据服务的后端。当我尝试添加服务时,我有错误,说我需要安装WCF数据服务客户端并将链接放到 http://msdn.microsoft.com/en-us/jj658961

我下载后,当我尝试安装它时,出现错误: 0x800b0101 - 根据当前系统时钟或签名文件中的时间戳进行验证时,所需证书不在其有效期内。

我提供了带错误的日志部分:

[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to verify certificate chain policy status.
[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to get certificate chain for authenticode certificate.
[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to verify signature of payload: wcf_dataservices
[2EBC:16AC][2013-10-11T11:52:07]: Failed to verify payload: wcf_dataservices at path: D:\ProgramData\Package Cache.unverified\wcf_dataservices, error: 0x800b0101. Deleting file.
[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to cache payload: wcf_dataservices
[2094:1F08][2013-10-11T11:52:07]: Failed to cache payload: wcf_dataservices from working path: D:\Users\TMACON~1.BAL\AppData\Local\Temp{1dff3448-2deb-42be-a710-36bfc79c5d5c}\wcf_dataservices, error: 0x800b0101.
[2094:1F08][2013-10-11T11:52:07]: Application requested retry of payload: wcf_dataservices, encountered error: 0x800b0101. Retrying...
[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to verify certificate chain policy status.
[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to get certificate chain for authenticode certificate.
[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to verify signature of payload: wcf_dataservices
[2EBC:16AC][2013-10-11T11:52:07]: Failed to verify payload: wcf_dataservices at path: D:\ProgramData\Package Cache.unverified\wcf_dataservices, error: 0x800b0101. Deleting file.
[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to cache payload: wcf_dataservices
[2094:1F08][2013-10-11T11:52:07]: Failed to cache payload: wcf_dataservices from working path: D:\Users\TMACON~1.BAL\AppData\Local\Temp{1dff3448-2deb-42be-a710-36bfc79c5d5c}\wcf_dataservices, error: 0x800b0101.
[2094:1F08][2013-10-11T11:52:07]: Application requested retry of payload: wcf_dataservices, encountered error: 0x800b0101. Retrying...
[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to verify certificate chain policy status.
[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to get certificate chain for authenticode certificate.
[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to verify signature of payload: wcf_dataservices
[2EBC:16AC][2013-10-11T11:52:07]: Failed to verify payload: wcf_dataservices at path: D:\ProgramData\Package Cache.unverified\wcf_dataservices, error: 0x800b0101. Deleting file.
[2EBC:16AC][2013-10-11T11:52:07]: Error 0x800b0101: Failed to cache payload: wcf_dataservices
[2094:1F08][2013-10-11T11:52:07]: Failed to cache payload: wcf_dataservices from working path: D:\Users\TMACON~1.BAL\AppData\Local\Temp{1dff3448-2deb-42be-a710-36bfc79c5d5c}\wcf_dataservices, error: 0x800b0101.
[2094:0708][2013-10-11T11:52:07]: Error 0x800b0101: Failed while caching, aborting execution.

有人可以解释一下,需要什么样的证书以及如何通过此错误解决我的问题?

感谢。

1 个答案:

答案 0 :(得分:0)

通过将WCF数据服务更新到5.6.0版解决了问题。之后,我能够使用我的WCF数据服务。