Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: RES: first COM Object in VB


Message #1 by =?iso-8859-1?Q?Fl=E1vio_Rodrigues_Maciel?= <flaviorm@p...> on Thu, 25 Jul 2002 10:39:05 -0300
Try just CreateObject or GetObject instead. Server is an ASP scoped object.

-----Mensagem original-----
De: Roni Schuetz [mailto:ronis@a...]
Enviada em: quinta-feira, 25 de julho de 2002 07:11
Para: ASP components
Assunto: [asp_components] first COM Object in VB


Hi,

I have the following code (its my first COM Object in VB):

OPTION EXPLICIT

Response.Write "Begin <BR>"
Dim objRoni
Set objRoni	= Server.CreateObject("roni.schuetz")  - LINE 6
objRoni.initElement
objRoni.aElement "","",0
Set objRoni	= nothing


Server object, ASP 0178 (0x80070005)
The call to Server.CreateObject failed while checking permissions. Access is
denied to this object.
/roni.asp, line 6

what can it the reason for the following error.

Regards,
Roni Schuetz



%%email.unsub%%


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 - Release Date: 15/7/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 - Release Date: 15/7/2002


  Return to Index