So, today I
- installed the azure SDK 2.1, and
- created a new project With a single WorkerRole,
- got the Caching package using NuGet,
- set the caching for the role to "Collocated"
- Set the Host to "WorkerRole1" in the app.config
- commented the security section since this is only a test
- inserted the following line on the "Run" `DataCache c = new DataCacheFactory().GetDefaultCache();
- Hit Debug
and got this error trying to execute the line above:
There is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.)
I looked around a lot (for about 5 hours) and found no explanation for this... Can anyone help?
I installed the older version of the SDK (versions 1.8 and 2.0) and now its working... go figure...