Do you see a Red X near to a SNAP-IN. :-O.How to Fix Serious Errors Caused by the Deletion of .dll files or .lib(Library) files
There will be serious system errors caused by misplaced or deleted Dynamic Link Libraries and Type Libraries. Especially for Snap-ins in Windows XP/Servers. This is a critical issue for System Administrators. Assume that suddenly you see a Red X, near to say "Local Users And Groups" and the Administrator can not access (Or The Active Directory Users And Groups) what will happen? That is a serious problem. This can happen due to a file deletion or a registry modification or often caused by an Ant
Do you see a Red X near to a SNAP-IN. :-O.How to Fix Serious Errors Caused by the Deletion of .dll files or .lib(Library) files?
If so this is not what you are gonna see...
You will see a red X mark near to that.........
There will be serious system errors caused by misplaced or deleted
Dynamic Link Libraries and Type Libraries. Especially for Snap-ins of
Windows XP. This is a critical issue for System Administrators. Assume
that suddenly you see a Red X, near to say "Local Users And Groups" and
you can not access (Or The Active Directory Users And Groups
:-O)...What will happen. You are in a serious trouble.1. If you are missing a Type Library as an example "Local Users and Groups"
Use "regtlib or regtlibv12 (version 12) "
1.1. How To ?
Find where that tool is. It is usually located where the .Net framework is installed. Coz it comes with .NetFw
As an example it will be Located At
What You have to do is ,
I. Open a Command Prompt (The easiest way it Hit Windows Key-> Hit R Key -> Type cmd and the Hit Enter Key.
II.. Navigate to that Location Using Command Prompt.
III.. Type -> regtlibv12 [location of the library file – Full Path]
IV. regtlibv12 C:\WINDOWS.1\system32\activeds.tlb - This Is For USERS AND GROUPS SNAP-IN.
DONE! Then go to LOCAL USERS AND GROUPS OR ACTIVE DIRECTORY USERS AND
GROUPS and You will see the Red X is no more. Happy now??? Great.
2. Let’s move into .dll files now.
2.1 Select Start -> Run.
2.2 Type the following in the dialog box that appears:
regsvr32 [Full path of the .dll or the .ocx file]
Where the .ocx file is the ActiveX control.
Say, you wanna register the activeds.dll – Ads Router Layer.
I. In The RUN box Type In regser32 ROOT:\WINDOWS\system32\activeds.dll.
Yipee!!! You did it…
Remember! After completing each of the Registration Processes, The Success message will be shown; or the failure also.
Note:- You can use regtlib and regserv for 16 Bit applications.
And You Can Un-Register dll files or ocx files using -> regsvr32 /u [Full path of the .dll or the .ocx file].
3. How To Register/ Un-Register a .EXE File Or An ActiveX Server.
3.1 You must use the switch /RegServer.
3.2 To Un-Register you can use /UnRegServer.
1. Select Start-> Run
2. Type the following in the dialog box that appears:
[Full path of the EXE file] /RegServer
Full path of the EXE file -> is the location of your EXE server
As an example->C:\TestStand\Bin\REngine.exe /RegServer)
OK NOW YOU WILL JUMP OFF YOUR SEAT. HE HE HE ;) Don’t forget to say thanks!!!!!
Note: If you find that you are dealing extensively with Type Libraries, ActiveX Controls, and ActiveX Servers, you may find the utility linked below useful. It is a very simple utility that allows you to quickly register and unregistered Type Libraries, ActiveX Controls, and ActiveX Servers. The application is distributed freely by the Common Controls Replacement Project (CCRP), and the readme file included with the application explains how to use it. Also refer to KB 2XDAB1SJ for more information about .ocx files (linked below)
Common Controls Replacement Project
Related Links: Common Controls Replacement Project
KnowledgeBase 2XDAB1SJ. Why Does regsvr32.exe Register the .ocx file From the windows\system32 Directory, Although I Specify it to Register the .ocx File with the Same Name but From Another Directory?
By Tharinda Lasika Popularity (2346 Views)