如何在不停止服务器的情况下卸载/替换dll? [英] How do I unload/replace dll without stopping server?

查看:61
本文介绍了如何在不停止服务器的情况下卸载/替换dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个本土的我在IIS(VBScript)中使用的DLL。我需要在生产服务器上用
替换它,但我不想停止/重新启动服务器

以替换dll。


可能吗?

TIA,


拉里伍兹

I have a "homegrown" dll that I am using in IIS (VBScript). I need to
replace it on a production server, but I don''t want to stop/restart server
in order to replace the dll.

Possible?
TIA,

Larry Woods

推荐答案

Larry Woods写道:
Larry Woods wrote:
我有一个本土的我在IIS(VBScript)中使用的DLL。我需要在生产服务器上更换它,但我不想停止/重新启动服务器
以替换dll。

可能吗?
TIA,

Larry Woods
I have a "homegrown" dll that I am using in IIS (VBScript). I need to
replace it on a production server, but I don''t want to stop/restart server
in order to replace the dll.

Possible?
TIA,

Larry Woods



No.


No.


>但我不想停止/重新启动服务器以替换dll。
> but I don''t want to stop/restart server in order to replace the dll.

可能吗?

Possible?




Nope只要IIS服务保持运行,DLL就会保留在内存中。


-
http://www.aspfaq.com/

(反向回复地址。)



Nope, the DLL will remain in memory as long as the IIS services remain
running.

--
http://www.aspfaq.com/
(Reverse address to reply.)


Larry Woods写道:
Larry Woods wrote:
我有一个本土的我在IIS(VBScript)中使用的DLL。我需要在生产服务器上更换它,但我不想停止/重启
服务器以更换dll。

可能吗?
TIA,

拉里·伍兹
I have a "homegrown" dll that I am using in IIS (VBScript). I need to
replace it on a production server, but I don''t want to stop/restart
server in order to replace the dll.

Possible?
TIA,

Larry Woods



通常不会,这是不可能的。


如果您将应用程序配置为以隔离模式运行(高安全性),

您有时可以卸载应用程序以取消注册,

替换并注册一个dll。但这并不总是有效。


Bob Barrows

-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。


Usually no, it is not possible.

If you configure your application to run in isolated mode (High security),
you will sometimes be able to unload the application in order to unregister,
replace and register a dll. But this does not always work.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.


这篇关于如何在不停止服务器的情况下卸载/替换dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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