Error Fatal Unhandled Exception System.typeloadexception
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Mono-LibreOffice System.TypeLoadException up vote 1 down vote favorite In the past I wrote a C# library to work with OpenOffice and this worked fine both in Windows than under Ubuntu with Mono. Part of this library is published here as accepted answer. In these days I discovered that Ubuntu decided to move to LibreOffice, so I tried my library with LibreOffice latest stable release. While under Windows it's working perfectly, under Linux I receive this error: Unhandled Exception: System.TypeLoadException: A type load exception has occurred. [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load exception has occurred. Usually Mono tells us which library can't load, so I can install correct package and everything is OK, but in this case I really don't know what's going bad. I'm using Ubuntu oneiric and my library is compiled with Framework 4.0. Under Windows I had to write this into app.config:
their respective owners in the US and other countries. Privacy Policy | Legal | Steam Subscriber Agreement | Refunds STORE Featured Explore Curators Wishlist News Stats COMMUNITY Home Discussions Workshop Greenlight Market Broadcasts ABOUT SUPPORT Install Steam login | language Български (Bulgarian) čeština (Czech) Dansk (Danish) Nederlands (Dutch) Suomi (Finnish) Français (French) Deutsch (German) Ελληνικά (Greek) Magyar (Hungarian) Italiano (Italian) 日本語 (Japanese) 한국어 (Korean) Norsk (Norwegian) Polski (Polish) Português (Portuguese) Português-Brasil (Portuguese-Brazil) Română (Romanian) Русский (Russian) 简体中文 (Simplified Chinese) Español (Spanish) Svenska (Swedish) 繁體中文 (Traditional Chinese) ไทย (Thai) Türkçe (Turkish) Українська (Ukrainian) Help us http://stackoverflow.com/questions/10029620/mono-libreoffice-system-typeloadexception translate Steam Store Page Hammerwatch All Discussions Screenshots Artwork Broadcasts Videos Workshop News Guides Reviews All Discussions Screenshots Artwork Broadcasts Videos Workshop News Guides Reviews Hammerwatch Store Page View Stats: Global Achievements Hammerwatch > General Discussions > Topic Details knope View Profile View Posts 20 Aug, 2013 @ 10:41am Game fails to do anything - fatal error in Linux any one have any http://steamcommunity.com/app/239070/discussions/0/864976115782159232/ luck getting this to work in linux? (paid for it and assumed it would be working. other games load fine (I.e. dota 2, tf2, etc - just not this one.) < > Showing 1-15 of 21 comments knope View Profile View Posts 20 Aug, 2013 @ 10:53am Error Seen:Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=OMITTED' or one of its dependencies.File name: 'System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=OMMITED'[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=OMITTED' or one of its dependencies.File name: 'System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=OMITTED'Game removed: AppID 239070 "Hammerwatch", ProcID 12180(steam:12041): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.notes about my system:Distributor ID: UbuntuRelease: 13.10Codename: saucy (with nvidia 310 drivers and a 560ti on intel 3rd gen i7)I also see similar errors in Release: 12.04 (with same nvidia drivers and a gtx550 on amd propus proc.)the behavior is no action. Nothing appears to happen unless running cli so i can see errors. #1 knope View Profile View Posts 20 Aug, 2013 @ 11:03am after some googling about and stuff... i've found
« previous next » Print Pages: [1] Author Topic: TypeLoadException on linux debian (Read 1939 times) meganuke Newbie Thank You -Given: 0 -Receive: 1 Posts: 27 TypeLoadException on linux debian http://www.tasharen.com/forum/index.php?topic=10024.0 « on: June 19, 2014, 10:52:11 AM » hi!!im trying to run the tnserver on linux and i got this error:----------#mono TNServer.exe -name "test" -tcpLobby 5129Unhandled Exception: System.TypeLoadException: A type load exception has occurred.[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load exception has occurred.------------i understand that this is some mono error, but... what can i do?one thing that i noted is error fatal that it seems to be using mono 2.0 instead of 4.0.could that be the problem?how can i make it use mono 4? Logged ArenMook Administrator Hero Member Thank You -Given: 230 -Receive: 1069 Posts: 21,339 Toronto, Canada Re: TypeLoadException on linux debian « Reply #1 on: June 19, 2014, 07:20:47 PM » Unfortunately that error message doesn't tell me much and error fatal unhandled I haven't heard of this before. I can't say much. Logged meganuke Newbie Thank You -Given: 0 -Receive: 1 Posts: 27 Re: TypeLoadException on linux debian « Reply #2 on: June 19, 2014, 08:35:41 PM » i uninstaled mono 2.0 and i got this:# mono TNServer.exe -name "test" -tcpLobby 5129The assembly mscorlib.dll was not found or could not be loaded.It should have been installed in the `/usr/lib/mono/2.0/mscorlib.dll' directory.why is it looking for mono 2.0?mono 4 is installedim using latest versioni bought the license on the asset store a few days ago, Logged meganuke Newbie Thank You -Given: 0 -Receive: 1 Posts: 27 Re: TypeLoadException on linux debian « Reply #3 on: June 19, 2014, 11:01:17 PM » welli went into the source code, and changed the main function into the ServerMain.cs filelike this: static int Main (string[] args) { try { if (args == null || args.Length == 0) { Console.WriteLine("No argume