Tally Internal Error: Software Exception c0000005 (Memory Access Violation)
The Software Exception c0000005 (Memory Access Violation) error in Tally is a critical internal error that typically occurs during GST-related operations, da...
The Software Exception c0000005 (Memory Access Violation) error in Tally is a critical internal error that typically occurs during GST-related operations, data access, or background processing. This error indicates that Tally attempted to read or write memory that it was not permitted to access, usually due to corrupted data, damaged program files, system conflicts, or security software interference.
This Knowledge Base article provides a technical, step-by-step troubleshooting guide to identify root causes and permanently resolve the issue.
Product Overview
Product: Tally (ERP 9 / Prime)
Vendor: Tally Solutions
Primary Usage: Accounting, GST compliance, inventory management, statutory reporting
Key Product Features (Relevant to This Issue)
-
GST return preparation and upload
-
Company data management
-
Real-time statutory compliance
-
Data rewrite and repair utilities
-
Automatic software updates
Error Description
Exact Error Message:
Internal Error. Contact Tally Solutions.
Software Exception c0000005
(Memory Access Violation)
What This Means (Technical Explanation)
-
c0000005 is a Windows-level exception code
-
Indicates illegal memory access
-
Triggered when:
-
Tally accesses corrupted data blocks
-
Required DLL files are damaged or blocked
-
Antivirus or OS security blocks execution
-
Incompatible Tally and Windows versions interact
-
Common Scenarios Where This Error Occurs
-
While updating GST details
-
During GSTR-1 / GSTR-3B upload
-
While opening a company
-
During reconciliation
-
Immediately after a Tally or Windows update
Use Cases
| Scenario | Impact |
|---|---|
| GST return filing | Upload failure |
| Company open | Company inaccessible |
| Data rewrite | Process crashes |
| Multi-user access | Unexpected termination |
| Update completion | Partial installation |
Price Information
-
Tally software: Paid license (pricing varies by edition and region)
-
Troubleshooting steps: No additional cost
-
Official support: Included with valid Tally Subscription & Support (TSS)
Step-by-Step Resolution Guide
Step 1: Restart and Isolate
-
Close Tally completely
-
Restart Windows
-
Launch only Tally (no other heavy applications)
-
Retry the failed operation
Step 2: Repair Tally Installation (Highly Recommended)
-
Close Tally
-
Open:
-
Select Tally
-
Click Change → Repair
-
Allow repair to complete
-
Restart the system
Step 3: Rewrite Company Data
-
Open Tally
-
Press:
-
Select the affected company
-
Choose Rewrite
-
Wait until completion
This process rebuilds damaged data structures without deleting records.
Step 4: Reset GST Configuration
-
Open company
-
Go to:
-
Set Enable GST = No
-
Save and exit company
-
Reopen company
-
Enable GST again and save
Step 5: Exclude Tally from Antivirus / Windows Defender
Add exclusions for:
Temporarily disable antivirus to test.
Step 6: Update Tally to Latest Release
-
Open Tally
-
Press:
-
Allow update to complete fully
-
Restart Tally
Commands & Shortcuts Reference
Common Issues & Fixes
| Issue | Resolution |
|---|---|
| Error in one company only | Rewrite company |
| Error in all companies | Repair Tally |
| Error during GST upload | Reset GST + check internet |
| Error after update | Re-run repair |
| Random crashes | Check antivirus exclusions |
Security Considerations
-
Antivirus software may falsely detect Tally components
-
Blocking DLL execution can cause memory access violations
-
Always download updates from official Tally servers
-
Avoid running cracked or modified versions
Best Practices
-
Maintain daily backups
-
Avoid force-closing Tally
-
Keep Windows and Tally versions compatible
-
Run Tally as Administrator
-
Ensure minimum 4 GB RAM
-
Shut down system properly
-
Perform data rewrite periodically
When to Contact Official Support
Contact Tally Support if:
-
Error persists after repair and rewrite
-
Fresh installation still fails
-
Error occurs on multiple systems with same data
Prepare:
-
Tally version
-
Windows version
-
Error screenshots
-
Steps to reproduce issue
Conclusion
The Software Exception c0000005 (Memory Access Violation) in Tally is typically caused by data corruption, blocked program files, or system conflicts. In most cases, the issue can be resolved through repairing the installation, rewriting company data, resetting GST configuration, and adjusting security software. Following best practices significantly reduces the risk of recurrence.
Was this guide useful?
Your answer helps us keep BISONKB accurate and practical.