Visit Counter

Monday, February 6, 2017

Class Not Registered ZK Attendance Management




I have installed ZK Attendance Management software on my Windows 7 64 bit OS. After installation, when I open the application, I'm getting an error message like "Class not registered". Can you help me solve this issue?


The problem is caused by the DLL that isn't correctly registered on your computer. I recommend that you run the following command to register all the DLL files using the necessary tool.
To do this, go to Start and type CMD. Right click it and select Run as Administrator. Paste the following command and then wait for its finish: FOR /R C:\ %G IN (*.dll) DO "%systemroot%\system32\regsvr32.exe" /s "%G"
Once the command is finished, run the software again and it should work. Additionally, reinstall it using its setup package.


While connect to time attendance machine getting error:  CLASS NOT REGISTERED


Below are Messages......while running the above script.


C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-msvcr100_clr_dll_31bf3856ad364e35_4.0.14305.0_none_ba482cf564b0ac9d\msvcr100_clr0400.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-msvcr120_clr_dll_31bf3856ad364e35_4.0.14305.0_none_beb50119e15f137f\msvcr120_clr0400.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-msvcr120_clr_dll_31bf3856ad364e35_4.0.14305.101_none_7e8d0b7e4e2ca385\msvcr120_clr0400.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-naturallanguage6_b03f5f7f11d50a3a_4.0.14305.0_none_5f3f2068ed7dc830\NaturalLanguage6.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-nlsdata0009_b03f5f7f11d50a3a_4.0.14305.0_none_8ead6f4a90f75f7b\NlsData0009.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-nlslexicons0009_b03f5f7f11d50a3a_4.0.14305.0_none_f8a8b0aa4cb63d5a\NlsLexicons0009.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-penimc_b03f5f7f11d50a3a_4.0.14305.0_none_8a664f39f4dd8789\PenIMC.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-perfcounter_dll_b03f5f7f11d50a3a_4.0.14305.0_none_0149234a28976eef\PerfCounter.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-peverify_dll_b03f5f7f11d50a3a_4.0.14305.0_none_8deb9024c0bee3d4\peverify.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-presentationhostdll_b03f5f7f11d50a3a_4.0.14305.0_none_09e70ecd482a42f9\PresentationHost_v0400.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-presentationnative_b03f5f7f11d50a3a_4.0.14305.0_none_45d191ec5f4432b8\PresentationNative_v0400.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-servicemodel..ormancecounters_dll_b03f5f7f11d50a3a_4.0.14305.0_none_e32e3123c980552d\ServiceModelPerformanceCounters.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-servicemodelinstallrc_dll_b03f5f7f11d50a3a_4.0.14305.0_none_f71e2a6d67f478de\ServiceModelInstallRC.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-servicemodelregui_dll_b03f5f7f11d50a3a_4.0.14305.0_none_2af7fab24e8d9a8a\ServiceModelRegUI.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-servicemonikersupport_dll_b03f5f7f11d50a3a_4.0.14305.0_none_c2855cab27647563\ServiceMonikerSupport.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-sos_dll_b03f5f7f11d50a3a_4.0.14305.0_none_3dbb98342db66929\SOS.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.addin.contract_b03f5f7f11d50a3a_4.0.14305.0_none_ad87847cd63b45ea\System.AddIn.Contract.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.addin_b03f5f7f11d50a3a_4.0.14305.0_none_49486a6a2e80f59e\System.AddIn.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.compo..del.dataannotations_b03f5f7f11d50a3a_4.0.14305.0_none_22fa666078551f20\System.ComponentModel.DataAnnotations.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.core_b03f5f7f11d50a3a_4.0.14305.0_none_96ec13f976ef247d\System.Core.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.data.datasetextensions_b03f5f7f11d50a3a_4.0.14305.0_none_166a20db4a37ebb2\System.Data.DataSetExtensions.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.data.entity.design_b03f5f7f11d50a3a_4.0.14305.0_none_e612f8e8b1723cbb\System.Data.Entity.Design.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.data.entity_b03f5f7f11d50a3a_4.0.14305.0_none_222a417bf3b8598b\System.Data.Entity.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.data.linq_b03f5f7f11d50a3a_4.0.14305.0_none_cf61b983362fabc8\System.Data.Linq.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.data.services.client_b03f5f7f11d50a3a_4.0.14305.0_none_2c233a63ce96f121\System.Data.Services.Client.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.data.services.design_b03f5f7f11d50a3a_4.0.14305.0_none_561361643c80c3d6\System.Data.Services.Design.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.data.services_b03f5f7f11d50a3a_4.0.14305.0_none_778526d29812a268\System.Data.Services.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.dynamic_b03f5f7f11d50a3a_4.0.14305.0_none_c2b7513de5be09c3\System.Dynamic.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.net_b03f5f7f11d50a3a_4.0.14305.0_none_62e7f1068c2318bd\System.Net.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.web.abstractions_b03f5f7f11d50a3a_4.0.14305.0_none_7abf9995dfe18bf7\System.Web.Abstractions.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.web.d..isualization.design_b03f5f7f11d50a3a_4.0.14305.0_none_3050159d4013b3ee\System.Web.DataVisualization.Design.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.web.datavisualization_b03f5f7f11d50a3a_4.0.14305.0_none_1c5b5a670561bbbc\System.Web.DataVisualization.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.web.dynamicdata.design_b03f5f7f11d50a3a_4.0.14305.0_none_356b4e2e2ca0f23b\System.Web.DynamicData.Design.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.web.dynamicdata_b03f5f7f11d50a3a_4.0.14305.0_none_54f3541c2fd50079\System.Web.DynamicData.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.web.entity.design_b03f5f7f11d50a3a_4.0.14305.0_none_3dc488d7c2fe2677\System.Web.Entity.Design.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.web.entity_b03f5f7f11d50a3a_4.0.14305.0_none_f64058ef28640cc9\System.Web.Entity.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.web.extensions.design_b03f5f7f11d50a3a_4.0.14305.0_none_33853a9c1cbae698\System.Web.Extensions.Design.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.web.extensions_b03f5f7f11d50a3a_4.0.14305.0_none_95bff917480463f4\System.Web.Extensions.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.web.routing_b03f5f7f11d50a3a_4.0.14305.0_none_bad8fa5542acd340\System.Web.Routing.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.windo..isualization.design_b03f5f7f11d50a3a_4.0.14305.0_none_76231f5052f42538\System.Windows.Forms.DataVisualization.Design.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.windo..s.datavisualization_b03f5f7f11d50a3a_4.0.14305.0_none_1b3758ed60078d60\System.Windows.Forms.DataVisualization.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system.xml.linq_b03f5f7f11d50a3a_4.0.14305.0_none_ab04c1a9ae7892b9\System.Xml.Linq.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system_core_ni_b03f5f7f11d50a3a_4.0.14305.0_none_96307a7a2f4c6676\system.core.ni.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system_enter..eservices_thunk_dll_b03f5f7f11d50a3a_4.0.14305.0_none_b519357267ba6e4c\System.EnterpriseServices.Thunk.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-system_ni_b03f5f7f11d50a3a_4.0.14305.0_none_3f7dfb0ca6ab2808\system.ni.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-tlbref_dll_b03f5f7f11d50a3a_4.0.14305.0_none_1c93a9de4a6d792d\TLBREF.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-vbc7ui_dll_b03f5f7f11d50a3a_4.0.14305.0_none_cdaa338468d4b252\vbc7ui.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-webengine4_dll_b03f5f7f11d50a3a_4.0.14305.0_none_2ef34cddd452a224\webengine4.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-webengine_dll_b03f5f7f11d50a3a_4.0.14305.0_none_7381f627e0e2b57e\webengine.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-wminet_utils_dll_b03f5f7f11d50a3a_4.0.14305.0_none_20f97dd7c085fde4\WMINet_Utils.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-workflowserv..ormancecounters_dll_b03f5f7f11d50a3a_4.0.14305.0_none_0ce649fe4d345561\WorkflowServiceHostPerformanceCounters.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_netfx4-wpfgfx_b03f5f7f11d50a3a_4.0.14305.0_none_8a5fca872ae9a3d7\wpfgfx_v0400.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_networking-mpssvc-admin.resources_31bf3856ad364e35_10.0.14393.0_en-us_1245eb73f51ecad4\AuthFWSnapIn.Resources.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_networking-mpssvc-admin.resources_31bf3856ad364e35_10.0.14393.0_en-us_1245eb73f51ecad4\AuthFWWizFwk.Resources.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_networking-mpssvc-admin_31bf3856ad364e35_10.0.14393.0_none_76a7fdeae024293b\AuthFWGP.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_networking-mpssvc-admin_31bf3856ad364e35_10.0.14393.0_none_76a7fdeae024293b\AuthFWSnapin.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_networking-mpssvc-admin_31bf3856ad364e35_10.0.14393.0_none_76a7fdeae024293b\AuthFWWizFwk.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_ntprint.inf_31bf3856ad364e35_10.0.14393.0_none_0c566cf919081469\I386\MXDWDRV.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_ntprint.inf_31bf3856ad364e35_10.0.14393.0_none_0c566cf919081469\I386\PCL4RES.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_ntprint.inf_31bf3856ad364e35_10.0.14393.0_none_0c566cf919081469\I386\PCL5ERES.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_ntprint.inf_31bf3856ad364e35_10.0.14393.0_none_0c566cf919081469\I386\PCL5URES.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_ntprint.inf_31bf3856ad364e35_10.0.14393.0_none_0c566cf919081469\I386\PCLXL.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_ntprint.inf_31bf3856ad364e35_10.0.14393.0_none_0c566cf919081469\I386\PJLMON.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_ntprint.inf_31bf3856ad364e35_10.0.14393.0_none_0c566cf919081469\I386\PS5UI.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_ntprint.inf_31bf3856ad364e35_10.0.14393.0_none_0c566cf919081469\I386\PSCRIPT5.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_ntprint.inf_31bf3856ad364e35_10.0.14393.0_none_0c566cf919081469\I386\UNIDRV.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_ntprint.inf_31bf3856ad364e35_10.0.14393.0_none_0c566cf919081469\I386\UNIDRVUI.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_ntprint.inf_31bf3856ad364e35_10.0.14393.0_none_0c566cf919081469\I386\UNIRES.DLL"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_policy.1.0.microsof..op.security.azroles_31bf3856ad364e35_10.0.14393.0_none_6eda7f57c51a08aa\Policy.1.0.Microsoft.Interop.Security.AzRoles.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_policy.1.2.microsof..op.security.azroles_31bf3856ad364e35_10.0.14393.0_none_be0fd33f89b5fc8c\Policy.1.2.Microsoft.Interop.Security.AzRoles.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_presentationcore_31bf3856ad364e35_4.0.14305.0_none_04b8cb3e135ebcce\PresentationCore.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_prnms003.inf_31bf3856ad364e35_10.0.14393.0_none_24254896323538cd\I386\PrintConfig.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_srmlib_31bf3856ad364e35_10.0.14393.0_none_d35e7ce6c53698cd\srmlib.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_startupapp-task-data_31bf3856ad364e35_10.0.14393.0_none_15dd750273cdf6b1\Startupscan.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_system.data.oracleclient_b77a5c561934e089_4.0.14305.0_none_a335c584d166caf1\System.Data.OracleClient.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_system.data_b77a5c561934e089_4.0.14305.0_none_44964a14a86ef5da\System.Data.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_system.data_b77a5c561934e089_4.0.14305.101_none_3c6315f663749084\System.Data.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_system.enterpriseservices_b03f5f7f11d50a3a_4.0.14305.0_none_85a688c4a2562559\System.EnterpriseServices.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_system.enterpriseservices_b03f5f7f11d50a3a_4.0.14305.0_none_85a688c4a2562559\System.EnterpriseServices.Wrapper.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_system.printing_31bf3856ad364e35_4.0.14305.0_none_7a4dced68804f53b\System.Printing.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_system.transactions_b77a5c561934e089_4.0.14305.0_none_c38a9d6d5ccc9c87\System.Transactions.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_system.web_b03f5f7f11d50a3a_4.0.14305.0_none_a72795b40ac25f28\System.Web.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-m_sm_evt_dll_vista_31bf3856ad364e35_10.0.14393.0_none_49c000dbf6b6d3c4\ServiceModelEvents.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-m_sm_ins_rc_dll_31bf3856ad364e35_10.0.14393.0_none_9a52154ea819d657\ServiceModelInstallRC.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-m_svc_mon_sup_dll_31bf3856ad364e35_10.0.14393.0_none_7733d544a9f39e0e\ServiceMonikerSupport.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-m_svc_mon_sup_dll_31bf3856ad364e35_10.0.14393.479_none_837afc1231401ddc\ServiceMonikerSupport.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-system.identitymodel.selectors_b03f5f7f11d50a3a_10.0.14393.0_none_1a72509ad1415b52\System.IdentityModel.Selectors.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-system.identitymodel_b03f5f7f11d50a3a_10.0.14393.0_none_dca96137e0adade4\System.IdentityModel.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-system.identitymodel_b03f5f7f11d50a3a_10.0.14393.479_none_fab8de7dee16f506\System.IdentityModel.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-system.io.log_b03f5f7f11d50a3a_10.0.14393.0_none_916e968c5b4d79f9\System.IO.Log.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-system.runtime.serialization_b03f5f7f11d50a3a_10.0.14393.0_none_be41a880c0e4344b\System.Runtime.Serialization.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-system.runtime.serialization_b03f5f7f11d50a3a_10.0.14393.479_none_dc5125c6ce4d7b6d\System.Runtime.Serialization.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-system.servicemodel_b03f5f7f11d50a3a_10.0.14393.0_none_cbf9b86c8ba3f1fd\System.ServiceModel.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wcf-system.servicemodel_b03f5f7f11d50a3a_10.0.14393.479_none_ea0935b2990d391f\System.ServiceModel.dll"

