2013-08-18 39 views
0

我无法连接表,但连接blob正常。Windows Azure存储表无法连接,但blob正常

这里是我的代码:

 storageAccount = CloudStorageAccount.Parse(CloudConfigurationManager.GetSetting("tableStorage")); 

     audioBlob = storageAccount.CreateCloudBlobClient().GetContainerReference("mycontainer"); 
     bool y = audioBlob.Exists(); 

     CloudTableClient tableClient = storageAccount.CreateCloudTableClient(); 
     submitInfoTable = tableClient.GetTableReference("people"); 
     bool x = submitInfoTable.Exists(); 

我调试它,ytrue。 但是,当它运行到bool x = submitInfoTable.Exists();,我等待很长时间,它是没有回应。

任何人都知道如何解决它?请帮帮我!

回答

3

你的代码对我来说很合适。如果你连接到存储模拟器,你能否确保桌面服务正在模拟器中运行?

enter image description here

+2

并且端口10002未被某个torrent客户端使用。 –