Base solution for your next web application
Open Closed

mapping error hidden by user friendly error message #2184


User avatar
0
sergiop created

HEllo This following line rise the user friendly error as attached var xxx = outputxxx.MapTo<EntityXXX>();

IN WEB CONFIG

&lt;customErrors mode=&quot;RemoteOnly&quot;&gt;

  &lt;error statusCode=&quot;404&quot; redirect=&quot;~/Error/E404&quot; /&gt;
&lt;/customErrors&gt;

</system.web> <runtime>

Pleas could you le me know where to disable it to let me troubleshoot it. Thank you very much.


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    It is better to check Logs.txt file under your web project. If you want to show this error to user, you need to disable <customErrors mode="RemoteOnly"> and enable <customErrors mode="On">.

  • User Avatar
    0
    sergiop created

    It helped, thank you very much !!!!