Tuesday, December 23, 2014

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

http://www.cloud-developer.eu/blog/2013/06/26/could-not-load-file-or-assembly-antlr3-runtime-or-one-of-its-dependencies-the-parameter-is-incorrect-exception-from-hresult-0x80070057-e_invalidarg/


You have really no clue where to find, but one thing is for sure: it’s not in your code, because you didn’t changed anything.
It happened to me when developping an MVC 4 .net 4.5 webapp. After extensive search the solution is (as usual) simple:
empty your %TEMP% folder:
  • close all programs that you are using (the one in the system tray included)
  • Click the start button
  • click Run
  • type: %TEMP% in the box
  • click the OK button
Now a the directory for temporary files opens:
  • select all files ( CTRL – A)
  • press the DELETE key on your keyboard
  • acknowledge that you want to delete all files

No comments:

Post a Comment