|
Registering A Component
The minimum recommended steps to
register your C++/Visual Basic ASP component are:
Copy your component to where your System DLLs
are
(probably \winnt\system32)
DO NOT leave the component in
the original directory!!!! Make sure the .DLL/component is only in the system directory
and nowhere else. If regsvr32 is executed and it rgeisters a DLL that is not in the system
directory your ASP pages may fail to instantiate the component with the dreaded message
"Active X DLL cannot create object".
from a command prompt
regsvr32 <your component name>
If you are updating a component (i.e.
registering a component that replaces another component) instead:
Copy your component to where your System DLLs
are
(probably \winnt\system32)
DO NOT leave the component in
the original directory!!!! Make sure the .DLL/component is only in the system directory
and nowhere else. If regsvr32 is executed and it rgeisters a DLL that is not in the system
directory your ASP pages may fail to instantiate the component with the dreaded message
"Active X DLL cannot create object".
from a command prompt
regsvr32 <old component name> -u
from a command prompt
regsvr32 <your component name>
start and stop web service to purge old
component from memory
|