What action should you take?

DRAG DROP
Exhibit: The server encountered an error processing the request. See server logs for more details
There is MS Visual Studio 2010 and MS .NET Framework 4 application PassGuideApp.
There is a WCF Data Service deployed a server PassGuideSrv.
PassGuideApp is hosted by US IIS.
The error message in the exhibit is shown when the service was deployed.

You want to explore the problem in more detail.
The exception data must be available to the end users.
What action should you take?

DRAG DROP
Exhibit: The server encountered an error processing the request. See server logs for more details
There is MS Visual Studio 2010 and MS .NET Framework 4 application PassGuideApp.
There is a WCF Data Service deployed a server PassGuideSrv.
PassGuideApp is hosted by US IIS.
The error message in the exhibit is shown when the service was deployed.

You want to explore the problem in more detail.
The exception data must be available to the end users.
What action should you take?

Answer:

Explanation:



Leave a Reply 2

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


John Galt

John Galt

Another retarded question. Clearly the last two actions are:
1) ???…
2) …Service Behavior attribute…
3) …and set includeExceptionDetailInFaults to true

You can verify by looking at the following link:
http://msdn.microsoft.com/en-us/library/ff649234.aspx

The question now is what is the first action. It’s either:
For the class that implements the service add…
or
In web-config file for TestKingApp change…

Now my question is, where the fuck TestKingApp came from? Because my initial instinct is to go with modifying web.config file, as opposed to adding attributes. In fact if you google includeExceptionDetailInFaults, you never see it being added via attribute modification. It’s always done by editing web.config file. So it looks like the answer should be:
… In web.config file…

but the problem is that stupid TestKingApp that came out of nowhere. That makes me go with the suggested answer:
…For the class that implements the service add…

I guess I’ll have to see what the actual question is during exam to make the final decision.

Jim BBQ

Jim BBQ

There shhould be another action where u set the web.config