|
-
Jan 7th, 2002, 04:41 PM
#1
Thread Starter
Hyperactive Member
REGSVR32 ... Invalid ProgID
I have a simple activex dll that is being used by a simple asp. I'm just trying to learn this stuff. When I run it in vb, it is working fine. I call it like this:
Set objReference = _
Server.CreateObject "ExampleProject.ExampleClass")
This works fine.
The problem is that when I save it as a dll (ExampleProject.dll), it doesn't work. I call it like this:
Set objReference = Server.CreateObject("ExampleProject.dll")
This is the error I get:
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
/010730/ExampleProcess.asp, line 10
From what I understand, this is the error that is given when the dll isn't registered. But, I did register it like this:
REGSVR32 C:\Inetpub\wwwroot\010730\ExampleProject.dll
When I run that, It says that the registering of the dll succeeded.
Why the heck am I still getting the invalid progid error?????
please help.
thanks,
Paul
-
Jan 7th, 2002, 04:51 PM
#2
Did you compile with binary compatibility?
If not, every time you compile your client & your dll, the client will look for a different program id.
Also, you have to Regsvr32 /u <filename>
- then register the new .dll after each time you re-compile.
-
Jan 7th, 2002, 05:43 PM
#3
Thread Starter
Hyperactive Member
How do you compile with binary comatibility? I'm very knew to dll stuff.
thanks for the tip. I didn't know you need to unregister and re-register.
-
Jan 7th, 2002, 06:28 PM
#4
PowerPoster
Navivate to Project ----> Properties----->Component, then select your option.
-
Jan 7th, 2002, 06:30 PM
#5
PowerPoster
Also, you should really just be able to use project compatability until you are ready to distribute your component to the outside world. Just a little tip for ya..
-
Jan 7th, 2002, 06:43 PM
#6
Thread Starter
Hyperactive Member
bummer, still gives same invalid progid error... any other ideas??
thanks for replies
Paul
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
|