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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to reprocess message from AIF Queue Manager?

(0) ShareShare
ReportReport
Posted on by

We are observing an issue in Production that sometimes Billing/Payment file are stuck into AIF Queue manager and they didn’t go to staging table.

 For example: AX has received payment file but they got stuck into Queue manager with message (Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics. View the exception log for more details.).

 

  1. Does anyone know what is causing this error? I have checked file owner but owner is always same for all payment files.
  2. Can we reprocess the message that got stuck into Queue manager? I have tried to change message status from Error to Ready into Test environment but it’s going into error status after executing AIF batch?
  3. I don’t want to reprocess the payment file, it may be possible that some of records from file have already been processed and some got stuck into this message id. If I reprocess the entire file, this may create duplicate payment.

 

Help:

  1. Does anyone have idea or can explore, how can we reprocess the records that got stuck into queue manager not reprocess the entire file?
    1. There is no issue in payment file. If i reprocess same file, that will work.

    2.  I tried to create rule based alert on Queue manager form for Error status but when I click on ‘Go to origin’, it does not take me on Error record?

    3. I want to create rule based alert so that we will receive email alert if any error occurs for payment file. This is for monitoring.

    4. How do you monitor AIF-files processing daily?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    A.Prasanna Profile Picture
    8,223 on at
    RE: How to reprocess message from AIF Queue Manager?

    Hi AKJ,

    The error says that "Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics. View the exception log for more details.". check whether the user Account /Service account running batch jobs has sufficient rights to writes to the database.

    Are you guys using BizTalk ?

  • Suggested answer
    Torben Andresen Profile Picture
    on at
    RE: How to reprocess message from AIF Queue Manager?

    Check the inbound AIF port. On the "Configure" button you can specify a user. I have had the same issue in which case it turned out that the user specified on the AIF port was disabled in AX. After enabling the user the error stopped.

    -Torben

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans