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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error in p-0001 jobs

(0) ShareShare
ReportReport
Posted on by 1,260

Hi,

I am getting the following error on the p-0001 job - where should I look into for this kind of error?

Is it coming from HQ/Calculation/Posting - Appreciate your help in advance.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception: The wait operation timed out

 

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

 

   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

 

   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

 

   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

 

   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()

 

   at System.Data.SqlClient.SqlDataReader.get_MetaData()

 

   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)

 

   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)

 

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)

 

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

 

   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

 

   at System.Data.SqlClient.SqlCommand.ExecuteReader()

 

   at Dynamics.Ax.Application.RetailCDXMetadataSync.syncUploadSession(String _jobId, Int64 _dataGroup) in RetailCDXMetadataSync.syncUploadSession.xpp:line 72

 

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

 

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.

 

   at Dynamics.Ax.Application.RetailCDXMetadataSync.syncUploadSession(String _jobId, Int64 _dataGroup) in RetailCDXMetadataSync.syncUploadSession.xpp:line 201

 

   at Dynamics.Ax.Application.RetailCDXDataUpload_AX63.Run() in RetailCDXDataUpload_AX63.run.xpp:line 24

 

   at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54

 

   at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13

 

   at BatchRun::runJobStatic(Object[] )

 

   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

 

   at BatchIL.taskThreadEntry(Object threadArg)

*This post is locked for comments

I have the same question (0)
  • Rodolfo Recalde Profile Picture
    on at

    a. Check the availability and parameterization of the mesage  DB async Server (Retail Parameters Form)

    b. Try Initialize Retail without errors.

    > Retail >Setup >Parameters > Retail parameters > Initialize button

    c. Try Sync Metadata

    > Retail >Setup >Parameters > Retail Scheduler Parameters > Sync Metadata button

     

    I Hope this Helps,

    Regards,

    Rodolfo Recalde.

  • Ferremundo Profile Picture
    10 on at

    How do I check the availability and parameterization of the message database asynchronous server (retail parameters form)?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sanhthosh.Kumar.K Profile Picture

Sanhthosh.Kumar.K 2

#2
Raed Salah Bzour Profile Picture

Raed Salah Bzour 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans