It simply means you have an exception in the method
method
, and the exception information looks so strange and incomplete, because of the invocation mechanism. Identify the method where it is implemented (this is the entry point of the loaded assembly), put a break point on it (you should have its source code; and its project should be in the same solution), and run the application which you show. You should be able to execute the code responsible for this problem and locate it.
[EDIT]
By the way, this is a very strange way of loading of the assembly, once you have the file on the disc, not just bytes. You don't have to read the file. Instead, use the method
System.Reflection.Assembly.LoadFrom
:
http://msdn.microsoft.com/en-us/library/1009fa28.aspx[
^].
—SA