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)

"The company dat does not exist" when starting AX client

(0) ShareShare
ReportReport
Posted on by 1,675

Whenever I start AX 2009 client installed on my machine I see this error:

The company dat does not exist. (S)\Classes\Application\logUpdate - line 12 (S)Classes\xRecord\Update

Has anyone else experienced this error? If yes, how I can prevent this error to appear.

NOTE: Also does anybody has any idea about these classes Application and xRecord?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at
    Re: Stack trace:The company dat does not exist. (S)\Classes\Application\logUpdate - line 12 (S)Classes\xRecord\Update

    To fix this error:  Go to your user options and change the "Start Company Accounts" field to a different company account listing.  Bigger problem is that you should of created DAT company during initial install / config of AX.

    xRecord and xApplication are kernel classes, you cannot modify them.

  • Community Member Profile Picture
    on at
    RE: Stack trace:The company dat does not exist. (S)\Classes\Application\logUpdate - line 12 (S)Classes\xRecord\Update

    I have the same problem. the DAT company is created and they have another company as start up company.

  • Suggested answer
    Sunil Dharmani Profile Picture
    210 on at
    RE: Stack trace:The company dat does not exist. (S)\Classes\Application\logUpdate - line 12 (S)Classes\xRecord\Update

    If you are unable to change from User Options as suggested by Kent. You can also change company by modifying the .axc file.

    Under the .axc file on 5th line you will find command as

    "company,Text," in this you can append your company name like this

    "company,Text,[ append your company name here]" .

    Then you will be able to open instance without any error message.

    Regards,

    Sunil Dharmani

  • Suggested answer
    Luca Pellegrini Profile Picture
    on at
    RE: Stack trace:The company dat does not exist. (S)\Classes\Application\logUpdate - line 12 (S)Classes\xRecord\Update

    Hi Muhammad,

    have you tried to delete all the .axc files in your appdata folder?

    If so, try to delete all you data usage (syslastvalue) for your user.

    And at then end, restart the AOS.

    Hope this can help.

    Best regards,

    Luca Pellegrini

  • Suggested answer
    AXCEN Profile Picture
    75 on at
    RE: Stack trace:The company dat does not exist. (S)\Classes\Application\logUpdate - line 12 (S)Classes\xRecord\Update

    Hi all,

    If you used DIXF to import Items for one company and released the same Items from the Product master to another company you will also find this error.

    Solution:

    Open the InventItemGroupItem table in the AOT.  Fill in all the blanks under the ItemGroupDataAreaId column with the company code for example DAT.

  • Martin Dráb Profile Picture
    236,394 Most Valuable Professional on at
    RE: "The company dat does not exist" when starting AX client

    Eduan, are you sure? This thread is about starting an AX client; it doesn't seem to have anything to do with product masters. Aren't you in a wrong thread?

  • AXCEN Profile Picture
    75 on at
    RE: "The company dat does not exist" when starting AX client

    Martin, yes I'm sure!  None off the previous suggestions fixed our issue on the above mentioned thread and after investigating the InventItemGroupItem table we found the missing fields where we entered the missing data and did not get the error again.  That is why I also say if you imported the Items using DIXF and then released the Items to another company from the Product master and you found the error, that will be the solution.

  • Vilmos Kintera Profile Picture
    46,149 on at
    RE: "The company dat does not exist" when starting AX client

    Eduan, your post is unrelated. If you would check the error message, it is referring to methods within the Application class, that has nothing to do with any business-specific functionality of AX such as products. So fixing products would not lead to any resolution regarding this matter.

  • Ahmadbarghouthi Profile Picture
    85 on at
    RE: "The company dat does not exist" when starting AX client

    Dears,

    How can i resolve this issue as the following:

    Stack trace: The company does not exist.

    Stack trace

    (S)\Data Dictionary\Tables\LedgerJournalTrans\Methods\validateWrite - line 74
    (C)\Classes\FormDataSource\validateWrite
    (C)\Forms\LedgerJournalTransVendPaym\Data Sources\LedgerJournalTrans\Methods\validateWrite
    (C)\Classes\FormDataSource\leaveRecord
    (C)\Forms\LedgerJournalTransVendPaym\Data Sources\LedgerJournalTrans\Methods\leaveRecord

  • Weaveriski Profile Picture
    23,616 Moderator on at
    RE: "The company dat does not exist" when starting AX client

    Create a new thread and post the question, you have a much higher chance of people reading it. Also explain what you are doing, your version etc.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#3
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans