2015-05-20 13 views
0

当我尝试调试简单HelloWorldStateful服务,我得到以下错误:错误与StatefulService

Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in Microsoft.ServiceFabric.Data.Log.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.ArgumentException' in Microsoft.ServiceFabric.Data.Log.dll Exception thrown: 'System.ArgumentException' in mscorlib.dll Exception thrown: 'System.ArgumentException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in Microsoft.ServiceFabric.Data.Log.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in Microsoft.ServiceFabric.Replicator.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in Microsoft.ServiceFabric.Replicator.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll Exception thrown: 'System.AggregateException' in mscorlib.dll Exception thrown: 'System.IO.FileNotFoundException' in System.Fabric.dll

我可以运行无状态的服务,这两种类型的演员罚款。但有状态的服务只是不想为我工作。有任何想法吗?

+0

欢迎计算器!你尝试过什么迄今为止解决问题了吗?请阅读http://stackoverflow.com/help/how-to-ask和HTTP ://stackoverflow.com/tour – ericbn

+0

我已经在服务上运行健康状态,并得到以下错误:副本在打开期间有多个失败。错误= -2147024894,这导致我打开跟踪System.IO.Exceptions在调试器,它给了我上面的堆栈跟踪。另外,我的硬盘上有200GB,所以这不应该成为问题。 –

回答

0

看到这个话题。

https://social.msdn.microsoft.com/Forums/azure/en-US/6ca0527a-8aa7-44e4-bca2-7087f217a434/problem-deploying-helloworldstateful-stateful-service?forum=AzureServiceFabric

“默认情况下安装程序安装服务织物到C:\ SfDevCluster

我也有类似的问题,当我安装服务织物到非默认驱动器&文件夹只有状态服务(。不是演员)失败。调试和打破异常没有帮助。

工作得很好,当我离开的安装为默认值。

我不知道如果w ^作为根本原因,但事后工作得很好。值得一试。希望这可以帮助。 “

这篇对你的工作?