p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_howto thread: Problem in DLL Component (Registering problem)


Message #1 by "Gustavo Demaria" <gmdemaria@t...> on Tue, 13 Mar 2001 17:02:14 -0300
this usually means that there is a mis-spelling in the object name.  For example, if
I wanted to use the ADO connection object, I'd create it like this:

dim cn
set cn = server.createobject("ADODB.Connection")

but, if instead, i typed:

dim cn
set cn = server.createobject("ADOB.Connection")

i'd get that error - invalid Prog ID.

When yuo call a component like that - you must use the form
"MyProjectName.MyClassName".

note that MyProjectName is NOT necessarily the name of the DLL file.  it's the name
of the project, as specified in VB.

i hope this makes sense and/or helps,

john

--- Gustavo Demaria <gmdemaria@t...> wrote:

<HR>
<html><head><meta Name='keywords' Content='commtouch, pronto, mail, free email,
free, branded, web based, free web based email, communications, internet, software,
advertising banners, e-mail, free software'></head><body   ><div align='left'><font 
 ><blockquote><blockquote><TT><BR>
The ASP enviroment  d'ont recognize the components, they were <BR>
registered in the server<BR>
<BR>
<BR>
<BR>
Server.CreateObject Failed <BR>
<BR>
/Pruebas/Pruebas/default3.asp, line 15 <BR>
<BR>
Invalid ProgID. <BR>
Some idea ?<BR>
<BR>
thanks (my english is terrible)<BR>
<BR>
<BR>
</TT><br><br><br><br><br><br><font><p
</blockquote></blockquote></div></font>
</BODY></html>



=====

---------------------------- 
John Pirkey 
MCSD 
John@S... 
http://www.stlvbug.org


  Return to Index