Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie to dcom

Status
Not open for further replies.

sweetleaf

Programmer
Jan 16, 2001
439
CA
Hello,

If I have asp's sitting on a web server that i want to make calls to com objects sitting on another server (with or without MTS), do i need to install special software on either or both of the servers? Can anyone give me a brief run down or checklist of what i need to do. Everything I've downloaded through msdn or elsewhere is so confusing and often conflicts..

thanks much

 
if u are accessing the object in VB u can do it by simply calling
createobject("classname",servername);
this will create a object remotely!
and that i suppose will solve ur prob!

sauthegr8
 
There is one catch to this . . . ASP be default can not create an components out of process (that means only DLLs in the same machine as the IIS server and in the IIS process space). Also, that means that by default ASP can not access MTS components since MTS components run in a different process space (MTX.exe).
Luckily, there is a way around this little issue! Here is the direct quote from MSDN . . .


"By default, IIS 3.0 disables calling out-of-process components. To enable calling out-of-process components, modify the following registry entry


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\ASP\Parameters


by setting the AllowOutOfProcCmpnts key to 1."



Of course this may have changes with IIS 4.0 and/or IIS 5.0, but I thought that it was worth mentioning.


- Jeff Marler B-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top