PDA

Click to See Complete Forum and Search --> : Active-X Component cannot create object error...


Oct 4th, 2000, 02:38 AM
Hi everybody, i am new to ASP and by chance i saw an example in the Database Programming with vb6.0 from wrox press. i used their example and here is where i am getting an error. it goes like this "Active-x Component cannot create object -- vbscript error". The scenario is that a login form is show first, when a user presses a button the cookie is cheched to see if he is visiting the first time. if yes then a user defined dll is being used. here comes the error when createobject is being used. i tried to manually --register-- the dll using regsvr32 and i was successful. i copied the dll in system32 directory. i copied the dll into my virtual directory but nothing seem to solve my problem. Could anyone please lead me ahead. i am stuck at this and doesnt seem to come out of it...thanx in advance...vijay

monte96
Oct 4th, 2000, 09:57 AM
Unregister the dll. Put it into system32, then register it. If you move it, you have to unregister and reregister it (or change where it is being pointed to in the registry)

The other option is there is a problem with your dll. Try creating a VB project that uses it and make sure you can create an instance of it from there.