Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
sudden power off when i am working with .net framework...when power on this is the information frame work was throwing me..

C#
Could not load file or assembly 'Antlr3.Runtime' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

and my application was not running....just displaying the above Error...:)How do i fix this and to make my application run.....:)
Posted
Comments
Richard MacCutchan 23-Jul-14 4:15am    
I don't know why this would have anything to do with a power outage, but you need to check where this error occurs, and check which parameter is invalid.

1 solution

In the event of a sudden power failure, all sorts of odd effects can happen, depending on what the system is doing at the time: it may be that the assembly file was being written at the time, and the write did not complete cleanly as a result.

Try a full rebuild, and see if that sorts it out - if it doesn't, you are going to have to look closely at the assembly file and see what it looks like. We can't help you much with this: power failures cause problems which aren't easily diagnosed from a different continent! :laugh:
 
Share this answer
 
Comments
Naveen Kumar Malli 23-Jul-14 8:25am    
s...i have cleared this i had installed again Antlr3.Runtime.dll from ManageNuGet Packages...and i added that dll to my references in my project Solution Explorer....befoe doing this i need to remove already existing Antlr3.Runtime.dll in my bin folder.....and finally after all doing this once restart and i build my solution....
OriginalGriff 23-Jul-14 8:37am    
Glad to hear it!
The last-but-one set of power problems we had here destroyed one HDD in my NAS to the point I had to replace it! :laugh:

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