C:\WINDOWS\system32>"C:\WINDOWS\system32\regsvr32.exe" /s "C:\Windows\WinSxS\x86_wpf-presentationhostproxy_31bf3856ad364e35_10.0.14393.0_none_fbe0e6a3d824509c\PresentationHostProxy.dll"


......

......

Once it finished try to connect machine.


Reference:

http://answers.informer.com/124255/zkteco-attendance-management-information



DNS client configuration steps in Oracle Solaris 11




root@afi-drsvr:/etc# svccfg -s network/dns/client
svc:/network/dns/client> setprop config/search = astring: ("afigroup.com""afidc01.afigroup.com")
svc:/network/dns/client> setprop config/nameserver = netaddress: (192.0.0.9 192.0.0.10)
Unknown type "netaddress:".
svc:/network/dns/client> setprop config/nameserver = net_address: (192.0.0.9 192.0.0.10)
svc:/network/dns/client> exit
root@afi-drsvr:/etc# svccfg enable -r dns/client
svccfg: Unknown command "enable".
root@afi-drsvr:/etc#
root@afi-drsvr:/etc# svcadm refresh dns/client
root@afi-drsvr:/etc# svcadm restart dns/client
root@afi-drsvr:/etc# pwd
/etc
root@afi-drsvr:/etc# ls -l resolv.conf
-rw-r--r--   1 root     root         249 Feb  6 16:34 resolv.conf
root@afi-drsvr:/etc# cat resolv.conf

#
# _AUTOGENERATED_FROM_SMF_V1_
#
# WARNING: THIS FILE GENERATED FROM SMF DATA.
#   DO NOT EDIT THIS FILE.  EDITS WILL BE LOST.
# See resolv.conf(4) for details.

search  afigroup.com afidc01.afigroup.com
nameserver      192.0.0.9
nameserver      192.0.0.10
root@afi-drsvr:/etc#

root@afi-drsvr:/etc# svccfg -s system/name-service/switch
svc:/system/name-service/switch> setprop config/host = astring: "files dns"
svc:/system/name-service/switch> exit
root@afi-drsvr:/etc# svcadm refresh name-service/switch
root@afi-drsvr:/etc# svcadm restart  name-service/switch
root@afi-drsvr:/etc# ls -l nss*
-rw-r--r--   1 root     sys         1682 Oct  6  2015 nsswitch.ad
-rw-r--r--   1 root     sys          515 Feb  6 16:38 nsswitch.conf
-rw-r--r--   1 root     sys          511 Feb  2 15:46 nsswitch.conf.old
-rw-r--r--   1 root     sys         1392 Oct  6  2015 nsswitch.dns
-rw-r--r--   1 root     sys          925 Oct  6  2015 nsswitch.files
-rw-r--r--   1 root     sys         1221 Oct  6  2015 nsswitch.ldap
-rw-r--r--   1 root     sys         1150 Oct  6  2015 nsswitch.nis
root@afi-drsvr:/etc# cat nsswitch.conf

#
# _AUTOGENERATED_FROM_SMF_V1_
#
# WARNING: THIS FILE GENERATED FROM SMF DATA.
#   DO NOT EDIT THIS FILE.  EDITS WILL BE LOST.
# See nsswitch.conf(4) for details.

passwd: files
group:  files
hosts:  files dns
ipnodes:        files dns
networks:       files
protocols:      files
rpc:    files
ethers: files
netmasks:       files
bootparams:     files
publickey:      files
netgroup:       files
automount:      files
aliases:        files
services:       files
printers:       user files
project:        files
auth_attr:      files
prof_attr:      files
tnrhtp: files
tnrhdb: files
sudoers:        files
root@afi-drsvr:/etc#
root@afi-drsvr:/etc# pwd
/etc
root@afi-drsvr:/etc# ping testdc01
afidc01 is alive
root@afi-drsvr:/etc# ping testgroup.com
afigroup.com is alive
root@afi-drsvr:/qas/QAS_4_1_1_22824# ls
add-ons           autorun.exe       changelog.txt     copyrights.txt    eula.txt          preflight.sh      version.txt
autorun           autorun.inf       client            docs              install.sh        ReleaseNotes.htm  windows
root@afi-drsvr:/qas/QAS_4_1_1_22824# ./preflight.sh

