Tuesday 25 December 2018

Tally Memory Access Violation - (Software Exception 0xC0000005)














If you have been working with Tally for sometime, you might have come accross 'Memory Access Violation' error with some code - '0xC0000005'. This usually spells doom to many users. Luckly, there are somethings you can do to attempt to solve the problem.

Step 1: Edit the Tally.ini Configuration File

There is a setting that tells Tally to automatically load a company. Supposing the company file is corrupted, you might never start Tally. So disable it. The 'Tally.ini' file is in Tally directory.


  • Set "default companies from 'yes' to 'no' Save the file, close and start Tally. If Tally starts without issues, then your default company file is corrupted and you will need to carry out repair outlined later in this article.

    Step 2: Adjust Screen Resolution

    Tally has issues when being used with fewer colours. Additionaly, different versions of windows have different minimum requirements. Access Display Settings in the control panel and change Display Settings as follows:
     
  •  Windows 2K/XP/Vista/Win7:
  • Screen Resolution : 1024 by 768 pixels
  • Color Quality : Highest (32 bit)

    Windows 98:
  • Screen Resolution : 1024 by 768 pixels
  • Color Quality : 16 bit High Color For Windows 98, ensure that Font Size is set to 'Small Fonts' otherwise Tally may goof. Once this has been done, restart you computer and start Tally. If you still have problems, try the next step.

    Step 3: Remove/Delete Printers

    Yes, sometimes Tally has a thing with printers! Make sure you have printer installation CDs nearby. Delete the configured printers (including vitual printers). Go to Start > Control Panel > Printers & Faxes. Try to fire tally. If it works, re-install only printers that you use and you should be fine.

    Step 4: Contact Tally Support

    At this point, you probably have a more complex problem - this should not make you give up. Contact Tally solutions for more help.

    How to Repair Damaged Company File

    Restore older backup

    In 'Step 1' above, you might have established the problem to be a corrupt company file.
    1. Change to directory to the location where data is stored, usually 'Data' in the tally folder.
    2. Company files are named using numbers - eg: 1001, 2002 e.t.c. Copy the corrupt company folder to a safe place.
    3. Delete contents of the corrupt compnay folder.
    4. Start Tally and restore your latest backup.
    Now, start Tally and you should be fine!

    If you encounter 'Memory Access' error while editing a record

    Sometime everything works well so long as you are not deleting or modifying a record. I noticed that, for some unknown reasons this problem arises when I try to delete a certain record. I have tried to re-produce this scenario without success. Here is what you can do if you have this kind of problem:
    1. Carry out instructions outlined in 'How to Repair Damaged Company File' above.
    2. Start Tally and press 'CTRL+ALT+R'
    3. You will be asked to rewrite the company file. Select the problematic company and accept to re-write.
    4. Once the process is complete, exit tally. 
    5. Start Tally and edit your records without. If you still have difficulties, then contact Tally Solutions.
  • 1 comment:

    1. hello jayesh,
      i run tally on linux.
      some times i got following type of error.

      Unable to perform this action.
      Tally.ERP 9 will restart now. Try again after restart.
      Details:
      Host:000c293e9564
      Start: 03/12/19 14:28:06
      File:C:\Data\10001\TMESSAGE.TSF
      Size:24576
      Exp Id:4 Got:4
      Exp Seed:5912030521925034112 Got:5912030521925034112
      MsgToRead:45 MsgToUpdate:40

      ReplyDelete