|
-
Mar 29th, 2007, 11:49 AM
#1
Thread Starter
Fanatic Member
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....
-
Mar 30th, 2007, 07:23 AM
#2
Thread Starter
Fanatic Member
Re: Cannot create DLL/ wrong ProgID
Sheesh. Nothing guys?
I am running this on Win2K server if that helps.
-
Mar 30th, 2007, 07:59 AM
#3
Re: Cannot create DLL/ wrong ProgID
In a nutshell the program ID "GetBarData.class1" is not correct.... are you *sure* it's right?
-tg
-
Mar 30th, 2007, 09:15 AM
#4
Thread Starter
Fanatic Member
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....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|