WSH scripting of MMC for Site Server Publishing 
Author Message
 WSH scripting of MMC for Site Server Publishing

Here's the situation:

We have a development IIS server, test IIS server, and production IIS
servers.  We have Site Server Publishing set up to move ASP/HTML content
from one server to another - ie. from dev to test.

In the course of our development we have implemented a VB component (dll)
that is loaded into memory with our web site in IIS.  The IIS web site is
running as an application in a seperate memory space.

In order to replace the dll component with a new version, the web site must
be stopped in the MMC and then you must go into the web site properties,
select Home Directory, and click on "Unload".  This unloads the dll from
memory and so it can be replaced.

We need a way to script this task so that it can be done automatically from
Site Server Publishing projects.

If anyone has done something like this using WSH (or other scripting tools),
please let me know via email.

Thanks
Roger Weeks



Sat, 09 Jun 2001 03:00:00 GMT  
 WSH scripting of MMC for Site Server Publishing

I don't think this can be done...

I've tried that before and the Application.Unload commands don't appear
to work correctly with ADSI. The calls succeed but the server doesn't
unload the virtual app.

FWIW, I don't think this would work reliably even if it did unload.
If your site's busy people would be coming in an re-loading the application
before your code would ever load the new DLL.

This shit is extremely difficult to implement with ASP...

I have some ISAPI applications that load COM objects and all of them
include a HotSwap interface that allow unloading components, updating
the binaries and type libraries and then reloading the components with
the ISAPI extension holding requests while the update is happening.

Unfortunately, ASP doesn't this kind of functionality which is a real
must for large scale Web apps that are busy enough to have problems
to go offline for more than a few seconds.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
Paia, Hawaii
http://www.west-wind.com/

Making waves on the Web
with Visual FoxPro

Quote:

>Here's the situation:

>We have a development IIS server, test IIS server, and production IIS
>servers.  We have Site Server Publishing set up to move ASP/HTML content
>from one server to another - ie. from dev to test.

>In the course of our development we have implemented a VB component (dll)
>that is loaded into memory with our web site in IIS.  The IIS web site is
>running as an application in a seperate memory space.

>In order to replace the dll component with a new version, the web site must
>be stopped in the MMC and then you must go into the web site properties,
>select Home Directory, and click on "Unload".  This unloads the dll from
>memory and so it can be replaced.

>We need a way to script this task so that it can be done automatically from
>Site Server Publishing projects.

>If anyone has done something like this using WSH (or other scripting
tools),
>please let me know via email.

>Thanks
>Roger Weeks




Tue, 12 Jun 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. script for changing server publishing rules on ISA Server

2. Help with publishing a local web-site

3. publishing a local web-site

4. MMC control for Index Server

5. MMC control for Index Server

6. What is the best site to look for Exchange Server Scripts

7. Sample script files in Site Server

8. How get information of the MMC by script

9. MMC and scripting host

10. How get infomation of the MMC by script

11. Outlook VBScript, Server Time, Publishing Org. Forms

12. Move mailboxes server to server same site Exchange 5.5

 

 
Powered by phpBB® Forum Software