Error Writing Encrypted Data To The Web Server
26, 20101 0 0 0 Symptoms During the installation of IIS 6.0 on Windows Server 2003, the setup may throw a message box indicating the following: Error writing encrypted data to the Web Server's configuration database (Metabase). 0x80090010=Access denied. Below is the screenshot of the exact error. Cause This issue occurs as the Sysocmgr.exe (The EXE for installing Windows components including IIS 6.0) tries to write the encrypted data to the Metabase.xml file. During this process, it looks for the machine key inside the C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys folder. If it cannot find the key then it will try to create the key. During this Key creation process it calls CryptGenKey() method of advapi.dll. This in turn calls the rsaenh.dll (Microsoft’s cryptography service provider (CSP)) for the key creation. In this failing scenario, some 3rd party software had incorrectly registered a different dll (rsabase.dll) as our CSP binary. Rsabase.dll was used in Windows operating systems prior to Windows Server 2003. In Windows Server 2003 and onwards all Microsoft CSPs were merged into rsaenh.dll. Resolution 1) Unregister rsabase.dll - regsvr32 /u %windir%\system32\rsabase.dll 2) Register rsaenh.dll - regsvr32 %windir%\system32\rsaenh.dll 3) Reinstall IIS More Information NOTE: If you select to write all the data unencrypted as per the error message box in the above screenshot (“Write UnEncrypted/All”) then setup may complete but the World Wide Web (WWW) service will not start. So it is not recommended to choose that option. In IIS6.log file, you will see following entries being logged when you get this error, [4/12/2010 18:47:14] OC_COMPLETE_INSTALLATION:iis_core:SetAdminACL:(/)Start. [4/12/2010 18:47:14] OC_COMPLETE_INSTALLATION:iis_core:SetAdminACL:Write the new security descriptor to the Metabase:Start. [4/12/2010 18:47:14] OC_COMPLETE_INSTALLATION:iis_core:SetAdminACL: At this point we have already been able to write basic entries to the metabase, so… [4/12/2010 18:47:14] OC_COMPLETE_INSTALLATION:iis_core:SetAdminACL: If this has a problem then there is a problem with setting up encryption for the metabase (Crypto). [4/12/2010 18:47:14] OC_COMPLETE_INSTALLATION:iis_core:WriteSDtoMetaBase:Start. [4/12/2010 18:47:17] OC_COMPLETE_INSTALLATION:iis_core:WriteSDtoMetaBase:cmdKey():SetData(MD_ADMIN_ACL), dwdata = 84; outpSD = 57682b8, Start [4/12/2010 18:47:17] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::SetData[/:6027:MD_ADMIN_ACL]. [4/12/2010 18:48:52] OC_CO
from 98. The IIS server5.1 didn't seem to be properly installed ( In Controlpanel-> Admin tools --> iis, no items are shown whenexpanded ), so i went into the Remove Windows components,and selected REmove of IIS. After logging out and loggingin back again (both times as admin), when i try toreinstall IIS, with default accessories, the message -Error WRiting https://blogs.msdn.microsoft.com/webtopics/2010/04/26/iis-6-0-installationsetup-failure-with-the-error-0x80090010-access-denied/ Encrypted Data To The Web Server'sCOnfiguration database [Metabase], 0x800900f = Objectalready exists appears.The KB has a couple of articles devoted exclusively tothis error. However, the articles speak of the followingdirectories to be present :-. If the Windows installation is an upgradenavigate to:%windir%\Profiles\All Users\ApplicationData\Microsoft\Crypto\RSA\MachineKeys. http://microsoft.public.inetserver.iis.narkive.com/MSEYnwvB/error-writing-encrypted-data-to-the-web-server-s-configuration-database If the Windows installation is a new installationnavigate to:%system root%\Documents and Settings\AllUsers\Application Data\Microsoft\Crypto\RSA\MachineKeys<<
Printers Home & home office Business Print only Multifunction Scanners Large format & digital presses 3D Print Ink http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c00933504 & tonerDisplays & accessoriesBusiness solutionsSupport Support & troubleshooting Products Software & drivers Forums Premium helpdesk services for home Premium helpdesk services for work http://captools.com/ctnet/help/iis_installation_error_writin2.htm Extended warranties Business Premium Gaming Standard laptops Workstations Convertibles & detachables Tablets 3-in-1 Business Immersive Gaming Towers Workstations All-in-ones 3-in-1 Home & home office error writing Business Print only Multifunction Scanners Large format & digital presses 3D Print Support & troubleshooting Products Software & drivers Forums Premium helpdesk services for home Premium helpdesk services for work Extended warranties Clear search boxSearch HP.com1676317Laptops & tablets Business Premium Gaming Standard laptops Workstations Convertibles & detachables error writing encrypted Tablets 3-in-1 Desktops Business Immersive Gaming Towers Workstations All-in-ones 3-in-1 Printers Home & home office Business Print only Multifunction Scanners Large format & digital presses 3D Print Ink & tonerDisplays & accessoriesBusiness solutionsSupport Support & troubleshooting Products Software & drivers Forums Premium helpdesk services for home Premium helpdesk services for work Extended warranties Business Premium Gaming Standard laptops Workstations Convertibles & detachables Tablets 3-in-1 Business Immersive Gaming Towers Workstations All-in-ones 3-in-1 Home & home office Business Print only Multifunction Scanners Large format & digital presses 3D Print Support & troubleshooting Products Software & drivers Forums Premium helpdesk services for home Premium helpdesk services for work Extended warranties Start of content HP Support Center Product SupportSearch HP Support CenterDownload optionsDrivers & softwarePatch managementSoftware updates & licensingDiagnostic passwordsTop issues & solutionsTop issuesMost viewed solutionsTroubleshoot a problemAdvisories, bulletins & noticesManualsRepair & warranty
re-install of IIS we get the following error (screen shot attached): "Error writing encrypted data to the Web Server's configuration database(Metabase). 0x8009000f=Object already exists. Press 'Retry' to retry or 'Write UnEncrypted' to write the data unencrypted. You can change this data back to encrypted after setup has completed." None the buttons below let us install the IIS successfully. Use the following steps to resolve the error: 1.) http://www.iisfaq.com/Default.aspx?tabid=2955 2.) http://www.tech-archive.net/Archive/Internet-Server/microsoft.public.inetserver.iis/2004-02/1138.html 3.) http://lists.evolt.org/archive/Week-of-Mon-20020722/119238.html 4.) http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Microsoft_IIS/Q_21023924.html