0
IISでホストされているWindows Workflow 4 Serviceを作成しようとしています。私は以下のようにサービスを設定しました基本的なワークフロー4ウェブサーバーの永続性.xamlxサービスが動作しません。
<system.serviceModel>
<services>
<service name="ApprovalService" behaviorConfiguration="ApprovalServiceBehavior">
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="ApprovalServiceBehavior">
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true" />
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false" />
<sqlWorkflowInstanceStore connectionStringName="WorkflowPersistence" />
<workflowIdle timeToPersist="0" timeToUnload="0:05:0"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
サービスは継続しません!カスタムの永続化のようなサービスには何も魔法はありません。カスタムパーシスタンスメソッドを持っている別のサービスで動作していますが、違いを理解することはできません。
おそらく私のサービスがエラーになっているかもしれませんが、デバッグにどのように手を差し伸べるかを理解できないようです。
ご協力いただければ幸いです!
ありがとう@Maurice。私はプロジェクトが何とか壊れていると信じています。新しいプロジェクトでは、私は辛抱強く仕事をすることができました。しかし、私はまだ私のワークフローの次のステップを働かせることはできません。トレースログは以下を示します(例として) 'System.Activities Information:1010:1010Activity' System.Activities.Statements.Sequence '、DisplayName:' Sequence '、InstanceId:' 4 'が' Faulted '状態で完了しました.dfd44601-1-129677869969456729 ' – Steven
オクラホマ、それを得ました。私がサービスに送っていたデータに問題がありました。トレース出力は役に立ちましたが、出力した内容はVerboseとはまったく異なります...とにかく、もう一度@Mauriceに感謝します! – Steven