web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / No longer be able to r...
Finance forum

No longer be able to run schedule job!

(0) ShareShare
ReportReport
Posted on by 1,575

Hi there,

We're customizing D365FO Retail POS in local onebox VM.  The schedule jobs had worked porperly for 3 month, yesterday it failed to work.  the error meaasge is as below.   any ideas?

Failed on #3 try of uploading data package to blob storage, error message: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> 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.UploadData(SharedServiceUnitStorageData data, String fileToBeUploaded, String blobContentType) at Dynamics.AX.Application.RetailCDXPackageStore.doWritePackage(Int64 dataGroupRecId, RetailCDXDownloadUpload direction, String srcFileFullPath, String destFileName) in xppSource://Source/Foundation\AxClass_RetailCDXPackageStore.xpp:line 182 at Dynamics.AX.Application.RetailCDXPackageStore.`writePackage(Int64 dataGroupRecId, RetailCDXDownloadUpload direction, String srcFileFullPath, String destFileName, Int32 _maxRetryCount, Boolean @_maxRetryCount_IsDefaultSet) in xppSource://Source/Foundation\AxClass_RetailCDXPackageStore.xpp:line 47 --- End of inner exception stack trace

I have the same question (0)
  • Verified answer
    Shahil Profile Picture
    635 on at

    Hey Feng

    Can you check if the Azure emulator is running on your VM. 

    If you're saying this was working before then you might wanna check if there was a port conflict with your Azure emulator. 

    You can change your ports for blob, Queue and table in the AzureStorageEmulator.exe config file in the following location 

    C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator

    Start the emulator again once changed  and try scheduling jobs and see if it works.

    Cheers

    Shahil

  • Verified answer
    Jie G Profile Picture
    Microsoft Employee on at

    Hi Alan,

    When you meet Microsoft.WindowsAzure.Storage.StorageException, you can start the Azure Store Emulator on OneBox VM "C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans