Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am working on asp.ne c# web application, my project was working fine. once i closed it and then restart it.now when i try to run .cs file it gives an error(system.AccessViolationException) and visual studio exits.

this was my thesis project and my complete project's code was under this .cs file
I am very much confused what to do as my complete project has been lost...

any suggestion how to handle this error ?????

thanx
Posted
Comments
[no name] 15-Aug-12 7:02am    
.cs file is not opening when i try to open it . this error is being displayed and visual studio exits.

any suggestion plz ???
ZurdoDev 15-Aug-12 8:22am    
Access Violation often refers to security issues. Check the file system security on your files.
BobJanova 15-Aug-12 9:00am    
Can you open the file in a different editor?
[no name] 16-Aug-12 11:59am    
i tried opening it in different editors. but still not opening....
ledtech3 15-Aug-12 9:50am    
I seen one help article where they could run it "without debugging" but would crash "with debugging". Another thought is possibly that the program is holding on to a memory location or a file and it is not being released upon closing the project. Then when it it trys to run again it is getting a access violation. You may try a simple system restart and see if you can access it then. If that dosent help you can also try running process Monitor in the back ground to see what is happening. program located here.http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
If you do not know how to use the program then you can watch one or some of the "Case of the unexplained" videos and that should help.http://technet.microsoft.com/en-us/sysinternals/bb963887

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900