Answers

Question and Answer:

  Home  MCSD.NET - 70-310 Exam

⟩ You create an XML Web service named TimeService. Each time TimeService is started, it checksfor the existence of an event log named TimeServiceLog. If TimeServiceLog does not exist,TimeService creates it.You discover that when TimeService creates TimeServiceLog, it throws aSystem.Security.SecurityException. The exception includes the following message ?Requestedregistry 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 TimeService, 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 theHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlog registry key to givefull control to the IUSR_computername user account.

B. Create an installer for TimeService, and create the new event log in the installer code.

 125 views

More Questions for you: