Dynamics365 – Microsoft.WindowsAzure.Storage.StorageException …

When trying to work with local VM for Dynamics 365, if the Store Emulator is not running you will get following error. This will appear when you try to export/ import the data from D365.

You can start the Azure Store Emulator on OneBox VM “C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\”

emulator

See the exception below:

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 —
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
— End of inner exception stack trace —
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 Microsoft.DynamicsOnline.Infrastructure.Components.TableAccessor.TableStorageAccessor.AddRecord[T](CloudStorageAccount storageAccount, String tableName, T record)
at Microsoft.DynamicsOnline.Infrastructure.Components.SharedServiceUnitStorage.SharedServiceUnitStorage.CreateData(SharedServiceUnitStorageData data)
at Dynamics.AX.Application.DmfDataPopulation.getAzureBlobWriteUrl(Guid _fileId, String _fileName, String category, Boolean @category_IsDefaultSet) in xppSource://Source/ApplicationFoundation\AxClass_DmfDataPopulation.xpp:line 125
at Dynamics.AX.Application.DmfDataPopulation.getAzureBlobWriteUrl(Guid _fileId, String _fileName)
at Dynamics.AX.Application.DMFGenerateSSISPackage.generateFileData(DMFDefinitionGroupExecution _dmfDefinitionGroupExecution, String _defGroupName, DMFFileFormat _fileFormat, DMFDelimiter _rowDelimiter, DMFDelimiter _columnDelimiter, String _codePage, String _locale, NoYes _isFirstRowHeader, NoYes _unicode, String _source, String _textQualifier, DMFXMLStyle _style, String _rootElement, String _filePath) in xppSource://Source/ApplicationFoundation\AxClass_DMFGenerateSSISPackage.xpp:line 1015
Request Information
RequestID:
RequestDate:
StatusMessage:

Dynamics365 -display method not found, missing module reference?

While building a new form in the Dynamics365 for operations, I got following error.

display method ‘districtName_BR’ defined on ‘CustTable’, referenced in data source ‘CustTable’ of form ‘RwCustomers’, returns type ‘LogisticsAddressDistrictName’, which is not recognized. Are you missing a module reference?

dax365-mising-reference

This clearly points us to look for a missing reference, when working with 365 – our references are coming from the model that we are referencing. Seems like we are missing “LogisticsAddressDistrictName” type in our current model.

To find the specific type – use the search bar from the Application Explorer and type the name you are searching for and than update your model to include that dependency as well.

dax365-search-for-type

Happy Daxing …

Welcome to DAX247!

Welcome,

This is the new blog focusing on the technical aspects of Dynamics AX.  Will be posting tips, trick and things related to AX from the field with hope that It will help users find solution to their problems and help them in every day usage.

Happy Daxing!