Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing Microsoft.Data.Services.Client version 5.6 on Azure Websites

I've recently tried to deploy a website to the Windows Azure websites service which utilizes Azure Storage. Upon deployment, I received the following error coming from the Storage SDK, which seems to reference a version of an assembly that doesn't yet exist. I have not been able to find this version of the DLL file anywhere. Any suggestions?

Could not load file or assembly 'Microsoft.Data.Services.Client, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

like image 555
bbosak Avatar asked Dec 08 '13 19:12

bbosak


2 Answers

Storage client library has a dependency on this assembly and unfortunately it's not downloaded automatically when you install the library through Nuget. You would need to get this package yourself. You can download this package from here: http://www.nuget.org/packages/Microsoft.Data.Services.Client/.

For more information, please read the comments on this blog post from storage team: http://blogs.msdn.com/b/windowsazurestorage/archive/2013/11/27/windows-azure-storage-release-introducing-cors-json-minute-metrics-and-more.aspx.

like image 103
Gaurav Mantri Avatar answered Oct 14 '22 00:10

Gaurav Mantri


I ended up removing storage, installing the 5.6.0 version and then re-installing

  UnInstall-Package WindowsAzure.Storage

  Install-Package Microsoft.Data.Services.Client -Version 5.6.0

  Install-Package WindowsAzure.Storage
like image 32
Fiacc Avatar answered Oct 13 '22 23:10

Fiacc