Re: IIS DLLHOST and COM
Doug Doedens <[email protected]> Fri, 11 Oct 2002 13:14:50 -0700
| Newsgroups | gmane.comp.windows.devel.vbcom |
|---|---|
| Message-ID | <[email protected]> |
HI. It looks like you are confusing a couple of issues here. 1. you cannot late bind to a COM dll from an ASP page you can only early bind. 2. you are using COM when you late bind or early bind unless you are specifying the second parameter on the createobject call (servername) or using MTS, COM+ to call a dll on another machine. 3. In regards to IIS, IIS and COM+ (dllHost.exe) they are intertwinded. when you choose LOW then all of your COM objects are loaded into IIS memory space....If you cause a fatal error you will take down ALL web sites on IIS When you choose Mediam. you com objects are called into an instance of DLLHOST.exe that IIS is using for several sites. When you choose HIGH you will get a separate instance of Dllhost.exe for that web site. An errors will cause only that site to fail hope that helps DOUG -----Original Message----- From: Technical discussion of VBCOM [mailto:[email protected]]On Behalf Of Greg Robinson Sent: Friday, October 11, 2002 1:05 PM To: [email protected] Subject: [VBCOM] IIS DLLHOST and COM As I dive deeper into .NET, I am starting to understand COM a little better; what timing!. The COM lights are coming on. There is still one thing I want to make sure I understand though. When I load an ASP page from IIS and that page late-binds to COM Objects and the site is set to medium pooling, is this 'COM' or DCOM in action when alls are made to the COM Objects? I have always assumed COM as I have always looked at DCOM as a way to remote to another machine. Same question for Low pooling. I assume this is COM and not DCOM. Greg Robinson Director of Training and .NET Technologies Scribble Software and Training www.scribblesoftware.com www.scribbletraining.com You can read messages from the VBCOM archive, unsubscribe from VBCOM, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the VBCOM archive, unsubscribe from VBCOM, or subscribe to other DevelopMentor lists at http://discuss.develop.com.