Batman: Arkham Asylum GOTY Edition

Batman: Arkham Asylum GOTY Edition

View Stats:
Luc Feb 4, 2014 @ 2:33pm
Microsoft.net error Could not load type 'System.Xml.XmlException'
Hi Folks,

Please help. It appears I'm getting a slightly different error vs previous ones.

I have attempted:
-delete/reinstall microsoft.net framework, physx, and game
-attempted running bmlauncher.exe & bmstartapp as admin
-didn't seem to have a batman directory in my docs, so not able to try that one

Running:
Windows 7 Home
Nvidia Quadro K1000M

Thanks in advance for any assistance :)



See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.TypeLoadException: Could not load type 'System.Xml.XmlException' from assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at BmLauncher.SystemInfo.GetVistaPerformanceRating()
at BmLauncher.SystemInfo..ctor()
at BmLauncher.Form1.Initialise()
at BmLauncher.Form1.OnLoad(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5472 (Win7SP1GDR.050727-5400)
CodeBase: file:/C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
BmLauncher
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Batman%20Arkham%20Asylum%20GOTY/Binaries/BmLauncher.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
BmLauncherUtils
Assembly Version: 1.0.0.0
Win32 Version: 1.0.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Batman%20Arkham%20Asylum%20GOTY/Binaries/BmLauncherUtils.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.6195
Win32 Version: 8.00.50727.6195
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a/msvcm80.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
CodeBase: file:/C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
< >
Showing 1-2 of 2 comments
=Snappy= Feb 8, 2014 @ 8:23pm 
This sounds like a .Net Framework (DNF) configuration issue. (A bad configuration caused, quite possibly, by an invalid install. Then again, if you have done any modifications to the DNF configuration -- for example, if u do development work on this PC and you think you might have "intentionally" changed something -- then it's not necessarily a bad install that's at fault!)

The very first line:

"System.TypeLoadException: Could not load type 'System.Xml.XmlException' from assembly 'System.Xml..."

basically says "I'm looking for something that should be here if .Net Framework is installed properly, and I can't find it."

I just skimmed a few threads on people having a similar error and it sounds like even if you have installed DNF properly, that sometimes another program can overwrite important settings when it (re-)installs DNF for its own purposes -- sounds relatively rare, but certainly possible.

If I were you I would focus your fix attempts on:

#1 COMPLETELY removing all DNF installs as well as any left-behind garbage including misc config files, registry settings, Global Assembly Cache (GAC), etc. I don't know how to do this off the top of my head, but there appear to be plenty of ppl who do, if you do a web search for "completely remove dot net framework".

Personally, I would read several of those articles just to make sure everyone (including me!) is on roughly the same wavelength, and not just dive into the first solution you come across. Likewise I would be rather picky about using someone else's DNF removal tools -- try to pick one that is active (i.e. the creator or community keeps it updated), as well as one that has positive feedback, as best you can tell. (Yes, I realize most of these tools are hosted on ppls' personal blogs, and not Amazon.com or something like that! Just pick as best you can.)

#2 reinstall latest DNF and -- assuming step #1 was completed properly, and that your PC meets the specs for the game in all other ways (i.e., both hardware capabilities and up-to-date drivers, etc.) the game should work.

#3 once you get things working again, watch what you install. don't install old dev tools or other old installs that are going to try and install old versions of DNF. technically there should be no problems, but, ppl make mistakes, and sometimes there are problems!

not saying you should be paranoid about installing stuff, and for that matter, the DNF in general is not some shady thing like so many ppl make it out to be. i'm just saying "be aware of what you are doing", and if you get this fixed and then some older program says "hey I need to install DNF 2.0" or whatever -- (4.5 is the latest, I think) -- that you might want to skip that step if possible! (and if not possible, you might want to start looking for alternatives to that program. just saying. again, not trying to cause undue paranoia. just saying.)

good luck!
Last edited by =Snappy=; Feb 8, 2014 @ 8:29pm
Luc Jan 6, 2015 @ 11:11am 
Thanks much! An install of an older DNF did the trick. :)
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Feb 4, 2014 @ 2:33pm
Posts: 2