p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: objerror


Message #1 by "timothy R magesh" <magesh_52176@r...> on 7 Mar 2002 09:19:04 -0000
This error usually means that you misspelled your component
(Server.CreateObject("MyTelphone.Telphone")), or that the component is
not properly registered.
To register your component: open a dos-prompt and type : regsvr32
<yourcomponent>

Regards,

Gerhard Wentink

-----Original Message-----
From: timothy R magesh [mailto:magesh_52176@r...] 
Sent: Thursday, March 07, 2002 10:19 AM
To: Code Clinic
Subject: [proasp_codeclinic] objerror



Sir,
When I typed and run the following code i get the error that is 
mentioned below.
I have given the correct URL in the browser.Please help to get out 
of the error.Please Reply
to me through the following mailid (magesh_52176@r...) <html>
<head> <title> Program about objects </title> </head> <body> <% dim
objTelephone dim strcolor,strmaterial,strweight,intnumofkeys
Set objTelephone=Server.CreateObject("MyTelephone.Telephone")
objTelephone.color="blue"
objTelephone.material="plastic"
objTelephone.weight="0.3Kg"
objTelephone.numofkeys=12
strcolor=objTelephone.color
strmaterial=objTelephone.material
strweight=objTelephone.weight strnumofkeys=objTelephone.numofkeys
Response.Write strcolor
Response.Write strmaterial
Response.Write strweight
Response.Write strnumofkeys
Set objTelephone=nothing
%>
</body>
</html>


Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid ProgID. For additional information specific to this 
message please visit the Microsoft Online Support site located at: 
http://www.microsoft.com/contentredirect.asp.
/wfa/obj.asp, line 11


$subst('Email.Unsub').


  Return to Index