用于将程序集复制到服务器场中所有服务器的脚本 [英] script for copying assemblies into all servers in the farm

查看:90
本文介绍了用于将程序集复制到服务器场中所有服务器的脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想将程序集复制(使用gacutil)到形式的所有服务器中.我知道部署wsp可以做到这一点,但有时dll无法正确复制,因此我们现在手动进行此操作.
这可能吗 ?我们可以为此编写脚本吗?



I want to copy(using gacutil) my assemblies to all the servers in the form . i know that deploying wsp will do this , but some times dlls are not getting copied properly, so we are doing this manually now.
is this possible ? can we write a script for this ?

推荐答案

是的,您可以运行gacutil/i< bin name>但它需要在本地执行(或通过PS Remoting,psexec等执行).就是说,您应该使用WSP解决问题,而不是破解它.听起来您好像在部署方面遇到了问题 WSP或管理/计时器服务出现问题.
Yes, you can run gacutil /i <bin name> but it needs to be executed locally (or via PS Remoting, psexec, etc.). That said, you should be resolving your issue with WSPs rather than hacking it. It sounds like you either have deployment issues with the WSP, or something wrong with the administration/timer services.


这篇关于用于将程序集复制到服务器场中所有服务器的脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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