WorkFlow无法启动。困在workflowRuntime.CreateWorkflow上? [英] WorkFlow will not start. Stuck on workflowRuntime.CreateWorkflow?

查看:188
本文介绍了WorkFlow无法启动。困在workflowRuntime.CreateWorkflow上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用向导的Visual Studio 2008 / C#中,我创建了一个"Sequential WorkFlow Console Application"。 我没有对Visual Studio 2008生成的项目进行任何更改。 代码卡在上面:

   WorkflowInstance instance = workflowRuntime.CreateWorkflow( typeof (WorkflowConsoleApplication1。 Workflow1 ));

应用程序永远不会超时或失败。
有任何想法吗?

In Visual Studio 2008/C# using the wizard I created a 'Sequential WorkFlow Console Application'.  I have made no changes to the project genreated by Visual Studio 2008.  The code gets stuck on:

   WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof(WorkflowConsoleApplication1.Workflow1));

Application never timeouts or fails.
Any ideas?

推荐答案

我重新安装了.net 3.0和3.5,然后重新安装了visual studio 2008. 我没有安装数据库引擎。 我错过了什么。 是否需要数据库? 是否需要启动服务? 奇怪的是,我无法运行一个hello world类型的应用程序。 
任何帮助将不胜感激。
谢谢,
特里
I reinstalled .net 3.0 and 3.5 and then reinstalled visual studio 2008.  I did not install a database engine.  What am I missing.  Is a database required?  Are there services that need to be started?  It's strange that i can't get a hello world type of application running. 
Any help would be appreciated.
Thanks,
Terry


这篇关于WorkFlow无法启动。困在workflowRuntime.CreateWorkflow上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