Go Back   Steam Users' Forums > Steam Game Discussions > # - C > Batman: Arkham Asylum

Reply
 
Thread Tools Display Modes
Old 04-19-2012, 05:14 PM   #1
MauttyKoray
 
Join Date: Apr 2010
Reputation: 21
Posts: 53
.Net Framework unhandled except on startup

Right so, title explains it, every time I start it up I get an unhandled exception when attempting to start the game (prior to the launch menu).

Details are as follows:
Quote:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at BmLauncher.IniFile.ParseKeyValue(IniSection sect, String line, IniKeyFilter[] keyFilter)
at BmLauncher.IniFile.Read(String fileName, IniKeyFilter[] keyFilter)
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(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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.5448 (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.5446 (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.5447 (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.5420 (Win7SP1.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.5420 (Win7SP1.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.
MauttyKoray is offline  
Reply With Quote
Old 04-20-2012, 05:40 AM   #2
dimi_gr
 
 
 
Join Date: Sep 2010
Reputation: 46
Posts: 355
i would verify the game cache at first. If that doesn't help since the error message is from the .net framework just download and install the latest .net framework directly from the microsoft website. That should solve your issue.
dimi_gr is offline   Reply With Quote
Old 04-20-2012, 06:15 AM   #3
Alienware Gamer
 
Join Date: Mar 2009
Reputation: 240
Posts: 1,437
Is securom activated?
Alienware Gamer is offline   Reply With Quote
Old 04-20-2012, 01:40 PM   #4
Coffeephile2
 
 
 
Banned
Join Date: Nov 2011
Reputation: 35
Posts: 99
Reinstall all versions of .net framework and reinstall Windows Live Marketplace, this is problem with your PC, not game.
Coffeephile2 is offline   Reply With Quote
Old 04-23-2012, 11:51 AM   #5
MauttyKoray
 
Join Date: Apr 2010
Reputation: 21
Posts: 53
I reinstalled .net framework, that didn't fix the problem

I don't use Windows Live Marketplace, only the GFWL crap the games need, and that is working. I tried out Fable 3 and it runs fine.

Edit: I did try uninstalling all .NET Framework related installs and the GFWL program on my computer, then reinstalled it all and tried again, same issue is still occurring.

Last edited by MauttyKoray: 04-23-2012 at 01:09 PM.
MauttyKoray is offline   Reply With Quote
Old 08-29-2012, 06:07 PM   #6
Blacksmith1
 
Join Date: Dec 2008
Reputation: 0
Posts: 31
Did you find a fix for this? I am having the exact same issue;
************** Exception Text **************
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length

The rest is the same also.
so far I have verified the game cache, un/re-installed physx, .net framework, GFWL, and deleted and re-downloaded the game itself.
I am still getting this issue. this is the only software on my system not functioning. Everything else seems to work fine.
Blacksmith1 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Game Discussions > # - C > Batman: Arkham Asylum


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -7. The time now is 10:51 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.