如何处理wsp的SharePoint部署? 让网站离线?

发布于 2024-07-27 15:44:35 字数 274 浏览 3 评论 0原文

通过 WSP 处理 SharePoint 部署的推荐方法是什么? 在 WSP 部署期间,网站返回 HTTP 503 服务不可用响应。 我正在使用 bat 文件中的一系列 stsadm.exe 命令进行 WSP 部署。

我知道我可以将 app_offline.htm 文件放入虚拟目录文件夹中并放置自定义的 HTTP 503 错误代码页,但是是否有更好的方法在部署期间使 SharePoint 应用程序脱机? 我是否需要 app_offline.htm 文件或仅需要自定义 HTTP 503 错误代码页?

What is the recommended approach to handle a SharePoint deployment via a WSP? During the deployment of the WSP the web site returns an HTTP 503 Service Unavailable response. I am doing the WSP deployment with a series of stsadm.exe commands from a bat file.

I know I can probably drop an app_offline.htm file in the virtual directory folder and put up a customized HTTP 503 error code page, but is there a better way to take a SharePoint application offline during a deployment? Do I even need an app_offline.htm file or just a custom HTTP 503 error code page?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

离去的眼神 2024-08-03 15:44:35

部署 WSP 会导致 IISReset。 根据您的硬件,这通常不会持续超过一两分钟,所以我不确定这是否会成为一个大问题。

但是,如果您处于任务关键型生产环境中,我建议您从中央管理安装 wsp; 并将实际部署安排在较晚的时间以避免服务中断。

Deploying the WSP causes an IISReset. Depending on your hardware, this doesn't usually last longer than a minute or two, so i'm not sure if it'll be much of an issue.

If, however you're in a mission critical production environment however, i'd recommend installing the wsp from central admin; and scheduling the actuall deployment for a late hour to avoid service interruption.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文