You need to ensure that the actual exception data is provided to client computers

You use Microsoft Visual Studio 2010 and Microsoft NET Framework 4 to create an application. You
deploy a Windows Communication Foundation (WCF) Data Service to a production server. The
application is hosted by Internet Information Services (US). After deployment applications that
connect to the service receive the following error message. The server encountered an error
processing the request. See server logs for more details. You need to ensure that the actual
exception data is provided to client computers. What should you do?

You use Microsoft Visual Studio 2010 and Microsoft NET Framework 4 to create an application. You
deploy a Windows Communication Foundation (WCF) Data Service to a production server. The
application is hosted by Internet Information Services (US). After deployment applications that
connect to the service receive the following error message. The server encountered an error
processing the request. See server logs for more details. You need to ensure that the actual
exception data is provided to client computers. What should you do?

A.
Modify the application’s Web config file Set the value for the customErrors element to Off

B.
Modify the application’s Web config file Set the value for the customErrors element to
RemoteOnly

C.
Add the FaultContract attribute to the class that implements the data service

D.
Add the Service Behavior attribute to the class that implements the data service.



Leave a Reply 0

Your email address will not be published. Required fields are marked *