Tuesday, August 25, 2020

DMF/DIXF Common Errors

 1. Unable to connect to the remote server

No connection could be made because the target machine actively refused it 127.0.0.1:10002

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 127.0.0.1:10002

   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

   --- End of inner exception stack trace ---

  

Solution: 

Restart the Azure Storage Emulator service. Follow these steps below

1. Go to the path C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator  and open the command prompt as Administrator.

• AzureStorageEmulator.exe stop

• AzureStorageEmulator.exe clear

• AzureStorageEmulator.exe start