Hi, nice to meet you.I was developing a website at Visual Studio 2012 and Linux server, but when I uploaded it to the server, the above error occurred and I couldn't move from the front page to the other page.Up until now, I have been able to move pages. Removing and re-referencing System.Drawing and System.Drawing.Design failed. Please let me know if anyone knows the solution.
Server Error in '/' Application
Invalid IL code in System.Drawing.ColorConverter:.ctor(): method body is empty.
Description:HTTP500.Error processing request.
Stack Trace:
System.InvalidProgramException:Invalid IL code in System.Drawing.ColorConverter:.ctor():method body is empty.
at(wrapper managed-to-native) System.Reflection.MonoCMethod: InternalInvoke(System.Reflection.MonoCMethod, object, object[], System.Exception &) at System.Reflection.MonoCMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder, System.Object[]parameters, System.Globalization.CultureInfoculture) [0x00000] in:0
asp.net
There is not much information, so I can imagine it. It appears to be a compatibility issue between the .net framework version used in VS2012, and Mono running on Linux.Why don't you check the compatibility between the two?
This answer may help.
InInvalid IL code in () method body is empty <
It seems to have the form of .
Translating this
LInvalid IL code for ( ) method body is empty です
is now
I'm guessing, but
There is only a header file, and I think the error is caused because I can't find the main file or DLL.
581 PHP ssh2_scp_send fails to send files as intended
916 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.