IIS 7 and Above
Register certmap.ocx and certwiz.ocx in Windows 7/IIS 7. Are they sti...
Last post Jul 09, 2012 04:43 PM by owjeff
Jul 06, 2012 01:16 PM|loweryk|LINK
I support an application that was built on Windows XP by an offshore vendor. Instructions for setting up a developer workstation requires the creation of an HTTPS certficate on the local machine, registering the certificate, and registering the following
.dll and .ocx files:
I am moving our application to WIndows 7 (64-bit) with IIS 7. I created and registered an HTTPS certificate on my Windows 7 box and I am attempting to register the three files above. I discovered that c:\windows\system32\xenroll.dll has been replaced by
c:\windows\syswow64\certenroll.dll, and I have successfully registered this file.
I am unable to register certmap and certwiz and I cannot either of these files on my Windows 7 box. I searched the web and I am unable to discover any information regarding these files in a Windows 7 /IIS 7 environment. Do I no longer need to register these
files in a Windows 7/IIS 7 environment? If I do need to register these files in a Windows 7 environment, have they been replaced by other files (e.g. xenroll.dll is now certenroll.dll)?
Jul 06, 2012 01:48 PM|owjeff|LINK
Jul 09, 2012 12:51 PM|loweryk|LINK
Thanks for the reply. Unfortuantely, we have parted ways with our vendor and they are no longer assoicated with our project. Our application is a Windows forms application built on SCSF/CAB and Windows Communication Foundation. Our client calls our WCF services
which talks to our database. We have 2 Visual Studio solutions for our application (Client and WCFServices).
We need to setup each developer workstation so that we can step into our WCFServices solution while debugging, and the registration of certmap.ocx and certwiz.ocx is part of this process. The process for setting up a Windows XP developer workstation is:
makecert -pe -n "CN=CMESTestCert" -ss my -sr LocalMachine -a sha1 -sky signature -r "CMESTestCert.cer"
“Regsvr32” and then type C:\Windows\System32\Xenroll.dll
It appears that Xenroll.dll has been replaced in Windows 7 by CertEnroll.dll
I was able to register Certenroll.dll on my Windows 7 box.
Register .ocx files (certmap.ocx and certwix.ocx)
certmap.ocx and certwiz.ocx do not exist on my Windows 7 box, so I copied both files from my XP box to my Windows 7 box and attempted to register them, but my attempt
to register them on Windows 7 was unsuccessful.
I rec'd the error. "The module C:\WIndows\system32\inetsrv\certmap.ocx failed to load. Make sure the binary is stored at the specified path or debug it to check for
problems with the binary or dependent .DLL files. The specified module could not be found."
I do not know if any other files are required to properly register either of these files. I have searched the web and all I can find are links that discuss how to
fix errors w/ each of these .ocx files. I cannot find anything related to what they do/are or if they have been replaced by other files in Windows 7.
I don't know if this information helps to explain my situation w/ Windows 7/IIS 7, but any help is greatly appreciated.
Jul 09, 2012 04:43 PM|owjeff|LINK
Does the application you're debugging have something to do with certs? If not, I can't see why these would need to be registered. From what I can gather, those 3 files are specific to configuring certificates for sites in IIS6 and you wouldn't need them
in IIS7. Rather, you'd install the cert via the certificates MMC snap-in, and create an HTTPS binding. Best I can tell, your vendor gave you generic information to fix a bug in IIS6 per this KB article: