⟩ Suppose You create an XML Web service named Time ESService. Each time ESService is started, itchecks for the existence of an event log named Time ESServiceLog. If TimeServiceLog does notexist, Time ESService creates it. You discover that when Time ESService creates TimeESServiceLog, it throws a System.Security.SecurityException. The exception includes thefollowing message "Requested registry access is not allowed". You need to resolve this problem.What should you do?A. Configure Inetinfo.exe to run as the local administrator user account.B. Create an installer for Time ESService, and create the new event log in the installer code.C. Modify the Web.config file by adding an identity element to impersonate the LOGON userspecified by Internet Information Services (IIS).D. Modify the permissions of theKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlog registry key to givefull control to the IUSR_computername user account.
B. Create an installer for Time ESService, and create the new event log in the installer code.