Enter an Active Directory domain: afigroup.com
Enter an Active Directory user with administrator privileges: administrator

Report all results (default: only advisories and failures) (yes|no)? [no]: yes
--------------------------------------------------------------------------------
/qas/QAS_4_1_1_22824/client/solaris8-sparc/preflight  --verbose -u administrator afigroup.com
Starting Preflight Checks ...
Starting Install Checks
  Check for Supported operating system and correct OS patches            Success
    OS and patches checked - OK
  Check for sufficient disk space to install software                    Success
    430675138 kB available on /etc /opt - OK, 430675138 kB available
     on /var - OK
Install Checks complete                                                  Success
Starting Join Checks
Password for administrator@AFIGROUP.COM:
  Check that the hostname of the system is not 'localhost'               Success
    hostname is not localhost
  Check that the DNS Top Level Domain (TLD) is not '.local'              Success
    TLD is not local
  Check if the name service is configured to use DNS                     Success
    DNS lookups enabled in /etc/nsswitch.conf
  Check /etc/resolv.conf for proper formatting of nameservice            Success
   entries and that the nameservers can be resolved
    resolv.conf OK
  Check for a nameserver that has the appropriate DNS SRV records        Success
   for Active Directory
    afidc01.afigroup.com,afibdc01.afigroup.com
  Selects a writable DC with port 389 (UDP) open to use for the checks   Success
    DC for afigroup.com is afibdc01.afigroup.com and port 389 (UDP)
     is open
  Display AD site of user running checks if available                    Success
    Site for afigroup.com is Default-First-Site-Name
  Check if port 464 (TCP) is open for Kerberos Kpasswd                   Success
    Pinged port 464 (TCP) on afibdc01.afigroup.com
  Check if port 88 (TCP) is open for Kerberos traffic                    Success
    Pinged port 88 on afibdc01.afigroup.com using TCP
  Check if port 389 (TCP) is open for LDAP                               Success
    Pinged port 389 (TCP) on afibdc01.afigroup.com
  Check for Global Catalog and port 3268 (TCP) is open to the GC         Success
    Found global catalog at afibdc01.afigroup.com and able to ping
     on port 3268 (TCP)
  Check for a valid time skew against Active Directory DC                Success
    timesync ok with afibdc01.afigroup.com
  Check for QAS Application Configuration                                Success
    CN={786E0064-A470-46B9-83FB-C7539C9FA27C},CN=Authentication
     Services,CN=Quest Software,CN=Program Data,DC=afigroup,DC=com
Join Checks complete                                                     Success
Starting Post Join Checks
  Check if port 445 (TCP) is open for Microsoft Directory Services       Success
    Pinged port 445 (TCP) on afibdc01.afigroup.com
Post Join Checks complete                                                Success

Preflight Checks ... complete                                            Success
root@afi-drsvr:/qas/QAS_4_1_1_22824#


Reference:

https://blogs.oracle.com/gurubalan/entry/dns_client_configuration_guide_for

Sunday, January 22, 2017

Oracle 12c database cannot log in as a local user




I created database in Oracle 12c ...and I created local user but when I connect to database getting below error.

SQL> connect / as sysdba

SQL> alter session set container=ptest

SQL> alter user bsp
  2  identified by test123;

User altered.

SQL> conn bsp/test123@ptest
ERROR:

--------------------------------------------------------------------------------------------------------------

ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
--------------------------------------------------------------------------------------------------------------

-bash-4.1$ cat listener.ora
# listener.ora Network Configuration File: /ora/app/oracle/product/12.1.0/network/admin/listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = inforln)
      (ORACLE_HOME = /ora/app/oracle/product/12.1.0)
      (SID_NAME = inforln)
    )
)
#    (SID_DESC =
#      (GLOBAL_DBNAME = inforln)
#      (ORACLE_HOME = /ora/app/oracle/product/12.1.0)

#      (SID_NAME = pinforln)
#    )
#  )

LISTENER =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.0.0.106)(PORT = 1522))
  )

ADR_BASE_LISTENER = /ora/app/oracle12c

-bash-4.1$



----------------------------------------------------------------------------------------------------------

-bash-4.1$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /ora/app/oracle/product/12.1.0/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.




TEST =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.0.0.144)(PORT = 1522))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = TEST)
    )
  )

LISTENER_TEST =
  (ADDRESS = (PROTOCOL = TCP)(HOST = 192.0.0.144)(PORT = 1522))


PTEST =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.0.0.144)(PORT = 1522))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = ptest)
    )
  )

-bash-4.1$

-----------------------------------------------------------------------------------------------------------

Solution:



We have to change the local_listener parameter in spfile.



SQL> connect / as sysdba



SQL> show parameter local_listener

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
local_listener                       string




SQL> alter system set local_listener=inforln;

System altered.


SQL> show parameter local

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
local_listener                       string      INFORLN
parallel_force_local                 boolean     FALSE



SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit


-bash-4.1$ ./sqlplus /nolog

SQL*Plus: Release 12.1.0.2.0 Production on Sun Jan 22 15:07:51 2017

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

SQL> conn / as sysdba
Connected.
SQL> alter session set container=ptest;

Session altered.

SQL> connect bsp/test123@pitest;
Connected.

SQL> alter session set container=ptest;

Session altered.

SQL> connect bsp/test123@ptest;
Connected.

Friday, January 13, 2017

Oracle11g: create a Recovery Catalog for RMAN




Database must be archivelog
to perform backup through rman the database must be in archivelog mode


SQL> archive log list
Database log mode       Archive Mode
Automatic archival       Enabled
Archive destination       /export/home/oracle/app/oracle/oradata/archive1
Oldest online log sequence      241
Next log sequence to archive   243
Current log sequence             243
SQL>


Create the tablespace used by the catalog




SQL> create tablespace oracat
  2  datafile '/export/home/oracle/app/oracle/oradata/catsserp/catalogdb.dbf' size 5G;

Tablespace created.


Create the database owner of the RMAN catalog



SQL> create user catman identified by catman
  2  TEMPORARY TABLESPACE TEMP
  3  DEFAULT TABLESPACE oracat
  4  quota unlimited on oracat;

User created.


Grant the RECOVERY_CATALOG_OWNER role to to catman user



SQL> grant RECOVERY_CATALOG_OWNER to catman;

Grant succeeded.


The RECOVER_CATALOG_OWNER grants the following system privileged





SQL> select * from dba_sys_privs where grantee='RECOVERY_CATALOG_OWNER';

GRANTEE       PRIVILEGE ADM
------------------------------ ---------------------------------------- ---
RECOVERY_CATALOG_OWNER       CREATE TABLE NO
RECOVERY_CATALOG_OWNER       CREATE SYNONYM NO
RECOVERY_CATALOG_OWNER       CREATE TRIGGER NO
RECOVERY_CATALOG_OWNER       CREATE DATABASE LINK NO
RECOVERY_CATALOG_OWNER       CREATE SEQUENCE NO
RECOVERY_CATALOG_OWNER       CREATE PROCEDURE NO
RECOVERY_CATALOG_OWNER       ALTER SESSION NO
RECOVERY_CATALOG_OWNER       CREATE SESSION NO
RECOVERY_CATALOG_OWNER       CREATE TYPE         NO
RECOVERY_CATALOG_OWNER       CREATE VIEW         NO
RECOVERY_CATALOG_OWNER       CREATE CLUSTER NO

11 rows selected.

SQL>

connect to the instance and create the RMAN catalog



oracle@aficatsvr:/ora/oracle/app/oracle/product/11.2.0/dbhome_1/bin$ ./rman

Recovery Manager: Release 11.2.0.4.0 - Production on Fri Jan 13 13:37:58 2017

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

RMAN> connect catalog catman/catman

connected to recovery catalog database

RMAN> create catalog;

recovery catalog created

RMAN>









Thursday, January 12, 2017

ORA-00119: invalid specification for system




While creating database using DBCA I getting below error.

ORA-00119: invalid specification for system parameter LOCAL_LISTENER




Solution:



Before creating database I changed the host name and I forget to add entry in /etc/hosts......

Ensure the hostname information is added to /ect/hosts file and you are able to ping the hostname.

After I added the entry in /etc/hosts issue was resolved.




Reference:

ORA-119, ORA-132 ORA-1078 Received From DBCA (Doc ID 433817.1)

Monday, January 9, 2017



Netbackup server 7.6.1

root@backupserver-baan:/netbackup-software/NetBackup_7.6.1_Solaris_Sparc64# ./install


Symantec Installation Script
Copyright 1993 - 2014 Symantec Corporation, All Rights Reserved.


Installing NetBackup Server Software


Please review the SYMANTEC SOFTWARE LICENSE AGREEMENT located on
the installation media before proceeding.  The agreement includes
details on the NetBackup Product Improvement Program.

For NetBackup installation and upgrade information specific to your
platform and to find out if your installed EEBs or hot fixes are
contained in this release, check out the Symantec Operations Readiness
Tools (SORT) Installation and Upgrade Checklist and Hot fix and EEB
Release Auditor, respectively, at https://sort.symantec.com/netbackup.

ATTENTION!  To help ensure a successful upgrade to NetBackup 7.6.1,
please visit the NetBackup 7.x Upgrade Portal:
http://www.symantec.com/docs/TECH74584.

Do you wish to continue? [y,n] (y)

NetBackup installs to the running root environment, by default.

Are you installing to the running root environment? [y,n] (y)
Starting NetBackup Deduplication installer
testing: /tmp/pdde_pkg_dir_9236
NetBackup Deduplication preinstall check passed

Participate in the NetBackup Product Improvement Program? [y,n] (y)


Checking for required system conditions...

ok nbdb_ntfs_dir_symlink: inapplicable on solaris: skipping
ok remote_emm: NetBackup is not installed: skipping

Checking for recommended system conditions...

