Enterprise library with workflow foundation 4.0-throwing exception in starting service RRS feed

  • General discussion


    I want to use enterprise library validation with wf4.0. Below is my configuration.

    <?xml version="1.0" encoding="utf-8" ?>
        <compilation debug="true" targetFramework="4.0" />
          <service name="Service1" behaviorConfiguration="PublishMetadata">
            <endpoint address=""
            binding="basicHttpBinding" contract="ITestService" behaviorConfiguration="Validation"/>       
            <behavior name="Validation">
              <validation enabled="true"/>
            <behavior name="PublishMetadata">
              <serviceMetadata httpGetEnabled="true"/>
            <add name="validation"
                 type="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF.ValidationElement, Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF, Version=, Culture=neutral, PublicKeyToken=null" />
        <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
        <modules runAllManagedModulesForAllRequests="true"/>

    It is throwing exception when i try to browse service in web browser. Exception :-

    Server Error in '/' Application.

    Value cannot be null. Parameter name: operation.SyncMethod Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: operation.SyncMethod

    • Changed type LeoTang Friday, June 1, 2012 11:51 AM
    Tuesday, May 22, 2012 11:23 AM

All replies

  • Hi,

    I suspect that Enterprise Library validation application block support integration with WCF Workflow service. It is more proper discussed at:


    Thursday, May 24, 2012 10:08 AM
  • Thanks Franconia,

    I tried but not able to find any relevant post there ..can you share the post...

    Friday, May 25, 2012 8:40 AM