Error:
Full error is as below, while generating reports in Developer VM.
Unable to connect to the remote server at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext) at Microsoft.WindowsAzure.Storage.Table.CloudTable.Exists(Boolean primaryOnly, TableRequestOptions requestOptions, OperationContext operationContext) at Microsoft.WindowsAzure.Storage.Table.CloudTable.CreateIfNotExists(TableRequestOptions requestOptions, OperationContext operationContext) at Microsoft.DynamicsOnline.Infrastructure.Components.TableAccessor.TableStorageAccessor.PerformOperation(CloudStorageAccount storageAccount, String tableName, Func`1 operation) at
Reason:
Azure emulator service is not running due to port conflict with another windows service.
How to find what is running on what port?
using any of the below commands in cmd will give you list of the ports used by services.
How to solve error?
To resolve this error open CMD with Administrative privileges
Navigate to location: "C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\"
Execute command AzureStorageEmulator.exe start.
In my case service was not started due to same ports were being used by another application.
I have changed port number for Azure Emulator to run on different port and started service.
Below is Picturization for the same.
Full error is as below, while generating reports in Developer VM.
Unable to connect to the remote server at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext) at Microsoft.WindowsAzure.Storage.Table.CloudTable.Exists(Boolean primaryOnly, TableRequestOptions requestOptions, OperationContext operationContext) at Microsoft.WindowsAzure.Storage.Table.CloudTable.CreateIfNotExists(TableRequestOptions requestOptions, OperationContext operationContext) at Microsoft.DynamicsOnline.Infrastructure.Components.TableAccessor.TableStorageAccessor.PerformOperation(CloudStorageAccount storageAccount, String tableName, Func`1 operation) at
Reason:
Azure emulator service is not running due to port conflict with another windows service.
How to find what is running on what port?
using any of the below commands in cmd will give you list of the ports used by services.
netstat -bano
netstat -a
In my case, those ports were in use by windows application, which i can not stop or change port.How to solve error?
To resolve this error open CMD with Administrative privileges
Navigate to location: "C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\"
Execute command AzureStorageEmulator.exe start.
In my case service was not started due to same ports were being used by another application.
I have changed port number for Azure Emulator to run on different port and started service.
Below is Picturization for the same.
ReplyDeleteExactly .....Thank you