c# - can't get the exception of wcf under iis -
we running wcf service on iis throwing an exception.
however, includeexception = true in servicebehavior configuration section , compile = debug no exception details revealed , generic message recommending enable attribute mentioned.
how wcf show real error?
please make sure have following 2 entries set true under servicebehaviors section
<servicedebug includeexceptiondetailinfaults="true"/> <servicemetadata httpgetenabled="true"/>
Comments
Post a Comment