Nov 10, 2011 at 1:23 PM
Edited Nov 10, 2011 at 1:26 PM
After further investigation we found out that this exception is thrown when any
for other policies is called, thus, causing some ExceptionHandling block issue.
When the [ExceptionShielding] section in web.config is commented out then the other excpetion handling with
When the [ExceptionShielding] section is configured and [ExceptionShielding] attribute is placed on the sercive class we got the error below:
server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
the code, a few questions:
EntLib V5 configurator gives a warning "Unable to find type" for Fault Contract Type. I saw other people complained on that configurator issue but everything worked fine for them. Using the configurator we can't configure Fault Contract Type properly. Our
project structure is:
MyContract.dll - contains service interface and data contracts. No references to EntLib
- MyService.dll - contains service implementation with exception shielding and references to all required EntLib blocks
- IISHost - contains all above and web.config (The
configuration was based on
wonder would this project structure work fine with ExceptionShielding? Why does the configurator give an error?
Is it correct to apply [ExceptionShielding] to the service class rather then to the service interface?