Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/wcf/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wcf 存储过程返回未知的执行结果未知_Wcf_Workflow Foundation 4 - Fatal编程技术网

Wcf 存储过程返回未知的执行结果未知

Wcf 存储过程返回未知的执行结果未知,wcf,workflow-foundation-4,Wcf,Workflow Foundation 4,调用暂存环境中托管的工作流服务时,我遇到以下错误 Stored procedure returned unknown execution result Unknown. Server stack trace: at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Cha

调用暂存环境中托管的工作流服务时,我遇到以下错误

Stored procedure returned unknown execution result Unknown.

Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) 

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at IWorkflow.InvokeWorkflowRequest(String id)
   at WorkflowClient.InvokeWorkflowRequest(String id)
我的配置文件

  <system.serviceModel>
    <services>
      <service name="WorkflowService">
       <endpoint binding="basicHttpBinding" contract="IWorkflow"  />
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="true" />
          <sqlWorkflowInstanceStore connectionString="Data Source=.;Initial Catalog=Store;Integrated Security=True;Asynchronous Processing=True"  />
      </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>

在本地,该服务运行良好,甚至在指向我的暂存数据库时也是如此。我会很感激任何帮助。

< P>我在工作流实例基础4.5中遇到了一个类似的问题:当一个新实例被持久化而没有定义身份时,

引发异常“存储过程返回未知的执行结果未知”,未给出内部异常

引发异常是因为SaveInstance过程返回99,并且是由表[System.Activities.DurableInstance].[DefinitionIdentityTable]中缺少行引起的

可以使用以下sql脚本重新创建缺少的行:

插入[System.Activities.DurableInstance]。[DefinitionIdentityTable] [代理身份ID],[定义身份验证], [DefinitionIdentityAnyRevisionHash]、[Name]、[Package]、[Build], [主要],[次要],[修订]值1, N'00000000-0000-0000-0000-00000000', N'00000000-0000-0000-0000-000000000000',空,空,空,空,空, 空的


我希望它有助于某人

,当一个新实例被持久化而没有定义身份时,工作流基础4.5也遇到了类似的问题。

引发异常“存储过程返回未知的执行结果未知”,未给出内部异常

引发异常是因为SaveInstance过程返回99,并且是由表[System.Activities.DurableInstance].[DefinitionIdentityTable]中缺少行引起的

可以使用以下sql脚本重新创建缺少的行:

插入[System.Activities.DurableInstance]。[DefinitionIdentityTable] [代理身份ID],[定义身份验证], [DefinitionIdentityAnyRevisionHash]、[Name]、[Package]、[Build], [主要],[次要],[修订]值1, N'00000000-0000-0000-0000-00000000', N'00000000-0000-0000-0000-000000000000',空,空,空,空,空, 空的


我希望它能帮助某人

搜索引发异常的位置:存储过程返回未知执行结果未知。net框架不太可能抛出异常,因为您是google中唯一的热门用户。我猜你的登台环境有一个错误的数据库配置。谢谢你的回复。我会从DBA那里得到消息,也许他们能看到一些东西。我删除了数据库运行bat文件来重新创建数据库实例,它正常工作了。再次感谢。搜索引发异常的位置:存储过程返回未知执行结果未知。net框架不太可能抛出异常,因为您是google中唯一的热门用户。我猜你的登台环境有一个错误的数据库配置。谢谢你的回复。我会从DBA那里得到消息,也许他们能看到一些东西。我删除了数据库运行bat文件来重新创建数据库实例,它正常工作了。再次感谢。