Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Answered

P job is failing

(0) ShareShare
ReportReport
Posted on by 517

Hi All,

I have P-job failing on my development box and i can see below error logged in Upload sessions screen. Look at the red colored mark text, I am not sure which space it is considering here. I am creating sales order from CPOS and expecting to get into headquarter using this P job. but it is failing here.  

Can someone please throw some light on what could be the root cause here?

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Dynamics.Retail.CommerceDataExchange.ProcessReadRequestHeaderException: Error occurred during processing read request header. ---> Microsoft.Dynamics.Retail.CommerceDataExchange.ProcessReadRequestException: Error when writing CSV file for target table NoSaleFiscalDocumentTransaction_BR. ---> System.IO.IOException: There is not enough space on the disk.   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)   at Microsoft.Dynamics.Retail.CommerceDataExchange.CsvDataWriter..ctor(String path)   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlReadRequestRunner.WriteDataToFile(SqlConnection connection)   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlReadRequestRunner.Run(SqlConnection connection)   --- End of inner exception stack trace ---   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlReadRequestRunner.Run(SqlConnection connection)   at Microsoft.Dynamics.Retail.CommerceDataExchange.CDXUploadSubJobContext.ProcessReadRequest()   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlSourceRequestHandler.ProcessReadRequests(SqlConnection connection)   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlSourceRequestHandler.ProcessReadRequestHeader(ReadRequestHeader readRequestHeader)   --- End of inner exception stack trace ---   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlSourceRequestHandler.ProcessReadRequestHeader(ReadRequestHeader readRequestHeader)   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlSourceRequestHandler.PackRequestResultsToFile(String fileName)   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlSourceRequestHandler.ProcessSourceRequest(SessionManager sessionManager)   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlSourceRequestHandler.GeneratePackageFromSourceDatabase(SqlSourceRequestContext sourceRequestContext)   --- End of inner exception stack trace ---   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)   at Dynamics.AX.Application.ReflectionHelper.`tryInvokeStaticMethodFromAssembly(Assembly _assemblyInstance, String _typeName, String _methodName, Object[] _params, Boolean @_params_IsDefaultSet) in xppSource://Source/Retail\AxClass_ReflectionHelper.xpp:line 63   at Dynamics.AX.Application.ReflectionHelper.tryInvokeStaticMethodFromAssembly(Assembly _assemblyInstance, String _typeName, String _methodName, Object[] _params, Boolean @_params_IsDefaultSet)   at Dynamics.AX.Application.ReflectionHelper.tryInvokeStaticMethodFromAssembly(Assembly _assemblyInstance, String _typeName, String _methodName, Object[] _params)   at Dynamics.AX.Application.RetailCDXJobUploadSourceContext.`generatePackageFromSourceDatabase(Object _sourceRequestContextObject) in xppSource://Source/Foundation\AxClass_RetailCDXJobUploadSourceContext.xpp:line 160   at Dynamics.AX.Application.RetailCDXJobUploadSourceContext.generatePackageFromSourceDatabase(Object _sourceRequestContextObject)   at Dynamics.AX.Application.RetailCDXJobUploadSourceContext.`execute() in xppSource://Source/Foundation\AxClass_RetailCDXJobUploadSourceContext.xpp:line 99

  • Verified answer
    VRD Profile Picture
    VRD 517 on at
    RE: P job is failing

    Logged ticket to MS and they did run some scripts to clear data on my dev box and it works fine now.

  • Suggested answer
    Xusheng Profile Picture
    Xusheng on at
    RE: P job is failing

    This should be Azure blob issue, please log a ticket to Microsoft support team for further assistance.

    Hope this can help you.

    If my information answers your question please click 'Yes' against "Did this answer your question?" to help other community members.

  • VRD Profile Picture
    VRD 517 on at
    RE: P job is failing

    Hi Xusheng, I am using Dynamics 365FO  10.0.14

  • VRD Profile Picture
    VRD 517 on at
    RE: P job is failing

    Hi Andreas, I have enough hard disk space on dev box as shown below.

    pastedimage1618791376553v1.png

  • Suggested answer
    Xusheng Profile Picture
    Xusheng on at
    RE: P job is failing

    Hi iam,

    What is the AX version you currently use? If you use on premise AX, you need add the space by your team. If you use D365 cloud AX, you can log a service request to Microsoft support team. Then they will help unblock this issue. 

    Hope this can help you. 

    If my information answers your question please click 'Yes' against "Did this answer your question?" to help other community members. 

  • Suggested answer
    andreasraithel Profile Picture
    andreasraithel 4,823 Super User 2024 Season 2 on at
    RE: P job is failing

    Hy Iam,

    as the error message says you should check your hard disk space on the devbox. I had same issue sometimes while applying update in devbox. For me I had to enhance the disk volume to have about 10-20% FREE space on the Volumes of the VM.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans