You create and deploy a custom Web Part.
You add the Web Part to a page and receive a run-time error. You need to display the detailed information of the error on the page.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A.
In the web.config file, set CallStack=”True”.
B.
In the web.config file, set customErrors=”RemoteOnly”.
C.
In the registry, set the EnableDebug value to 1.
D.
In the registry, set the DisableLoopbackCheck value to 1.
Explanation:
MNEMONIC RULE: “Check all with web.config”Turning off custom errors in _layouts Web.Config for debugging mode in SharePoint 2010
http://www.khamis.net/blog/Lists/Posts/Post.aspx?ID=12