When you add or delete Windows components, the system always prompts "installation program iis2.dll cannot be loaded, or the ocentry function cannot be found. contact your system administrator. The specific error code is 0x7e ."
Click "OK" and then prompt "the application cannot be initialized ."
1. Open the installation information file sysoc. inf in the C: \ WINDOWS \ INF \ directory,
In the [components] area, check whether IIS = IIS is available. DLL, ocentry, IIS. INF, hide, 7 rows (for this, see my note below), if not, directly in the file sysoc. in INF, you can add them directly under [components.
IIS = IIS. dll, ocentry, IIS. inf, 7
2. Check whether IIS is in the c: \ windows \ INF and c: \ windows \ system32 \ setup system directories. DLL and IIS. INF (or iis2.dll and iis2.inf) files, if not, copy them to another computer or download them online and put them in the two folders above (the two files are listed below ).
Note:
Note: (1) Some lite versions have no iis at all. DLL and IIS. INF files, so even if there is IIS = IIS. DLL, ocentry, IIS. INF, hide, and 7 lines cannot be installed,
Tip (2) if your system's sysoc. INF already has IIS = IIS. DLL, ocentry, IIS. INF, hide, 7, but you follow the online tutorial to export the iis2.dll and iis2.inf files to c: \ windows \ INF and C: \ windows \ system32 \ setup system directory, there are also prompts on similar questions, because the file names are different, the former is written in IIS. DLL and IIS. INF, And you export iis2.dll and iis2.inf,
Note (3) there are some simplified sysoc systems. INF [components] does not contain IIS = IIS. DLL, ocentry, IIS. the line INF, hide, and 7 does not matter. Just add them under [components.
Note (4) that is to say, if the file in your system or you upload is IIS. DLL and IIS. INF, then you should write IIS = IIS under [components. DLL, ocentry, IIS. INF, hide, and 7. If you have iis2.dll and iis2.inf files in the system or you export them, you should write IIS = iis2.dll, ocentry, iis2.inf, hide, and 7 should not be confused by online tutorials.