Cannot create DLL/ wrong ProgID
I created an Active X DLL, that works very well in a VB6 form, but in ASP I am having a lot of trouble.
<ASP code>
Set objReference = server.CreateObject("GetBarData.class1")
set objrst=GetPull(sqlstring)
</code>
<error>
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
</error>
If I remove the server. refrence, then I get:
<error>
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'GetBarData.class1'
</error>
I understand the second error, the dll is not registered on teh client, but the server.
<sigh> There HAS to be an awnser to this....
Re: Cannot create DLL/ wrong ProgID
Sheesh. Nothing guys?
I am running this on Win2K server if that helps.
Re: Cannot create DLL/ wrong ProgID
In a nutshell the program ID "GetBarData.class1" is not correct.... are you *sure* it's right?
-tg
Re: Cannot create DLL/ wrong ProgID
Yup. But, I get the dunce cap today...
<ASP code>
Set objReference = server.CreateObject("GetBarData.class1")
set objrst=objReference.GetPull(sqlstring)
</code>
I didnt refrence the object. Sheesh....