SharePoint提供程序托管应用程序调试。

编程入门 行业动态 更新时间:2024-10-28 07:24:08
本文介绍了SharePoint提供程序托管应用程序调试。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好,

我们要求为完全配置的SharePoint提供的托管应用程序添加其他功能。在Visual Studio中调试代码重新部署SP应用程序的 。这会更改应用程序URL,这意味着现有证书无效并会破坏系统。

请找到我们推荐的以下链接: -

social.msdn.microsoft/Forums/windowsserver/en-US/50de43c5-5c3e-41e4-a4fe-51500683482f/why-does-my-sharepoint-addins-id-change -every-time-it-it-from-visual-studio?forum = sharepointdevelopment

如果有人遵循上述流程,请指教。

请告诉我们您的建议,这可能是调试代码的最佳方法,而不会使证书无效。

问候,

Sudheer

谢谢和问候,Sudheer

解决方案

嗨Sudheer,

您是否为高可信赖的SharePoint加载项创建了自签名测试.pfx证书文件?尝试创建您的高信任度SharePoint提供商托管加载项,请遵循以下文章。

docs.microsoft/en-us/sharepoint/dev/sp-add-ins/create-high-trust -sharepoint-add-ins

或者在调试加载项时是否遇到以下错误?

"远程证书根据验证程序无效"

最好的问候,

Dennis

Hi,

We are having requirement to add additional functionality to a fully configured SharePoint provided hosted Application. Debugging the code in Visual Studio redeploys the SP app. This changes the app url, which means that existing certificate is invalid and breaks the system.

Please find the below links which we have referred:-

social.msdn.microsoft/Forums/windowsserver/en-US/50de43c5-5c3e-41e4-a4fe-51500683482f/why-does-my-sharepoint-addins-id-change-every-time-i-deploy-it-from-visual-studio?forum=sharepointdevelopment

Could you please advise if anyone has followed the above process.

Kindly let us know your suggestions which could the best approach to debug code without making certificates invalid .

Regards ,

Sudheer

Thanks & Regards, Sudheer

解决方案

Hi Sudheer,

Did youcreate a self-signed test .pfx certificate file for your high-trust SharePoint Add-in? Try to create your high-trust SharePoint Provider Hosted add-in follow the article below.

docs.microsoft/en-us/sharepoint/dev/sp-add-ins/create-high-trust-sharepoint-add-ins

Or did you meet the following error when you debugging the add-in?

"The remote certificate is invalid according to the validation procedure"

Best Regards,

Dennis

更多推荐

SharePoint提供程序托管应用程序调试。

本文发布于:2023-11-12 23:28:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1582805.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   程序   SharePoint

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!