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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -