Avatar of davetng
davetng

asked on 

Removing Components-dll

I have installed Windows 2000 advanced server recently. I have tried creating some ASP components by using the Components services. But later when I try to remove them from the Component Services, they only disappear from the Component Services but the physical dll is still in the folder and they do not seem to appear unless I reboot the system.

I find that to be very tedious.
I would like to ask if there is an easier way out. Can I know how to do it in details.

And another question,
If I have a project called "DDO", have compiled and added in the Component Services, and later on I have added another method in the project, and have to compile it again. Do I have to remove the previous component and then register the new one? They both have the same name. The problem is that if I remove it, it will affect the pages that are using this component.
Is there a better way? Can I have the details.
ASP

Avatar of undefined
Last Comment
Atsafrir
Avatar of Marine
Marine

Yes, you have to remove the previouse one and re-register new once. To remove use
regsvr32 /u dllpath
to register you know how to do it

regsvr32 /r dllname
Avatar of davetng
davetng

ASKER

I am installing/registering it using the Component Services. But in order to remove it I have to reboot. Any easier way?
Avatar of Marine
Marine

Don't know but thats the problem with DLLS you have to shut down webserver. I think.
Avatar of jkunal
jkunal
Flag of India image

You will not have to reboot if you destroy the instance of the dll.

Take a look at your addref and release methods, i think u have not written them properly.
As you know the dll will load in the clients memory process, so you do not have to reboot the system , you can as well close the application.
ASKER CERTIFIED SOLUTION
Avatar of Atsafrir
Atsafrir

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ASP
ASP

Active Server Pages (ASP) is Microsoft’s first server-side engine for dynamic web pages. ASP’s support of the Component Object Model (COM) enables it to access and use compiled libraries such as DLLs. It has been superseded by ASP.NET, but will be supported by Internet Information Services (IIS) through at least 2022.

82K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo