From: BillE on
I am responsible for an old vb6 IIS application (webclasses), with asp pages
which utilize a compiled vb6 compiled dll.

It is hosted on a Windows 2003 cluster with IIS 6. The dll is located on
the shared drive accessible from both servers in the cluster.

In order to update it I have to restart the IIS service, terminating all
sessions, replace the dll and register it using regsvr32.

I would like to improve this process so I don't have to terminate existing
sessions.

I don't know how to use COM+ to do this - would this help?

I would appreciate any guidance.

Thanks
Bill


From: Paul Clement on
On Thu, 1 Jul 2010 11:02:00 -0400, "BillE" <belgie(a)datamti.com> wrote:

� I am responsible for an old vb6 IIS application (webclasses), with asp pages
� which utilize a compiled vb6 compiled dll.

� It is hosted on a Windows 2003 cluster with IIS 6. The dll is located on
� the shared drive accessible from both servers in the cluster.

� In order to update it I have to restart the IIS service, terminating all
� sessions, replace the dll and register it using regsvr32.

� I would like to improve this process so I don't have to terminate existing
� sessions.

� I don't know how to use COM+ to do this - would this help?

� I would appreciate any guidance.

� Thanks
� Bill


I've never tried to run a WebClass from COM+ so I'm not sure whether this will work. However, if you
want to give it a try, you can use the Component Services applet under Administrative Tools in
Control Panel to create the application and add the WebClass component.

Run the Component Services applet and drill down from the Component Services node to COM+
Applications, right click and select the New...Application menu item. Just create an empty
application (server) and call it anything you want. After it has been added, expand the application
and select the Components sub item. Then you can either drag the WebClass DLL file to the Components
window from Windows Explorer or right click on the node (New...Component) and grab the WebClass DLL
that way. Then fire up your web app and cross your fingers. You can of course monitor the component
from the Components windows in order to ensure it is starting up and running.

You can unload the DLL from the DLLHost process by right clicking on the Application in COM+ and
selecting the Shut Down menu item.


Paul
~~~~
Microsoft MVP (Visual Basic)
From: BillE on
Thanks, that works - I unregistered the dll, which broke the IIS app. Then
I did as you explained, and the app works again. I was also able to unload
the component by recycling the application pool.

I still have to terminate all sessions, but it is much better this way.

Bill

"Paul Clement" <UseAdddressAtEndofMessage(a)swspectrum.com> wrote in message
news:nljp261t4bm4a0hlcu8c2ghal4fr4ldlsm(a)4ax.com...
> On Thu, 1 Jul 2010 11:02:00 -0400, "BillE" <belgie(a)datamti.com> wrote:
>
> � I am responsible for an old vb6 IIS application (webclasses), with asp
> pages
> � which utilize a compiled vb6 compiled dll.
> �
> � It is hosted on a Windows 2003 cluster with IIS 6. The dll is located
> on
> � the shared drive accessible from both servers in the cluster.
> �
> � In order to update it I have to restart the IIS service, terminating all
> � sessions, replace the dll and register it using regsvr32.
> �
> � I would like to improve this process so I don't have to terminate
> existing
> � sessions.
> �
> � I don't know how to use COM+ to do this - would this help?
> �
> � I would appreciate any guidance.
> �
> � Thanks
> � Bill
> �
>
> I've never tried to run a WebClass from COM+ so I'm not sure whether this
> will work. However, if you
> want to give it a try, you can use the Component Services applet under
> Administrative Tools in
> Control Panel to create the application and add the WebClass component.
>
> Run the Component Services applet and drill down from the Component
> Services node to COM+
> Applications, right click and select the New...Application menu item. Just
> create an empty
> application (server) and call it anything you want. After it has been
> added, expand the application
> and select the Components sub item. Then you can either drag the WebClass
> DLL file to the Components
> window from Windows Explorer or right click on the node (New...Component)
> and grab the WebClass DLL
> that way. Then fire up your web app and cross your fingers. You can of
> course monitor the component
> from the Components windows in order to ensure it is starting up and
> running.
>
> You can unload the DLL from the DLLHost process by right clicking on the
> Application in COM+ and
> selecting the Shut Down menu item.
>
>
> Paul
> ~~~~
> Microsoft MVP (Visual Basic)


 | 
Pages: 1
Prev: Permutation of an array
Next: MSVBVM50.DLL