将VS2013(高信任度)LS应用发布到SharePoint 2013本地环境时出现问题 [英] Problem Publishing VS2013 (High-Trust) LS App to SharePoint 2013 On-Premises Environment

查看:69
本文介绍了将VS2013(高信任度)LS应用发布到SharePoint 2013本地环境时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在关注Microsoft

I have been following a Microsoft blog post on publishing high-trust LS apps to SharePoint.  The article is somewhat vague (step 14) on the actual step of hosting the app on the provider-hosted IIS server.

到目前为止,我无法使它正常工作.我正在使用发布向导中的步骤,该步骤创建部署文件,然后在承载LS应用程序的IIS服务器上运行该文件.当我运行批处理文件时,发布过程会创建它抱怨连接" 字符串"设置为空或空".但是所有数据库详细信息都已放入发布向导中.

So far, I can't get this to work. I am using the the step in the publishing wizard that creates deployment files to then run on the IIS server hosting the LS app. When I run the batch file the publishing process creates it complains about a "connection string" setting being "null or empty". But all the database details were put into the publishing wizard.

或者,如果我选择将Web部署设置导入到向导中,然后直接发布到IIS服务器,则VS2013中的构建过程会挂起.

Alternatively, if I choose to import web deploy settings into the wizard, and publish directly to the IIS server, the build process in VS2013 hangs.

到目前为止,与未启用SharePoint的LS应用程序相比,发布提供商托管的应用程序的经验似乎非常困难.这样做很容易,并使用Web部署设置直接发布到IIS服务器.

So far, the experience for publishing provider hosted apps seems to be very hard compared to a non-SharePoint enabled LS app. That worked easily, and used the web deploy settings to publish directly to the IIS server.

在某处是否有新的指南逐步介绍如何执行此操作?

Is there a new guide somewhere that goes through this step by step on how to do this?

感谢您的帮助,
理查德

Thanks for any help,
Richard

推荐答案

嗨理查德

请按照帖子中的说明进行操作,它将向您显示trace.axd和任何相关的错误消息,

Please follow the instructions in the post, it will show you trace.axd and any relevant error messages,

诊断已部署的3层LightSwitch应用程序中的问题(Eric Erhardt)

同时,您也可以尝试下面列出的所有部署技巧,

At the same time you can also try all the deployment tips listed below,

希望有帮助,

关于


这篇关于将VS2013(高信任度)LS应用发布到SharePoint 2013本地环境时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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