Custom faults in asmx
Ever wanted to return a custom SOAP fault from asmx without the extra information about where the error is coming from etc.? Try this:
<configuration>
<system.web>
<customErrors mode="On" />
</system.web>
</configuration>
Denne nettleseren støttes ikke lenger.
Oppgrader til Microsoft Edge for å dra nytte av de nyeste funksjonene, sikkerhetsoppdateringene og den nyeste tekniske støtten.
Ever wanted to return a custom SOAP fault from asmx without the extra information about where the error is coming from etc.? Try this:
<configuration>
<system.web>
<customErrors mode="On" />
</system.web>
</configuration>