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 :
Microsoft Dynamics AX (Archived)

Cannot create a record in SysXppAssembly (SysXppAssembly). Error accessing database connection

(0) ShareShare
ReportReport
Posted on by

Dear Experts,

I'm getting the below error in my production instance while generating the Full CIL

Cannot create a record in SysXppAssembly (SysXppAssembly). Error accessing database connection

Also, in the event logs i got the below error

Object Server 01:  The database reported (session 12 (Admin)): [Microsoft][SQL Server Native Client 11.0]Communication link failure. The SQL statement was: "INSERT INTO [AX2012R3_Live_model].[dbo].SYSXPPASSEMBLY (HASHCODE,FILE_,FILENAME,VERSION,ISDEBUG,MODIFIEDDATETIME,MODIFIEDBY,CREATEDDATETIME,CREATEDBY,RECVERSION,RECID) VALUES (?,?,?,?,?,?,?,?,?,?,?)"

 

Tried the below workarounds,

-Stopped  the AOS.

-Deleted the XppIL folder and regenerated new XppIL by starting the AOS services .

However files are creating in XppIL folder but getting the same error after the completion of Full CIL

Also tried application full compilation and DB sync but doesn't solved.

due to this issue inbound ports are not getting started automatically whenever AOS services restarts. Need to generate full CIL always to start the inbound services.

In addition i have checked the network response time and its normal, from application server to DB server

Please advise me, if any one experienced this issue before.

---------------------

Thanks,

Best Regards,

Syed Mohamed Hussain.

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    304,553 Super User 2026 Season 1 on at

    Hi Syed,

    Can you check Windows logs and SQL server logs for possible security permission errors? Are the permissions correct for the model database?

  • Community Member Profile Picture
    on at

    Hi Andre,

    Thank you for your response.

    i have checked the logs and there is no permission errors,  AOS service account has full permissions to all three AX databases.

    I'm getting the below error in event logs, but i'm not sure this is linked to the actual issue or not.

    AOS runtime

    X++ Exception: invalid tracking submission expected context Workflow and expected type Submission actual context Workflow and actual type Fault.

    at SysWorkflow-faultWorkflowInstance

    SysWorkflow-internalFault

    SysWorkflow-fault

    WorkflowTrackingTable-saveTracking

    SysWorkflowWorkItem-escalate

    X++ Exception: invalid tracking submission expected context Workflow and expected type Submission actual context WorkItem and actual type DueDateExceeded.

    at WorkflowTrackingTable-saveTracking

    SysWorkflowWorkItem-escalate

    Kind Regards,

    Syed

  • Heinz Schweda Profile Picture
    1,367 on at

    Hello,

    you can try to truncate the table SysXPPAssembly, like it is discussed here (community.dynamics.com/.../226368).

    Remember to backup your system before!

  • Community Member Profile Picture
    on at

    Hi Sukrut,

    I have checked with my developers team and there is no changes in the system.

    However i'm going to try by truncating the table as suggested by "Heinz Schweda"and let all you know the results.

    Thanks,

    Syed

  • Community Member Profile Picture
    on at

    Hi Heinz,

    Have followed the steps and tried by truncating the table, but it won't resolved.

    Regards,

    Syed

  • Verified answer
    Douglas Noel Profile Picture
    3,907 on at

    Hi,

    I do not really have an idea. But remember similar cases where playing around with the network packet size on the sql server resolved this.

    Is your sql real or virtualized? Do you have encryption enabled?

    Sorry and regards Douglas

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Douglas,

    Thank you for your advice.

    After a packet capture, it was clear that SonicWALL Fire wall Gateway Antivirus detecting it to be a Trojan named "MalAgent.I_15221". Few weeks before my security engineer enabled "MalAgent.I_15221". Disabling it resolved the issue. Thank you guys for all your continuous support.

    Regards,

    Syed

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans