|
 |
asp_components thread: ASP/DCOM help Required urgent
Message #1 by "Rajhkumar Ontivillu" <raj@f...> on Wed, 7 Mar 2001 14:47:48 +0530
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_000C_01C0A715.9402FEF0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_000D_01C0A715.94060C30"
------=_NextPart_001_000D_01C0A715.94060C30
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
BlankHi Guys,
I have a very serious problem please help me out. i want to know how to
access the component(COM Object) in some other computer ie., DCOM. i
will say now the method which i followed.
1. I created a Activex.dll Project in VB and i checked the Remote server
files Checkbox in the Project Properties --> Components
2. i created a method for that class and i complied it into a dll and
stored it in my HardDrive.
3. i Registered the component in my Component server.
4. Then started my friends machine and i copied the Project.vbr file
(Remote Registration File) into my friends machine.
5. then i used the clireg32.exe to register the file
6. then i opened the Rem Auto Connection Manager and i can see my class
file in it. which means that my component is registered. i checked the
check box for the Remote Automation for the selected component
7. then to access the component from the browser i instantiated the
component like this
set oDcom=3Dserver.createobject("clsDCom.Class1","ipaddress for the
Comp.where the dll is"). when i do so browser gives me an error saying
that the prog.id is wrong.
8. if i create a object for the component in my computer then it is
working well.....
Please help me out....
Thanks
Rajhkumar
------=_NextPart_000_000C_01C0A715.9402FEF0
Content-Type: image/gif;
name="Blank Bkgrd.gif"
Content-Transfer-Encoding: base64
Content-ID: <000b01c0a6e7$7a419b30$0b00a8c0@r...>
R0lGODlhLQAtAID/AP////f39ywAAAAALQAtAEACcAxup8vtvxKQsFon6d02898pGkgiYoCm6sq2
7iqWcmzOsmeXeA7uPJd5CYdD2g9oPF58ygqz+XhCG9JpJGmlYrPXGlfr/Yo/VW45e7amp2tou/lW
xo/zX513z+Vt+1n/tiX2pxP4NUhy2FM4xtjIUQAAOw==
------=_NextPart_000_000C_01C0A715.9402FEF0--
Message #2 by "Tom" <tom@i...> on Sat, 10 Mar 2001 02:16:29
|
|
Hello,
If you're running on Win2k then you may have to create a COM+ application
and "configure" your control using control panels->Administrative Tools-
>Component Services.
COM+ is built on DCOM and in many ways provides better communication
capablities (built in Message Queueing, Automatic Transaction Support,
etc) between applications on different machines.
This does not apply if you are using Win9x/NT.
Regards,
-Tom-
> BlankHi Guys,
>
> I have a very serious problem please help me out. i want to know how to
> access the component(COM Object) in some other computer ie., DCOM. i
> will say now the method which i followed.
>
> 1. I created a Activex.dll Project in VB and i checked the Remote server
> files Checkbox in the Project Properties --> Components
> 2. i created a method for that class and i complied it into a dll and
> stored it in my HardDrive.
> 3. i Registered the component in my Component server.
> 4. Then started my friends machine and i copied the Project.vbr file
> (Remote Registration File) into my friends machine.
> 5. then i used the clireg32.exe to register the file
> 6. then i opened the Rem Auto Connection Manager and i can see my class
> file in it. which means that my component is registered. i checked the
> check box for the Remote Automation for the selected component
> 7. then to access the component from the browser i instantiated the
> component like this
> set oDcom=3Dserver.createobject("clsDCom.Class1","ipaddress for the
> Comp.where the dll is"). when i do so browser gives me an error saying
> that the prog.id is wrong.
>
> 8. if i create a object for the component in my computer then it is
> working well.....
>
> Please help me out....
>
> Thanks
> Rajhkumar
|
|
 |