Information générale
Catégorie:
Applications Internet
Titre:
Can't create object
My VFP COM server works great on my Win98 workstation under PSW. However, after installing it on the production server (NT/IIS 4.0), I get the following message:
"Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
/search.asp, line 2"
Line 2 of my code in the ASP is:
Set oVFPObject = Server.CreateObject("titlesrch.titlesrch")
The VFP runtimes and my DLL were installed and registered using the Setup Wizard. However, I'm not certain I did it right. My first attempt to execute the DLL abended with an invalid path to my database (I think). I corrected the error, recompiled the DLL, and uploaded it to the web server.
The server was bounced and the DLL was then registered as such on the webserver:
RegSvr32 "E:\wwwmhd\titlesrch.dll" [my application directory]
What have I done wrong? Do I need to register my DLL each time I upload a new version? Might the Setup program have registered my DLL differently than I did manually? I am brand new at this and don't have a clue as to what I'm doing.
TIA,
Jack
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement