简体   繁体   English

Sharepoint连接到TFS导致SSL错误

[英]Sharepoint Connecting to TFS gives SSL error

i am trying to build a web part to display the TFS projects and i am using Microsoft.TeamFoundation.Framework.Client and using Microsoft.TeamFoundation.Framework.Common; 我正在尝试构建一个Web部件以显示TFS项目,并且正在使用Microsoft.TeamFoundation.Framework.Client和Microsoft.TeamFoundation.Framework.Common; like here 像这儿

This works perfectly in a sample web app , but the moment the code goes into a visual web part, i get a SSL errors The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure... 这在示例Web应用程序中完美运行,但是当代码进入可视化Web部件时,我遇到SSL错误基本连接已关闭:无法建立SSL / TLS安全的信任关系...

Any help is appreciated 任何帮助表示赞赏

Thanks Rajat 谢谢拉贾特

I never work with TFS interactiong with Sharepoint. 我从未与Sharepoint进行TFS交互。 Needless to say that I didn't came across such problem. 不用说我没有遇到这样的问题。 But here is the link which explains in detail on how a aspx page can interacts with the TFS. 但是这里的链接详细解释了aspx页面如何与TFS交互。

http://geekswithblogs.net/TarunArora/archive/2011/06/18/tfs-2010-sdk-connecting-to-tfs-2010-programmaticallyndashpart-1.aspx http://geekswithblogs.net/TarunArora/archive/2011/06/18/tfs-2010-sdk-connecting-to-tfs-2010-programmaticallyndashpart-1.aspx

Have Great Day! 祝你有美好的一天!

我在VM上配置了TFS,这解决了我的问题,但是我无法解决原始问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM