Groups | Blog | Home
all groups > dotnet distributed apps > november 2004 >

dotnet distributed apps : Creating COM object in VB.NET


Nigel Ellis
11/29/2004 12:48:16 PM
This is a multi-part message in MIME format.

------=_NextPart_000_000E_01C4D611.B23DD000
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have found many articles on the Internet about how to create a COM =
object in VB.NET, but they all seem to assume I am developing and =
running the COM object on my local machine.

What I am trying to do is develop a COM object on my local machine (XP =
Pro), then install this COM for use on a remote machine (Win 2K3 Web =
Ed.)

When I try to use the COM via classic ASP I get the error: =
Server.CreateObject Failed~800401f3=20

I have tried to use gacutil, regasm, regsvr32 (this never works), but =
nothing is installing the COM. Can anyone help?

Thanks

Nigel Ellis
------=_NextPart_000_000E_01C4D611.B23DD000
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1476" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have found many articles on the =
Internet about=20
how to create a COM object in VB.NET, but they all seem to assume I am=20
developing and running the COM object on my local machine.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>What I am trying to do is develop a COM =
object on=20
my local machine (XP Pro), then install this COM for use on a remote =
machine=20
(Win 2K3 Web Ed.)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I try to use the COM via classic =
ASP I get the=20
error: <FONT face=3D"Times New Roman" size=3D3>Server.CreateObject =
Failed~800401f3=20
</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have tried to use gacutil, regasm, =
regsvr32 (this=20
never works), but nothing is installing the COM. Can anyone =
help?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Nigel Ellis</FONT></DIV></BODY></HTML>

------=_NextPart_000_000E_01C4D611.B23DD000--
Sam Santiago
12/4/2004 4:31:27 PM
This is a multi-part message in MIME format.

------=_NextPart_000_004C_01C4DA1E.B4072E20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Check out this link and then read the link describing Manual vs. Dynamic =
registration:

http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/cpguid=
e/html/cpcondynamicallyregisteringassembly.asp

Thanks,

Sam

--=20
_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________
[quoted text, click to view]
I have found many articles on the Internet about how to create a COM =
object in VB.NET, but they all seem to assume I am developing and =
running the COM object on my local machine.

What I am trying to do is develop a COM object on my local machine (XP =
Pro), then install this COM for use on a remote machine (Win 2K3 Web =
Ed.)

When I try to use the COM via classic ASP I get the error: =
Server.CreateObject Failed~800401f3=20

I have tried to use gacutil, regasm, regsvr32 (this never works), but =
nothing is installing the COM. Can anyone help?

Thanks

Nigel Ellis
------=_NextPart_000_004C_01C4DA1E.B4072E20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D4>Check out this link and then read the link =
describing Manual=20
vs. Dynamic registration:</FONT></DIV>
<DIV><FONT size=3D4></FONT>&nbsp;</DIV>
<DIV><FONT size=3D4><A=20
href=3D"http://msdn.microsoft.com/library/default.asp?url=3D/library/en-u=
s/cpguide/html/cpcondynamicallyregisteringassembly.asp">http://msdn.micro=
soft.com/library/default.asp?url=3D/library/en-us/cpguide/html/cpcondynam=
icallyregisteringassembly.asp</A></FONT></DIV>
<DIV><FONT size=3D4></FONT>&nbsp;</DIV>
<DIV><FONT size=3D4>Thanks,</FONT></DIV>
<DIV><FONT size=3D4><BR>Sam</FONT></DIV>
<DIV><BR>-- <BR>_______________________________<BR>Sam Santiago<BR><A=20
href=3D"mailto:ssantiago@n0spam-SoftiTechture.com">ssantiago@n0spam-Softi=
Techture.com</A><BR><A=20
href=3D"http://www.SoftiTechture.com">http://www.SoftiTechture.com</A><BR=
[quoted text, click to view]
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Nigel Ellis" &lt;<A=20
href=3D"mailto:nigel@csimedia.net">nigel@csimedia.net</A>&gt; wrote in =
message=20
<A=20
=
href=3D"news:uSxa5Gh1EHA.1124@tk2msftngp13.phx.gbl">news:uSxa5Gh1EHA.1124=
@tk2msftngp13.phx.gbl</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>I have found many articles on the =
Internet about=20
how to create a COM object in VB.NET, but they all seem to assume I am =

developing and running the COM object on my local =
machine.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>What I am trying to do is develop a =
COM object on=20
my local machine (XP Pro), then install this COM for use on a remote =
machine=20
(Win 2K3 Web Ed.)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I try to use the COM via classic =
ASP I get=20
the error: <FONT face=3D"Times New Roman" size=3D3>Server.CreateObject =

Failed~800401f3 </FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have tried to use gacutil, regasm, =
regsvr32=20
(this never works), but nothing is installing the COM. Can anyone=20
help?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Nigel =
Ellis</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_004C_01C4DA1E.B4072E20--
AddThis Social Bookmark Button