When a TallyPrime company won’t open: repair, migrate or restore
An error when you open a company usually means damaged data or a release mismatch. What Tally says to do, in order: back up, repair, migrate or restore, and what to avoid.
First, back up what you have
Company data can be damaged by a system glitch, a sudden crash, unauthorised access or invalid entries. Before you try any fix, back up the data as it is and save any unsaved vouchers or masters. The repair screen also offers to back up the data first, and it’s worth saying yes.
Repair the company data
Go to F1 (Help) > Troubleshooting > Repair, or Alt+Y (Data) > Repair, and select the company. Set Backup Company Data before Repair to Yes, choose where the backup goes, and press R to repair. Depending on how badly the data is damaged and how large it is, the repair can take a while.
Repair finds and fixes the damage and recovers what it can. Any data it can’t recover is removed to protect the rest. From Release 3.0, TallyPrime shows a report comparing your data before and after the repair, and Alt+X opens any exceptions so you can see what needs attention.
A company may show Repair Required in the list of companies, but data can be damaged without any status showing. Tally suggests free disk space of at least double the size of the data, and repairing data on a local disk rather than an external drive.
Errors that point to damaged data
Tally lists several messages that mean the company data needs repairing, among them “Memory Access Violation”, “Data files damaged. Need to rewrite.” and “File damaged”, along with errors that name the Tranmgr, Linkmgr or Manager files. For “File Damaged or Repair Required”, the advice is the same: back up, then repair.
If a repair doesn’t clear the error, some cases need deeper steps, such as checking the hard disk for bad sectors or going back to an earlier backup, depending on which file is affected. That’s the point to call your Tally partner, rather than deleting or renaming files in the data folder yourself.
After an upgrade: migrate the data
A newer release of TallyPrime may need to migrate a company’s data before it opens. Go to F1 (Help) > Troubleshooting > Migrate, or Alt+Y (Data) > Migrate, select the company, keep Backup Company Data before Migration set to Yes, and press R. A valid TSS is needed to migrate to the latest release.
If migration reports that the data is corrupted, Tally’s advice is to repair it in the previous release it worked in, and then migrate again. If you see “Unable to open the company in this release of TallyPrime”, the data was last used in a higher release than the one you’re running: open it in that release, or install the latest release in a new folder, reactivate the licence and restore the backup there.
When nothing else works: restore a backup
If the data can’t be recovered, restore your most recent backup and re-enter anything recorded since. On Release 7.0 and later, that’s Alt+Y (Data) > Backup & Restore > Restore; on Release 6.2 and earlier, Alt+Y (Data) > Restore. Tally is clear that data damaged by malware can’t be recovered at all, and it recommends backing up every day.
Stop it happening again
Antivirus and backup software can lock or block the data files. Tally recommends adding the TallyPrime data folder to your antivirus exclusion list, along with Tally.exe, Tallyadmin.exe and the data files (.tsf and .1800), giving the data folder full control permissions, and excluding .tsf files from third-party backup tools. Error Code 32, for one, comes from files locked by backup software or by an antivirus program’s ransomware protection.
Schedule backups for times when nobody is working in TallyPrime, and don’t copy or double-click the .tsf files in the data folder. Powercomputers’ backup and data security service can set up scheduled backups and user controls for you.
Free worksheet
Switching to TallyPrime: data migration worksheet
Gather your company details, balances, customers, suppliers and stock in one place before you switch, so setup goes smoothly and your opening figures are right from day one.
On this site
Sources
- Tally help: Repair company data
- Tally help: Repairing company data FAQ
- Tally help: Memory access violation FAQ
- Tally help: Error Tranmgr or Linkmgr 900/1800
- Tally help: Data migration FAQ
- Tally help: Migrate company data
- Tally help: Migrate from TallyPrime 3.0 or later
- Tally help: Repair and migrate
- Tally help: Restore company data
- Tally help: Error Code 32
- Tally help: TMESSAGE.TSF and TSTATE.TSF errors
- Tally help: Checklist for performance issues
About the reviewer
Mitesh Chohan
PowerTally Manager, Powercomputers
Mitesh Chohan manages PowerTally, the Tally team at Powercomputers, and brings more than 10 years of experience with Tally, working with businesses in every industry PowerTally serves.
Want to see this in TallyPrime?
Book a free demo and see it on your own business, with no obligation.
