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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create the object to reference remote DCOM in ASP

Status
Not open for further replies.

RichardWang

Programmer
Apr 30, 2003
1
0
0
US
HI,

I used to use asp to create object in a machine which have IIS and MTS together in NT4 ennironment.
Right now, I need to take off the MTS from the NT4 machine and reference my COm from remote COM+ server in a NT2000 box.

I try to use createObject("proce.class", "servername") to create the com object, the IIS show me the number of configuration isnot correct.

How can I configure my IIS or code to reference the remote COM+/MTS object in my ASP code?


Thanks


Richard
 
I think you forgot to register your remote server on the client machine.

Also, if I'm not mistaken, in CreateObject() you can specify the name of the machine on which the COM server runs. Furthermore you can do this with DCOMCNFG, or even manually in the registry (which is the same, but not as easy).


Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top