App Fabric Visual Studio 2013 Issue

2020-07-30 03:06发布

I've upgraded my solution to work with VS2013. All builds fine.

However it seems to an issue with initialising AppFabric and it appears to be hanging on the line:

new DataCacheFactory();

The exact same code is working fine in VS2010 so it's completely thrown me!

1条回答
狗以群分
2楼-- · 2020-07-30 03:42

Can you take a hang dump of your client application when it is in a HUNG state using the Debug Diagnostic 2.0 tool (http://www.microsoft.com/en-us/download/details.aspx?id=40336) and then analyze the dump file by just double clicking the .dmp file and see the callstack of the thread that is hung while trying to create the DataCacheFactory ?

That will give an idea of where the thread is currently stuck at and should help in finding out the cause of the problem.

To collect a hang dump of the process you can just install the tool and open the tool and then click cancel on the "Rule Wizard" and go to the processes tab , find your client process and then choose Create Full User Dump

查看更多
登录 后发表回答