【问题标题】:__RemoteAppManagementInfo__ SharePoint 2013 - remote hosting service is not configured__RemoteAppManagementInfo__ SharePoint 2013 - 未配置远程托管服务
【发布时间】:2013-06-06 01:15:52
【问题描述】:

我看到使用 Visual Studio 2012 在我的新 SharePoint 2013 服务器上部署简单的 Hello World 应用程序时出现奇怪的错误。错误是“未配置远程托管服务”,内部消息和堆栈跟踪是:

Microsoft.Office.SecureStoreService.Server.SecureStoreServiceTargetApplicationNotFoundException:找不到目标应用程序(应用程序 ID:__RemoteAppManagementInfo__)。 在 Microsoft.SharePoint.Utilities.SecureStoreHelper.ExecuteSecureStoreMethod(字符串方法名,对象 [] 参数) 在 Microsoft.SharePoint.Administration.AppDeployment.RemoteWebSiteAccount.Initialize() 在 Microsoft.SharePoint.Packaging.SPRemoteWebSiteDeploymentGroup.ConfigureClientAndAccount() 在 Microsoft.SharePoint.Packaging.SPRemoteWebSiteDeploymentGroup.DeployInternal() 在 Microsoft.SharePoint.Packaging.SPRemoteWebSiteDeploymentGroup.Deploy() 在 Microsoft.SharePoint.Administration.SPAppTask.DeployOperation() 在 Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()

我知道我可以进入 Secure Store Service 并使用该应用程序 ID 配置一个新的安全存储目标应用程序,但我在任何设置文档中都没有看到这一点,我真的很想知道那是从哪里来的。我觉得我在某处遗漏了一个简单的配置设置,但我找不到它。

【问题讨论】:

标签: sharepoint sharepoint-2013


【解决方案1】:

听起来您正在创建 Autohosted 应用程序。

自动托管应用程序仅受 Office 365 SharePoint Online 支持。 在 SharePoint 2013 发布后的一段时间内,这种情况可能仍然存在。

【讨论】:

  • 您似乎已经解决了这个问题 - Auto-hosting uses Azure Websites 这显然无法在内部部署Provider-hosted 将要求您创建自己的网站/数据库基础架构,而 SharePoint-Hosted 绝对是要采取的途径。
  • 视实际应用需求而定。 SharePoint 托管的应用程序有很多限制(没有远程事件接收器,没有 C# 代码)
  • 要绕过这些限制 - 您是否只需要手动创建和部署 SP 解决方案?有没有简单的方法来部署包含 c# 服务器代码的 Sharepoint 应用程序(说 WCF 应用程序)?这是否意味着我需要成为 SP 服务器上的管理员才能创建 IIS 站点/虚拟目录?
  • 您仍然可以为 SharePoint 2013 创建 SP 场解决方案。如果您使用这种新的应用程序模型,则只有三个选项:自动托管和提供程序托管(均支持服务器端代码,即运行在单独的站点(Azure 和本地)和 SharePoint 托管(不允许 C#/VB 代码)中
猜你喜欢
  • 2013-04-07
  • 1970-01-01
  • 2015-02-16
  • 2014-10-28
  • 2013-05-26
  • 2016-11-12
  • 2011-08-27
  • 2014-03-22
  • 1970-01-01
相关资源
最近更新 更多