Inicio > cloud computing > System.IO.FileNotFoundException running Windows Azure PowerShell command

System.IO.FileNotFoundException running Windows Azure PowerShell command



I ran into this error using a fresh install of Windows Azure PowerShell (Version:0.7.3, February 2014). There were a few other
people running into this as well, so blogging it here.

Set-AzureStorageBlobContent : Could not load file or assembly ‘Microsoft.WindowsAzure.Storage.DataMovement,
Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies.
The system cannot find the file specified.
+     Set-AzureStorageBlobContent -File $filename -Container $containerName – …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Set-AzureStorageBlobContent], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.WindowsAzure.Commands.Storage.Blob.

The snapshot below shows the installed version from “Control Panel\Programs\Programs and Features”


The only place I could find the Microsoft.WindowsAzure.Storage.DataMovement.dll on the machine was the AzCopy folder and even there the version did not match.


Fusion log shows the failure as well.

Looks like C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\Azure\Microsoft.WindowsAzure.Commands.Storage.dll has a reference to this Microsoft.WindowsAzure.Storage.DataMovement.dll but the dll is missing.

// Microsoft.WindowsAzure.Storage.DataMovement, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35


Turns out this was a transient install failure, we were able to resolve this using the steps below.

1) Uninstall the “Windows Azure PowerShell – February 2014” from “Control Panel\Programs\Programs and Features”.

2) Delete the following WebPI cache:
C:\Users\<userAccount>\AppData\Local\Microsoft\Web Platform Installer

3) Reinstall “Windows Azure PowerShell” .
Open WebPlatfom Installer(on a windows8 machine, you can use Start–> type “web platform Installer”) and launch the installer.
Select “Windows Azure PowerShell” and install it.


Check the folder “C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\Azure” to make sure that the dll “Microsoft.WindowsAzure.Storage.DataMovement.dll” is present.

Categorías:cloud computing Etiquetas: ,
  1. Aún no hay comentarios.
  1. No trackbacks yet.


Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de

Estás comentando usando tu cuenta de Cerrar sesión /  Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión /  Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión /  Cambiar )


Conectando a %s

A %d blogueros les gusta esto: