SharePoint提供程序托管应用程序调试。 [英] SharePoint Provider Hosted App Debugging.

查看:88
本文介绍了SharePoint提供程序托管应用程序调试。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


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


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


https://social.msdn.microsoft.com/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提供商托管加载项,请遵循以下文章。


https://docs.microsoft.com/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:-

https://social.msdn.microsoft.com/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 you create 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.

https://docs.microsoft.com/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提供程序托管应用程序调试。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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