not ok semaphore_limits: unable to determine semaphore limits:
  Symantec recommends that a project named "NetBackup" be created for
  NetBackup server processes, and semaphore limits be set on that
  project.

  Performance of NetBackup Master and Media Servers can be affected
  adversely if the system is configured with low semaphore limits.  This
  test checks whether the current semaphore limits are set as
  recommended.  See https://www.symantec.com/docs/TECH203066 for
  details.
not ok ulimit_nofiles: nofiles ulimit 1024 is too low.
  NetBackup Master and Media Server processes may run slower if they are
  limited to fewer than 8000 open file descriptors.  This test runs
  'ulimit -n' and checks that the result is at least 8000 on NetBackup
  servers.  See
    https://www.symantec.com/docs/TECH75332
  for more information.
ok nb_761_hotfix_auditor: No potential for regression of hotfixes or EEBs was detected.

WARNING: One or more non-critical preinstall checks have failed.

Do you wish to continue? [y,n] (n)



File /tmp/install_trace.9076 contains a trace of this install.
That file can be deleted after you are sure the install was successful.

--------------------------------------------------------------------------------------------------

root@backupserver-baan:/#  projects -l
system
projid : 0
comment: ""
users  : (none)
groups : (none)
attribs:
user.root
projid : 1
comment: ""
users  : (none)
groups : (none)
attribs:
noproject
projid : 2
comment: ""
users  : (none)
groups : (none)
attribs:
default
projid : 3
comment: ""
users  : (none)
groups : (none)
attribs: project.max-shm-memory=(privileged,10737418240,deny)
group.staff
projid : 10
comment: ""
users  : (none)
groups : (none)
attribs:
root@backupserver-baan:/# projects -l NetBackup
projects: project "NetBackup" does not exist
root@backupserver-baan:/# /usr/sbin/projadd -U root -c "NetBackup resource project" -p 1000 NetBackup
root@backupserver-baan:/# /usr/sbin/projmod -a -K 'project.max-msg-ids=(privileged,256,deny)' NetBackup
root@backupserver-baan:/# /usr/sbin/projmod -a -K 'project.max-sem-ids=(privileged,1024,deny)' NetBackup
root@backupserver-baan:/# /usr/sbin/projmod -a -K 'project.max-shm-ids=(privileged,1024,deny)' NetBackup
root@backupserver-baan:/# /usr/sbin/projmod -a -K 'project.max-shm-memory=(privileged,8589934592,deny)' NetBackup
root@backupserver-baan:/#
root@backupserver-baan:/#
root@backupserver-baan:/# projects -l NetBackup
NetBackup
projid : 1000
comment: "NetBackup resource project"
users  : root
groups : (none)
attribs: project.max-msg-ids=(privileged,256,deny)
        project.max-sem-ids=(privileged,1024,deny)
        project.max-shm-ids=(privileged,1024,deny)
        project.max-shm-memory=(privileged,8589934592,deny)
root@backupserver-baan:/#
root@backupserver-baan:/#
root@backupserver-baan:/#ulimit -n 8000









Changing the hostname in Oracle Solaris 11





root@afi-backupsrv:~# hostname
afi-backupsrv


root@afi-backupsrv:~# svccfg -s system/identity:node listprop config
config                       application
config/enable_mapping       boolean     true
config/ignore_dhcp_hostname boolean     false
config/loopback             astring
config/nodename             astring     afi-backupsrv



root@afi-backupsrv:~# svccfg -s system/identity:node setprop config/nodename=
"backupserver-baan"

root@afi-backupsrv:~#  svccfg -s system/identity:node setprop config/loopback="backupserver-baan"

root@afi-backupsrv:~# svccfg -s system/identity:node refresh

root@afi-backupsrv:~# svcadm restart system/identity:node

root@afi-backupsrv:~# svccfg -s system/identity:node listprop config
config                       application
config/enable_mapping       boolean     true
config/ignore_dhcp_hostname boolean     false
config/nodename             astring     backupserver-baan
config/loopback             astring     backupserver-baan



root@afi-backupsrv:~# hostname
backupserver-baan

root@afi-backupsrv:~#