Hello @Jayanthi Iyer ,
Welcome to Microsoft Q&A forum.
From looking at the Exception code: 0xc0000005, also known as an Access Violation, occurs when an application tries to read, write, or execute memory that it doesn't have permission to access. There are many reasons for this problem, it would be nice to help debug if you could provide a minimal and reproduceable example. However, here are suggestions i would suggest you check:
1.Please do a quick test to check if your .NET Framework damaged.
- Create a new project as the same project type of the application crashed, then run the new project.
- If the new application keeps crashing, please try to Repair your .NET Framework install using this tool: Repair .NET Framework
- If not, looks like the .NET runtime is not the cause of the issue.
2.Please check if you have any anti-virus installed (e.g:CylancePROTECT). If so, try to disable them then run the application again.
3.Make sure that the operating system on your machine is fully updated. Sometimes, updates can fix compatibility issues with certain applications.
Best Regards,
Dou
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.