D365 FO error: Microsoft.WindowsAzure.Storage.StorageException: Unable to connect to the remote server - Microsoft Dynamics 365 Vietnam

Microsoft Dynamics 365 Vietnam

Song Nghia - Microsoft Dynamics 365 Vietnam

Breaking

Tuesday, July 21, 2020

D365 FO error: Microsoft.WindowsAzure.Storage.StorageException: Unable to connect to the remote server

Run Job execute error: "Microsoft.WindowsAzure.Storage.StorageException: Unable to connect to the remote server"


Nghia Song - Technical Consultant

Error:

Microsoft.WindowsAzure.Storage.StorageException: Unable to connect to the remote server —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it.

Solution:
  1. On OneBox VM, run command prompt as administrator.
  2. Navigate to “C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\”
  3. Run “AzureStorageEmulator.exe Init”
  4. Run “AzureStorageEmulator.exe start”
Thanks for reading.
Nghia Song