Share via

Batman - Arkham City error Unhandled exception has occured in your application.

Anonymous
2011-12-13T17:10:29+00:00

original title: Please help. I'm desperate "please refer to dxerror.log and directx.log"

Hi,

I've been at this all night and I've run out of ideas. I'm at a complete loss. This will be the first time I haven't been able to troubleshoot a problem myself by looking online.

So, here goes. It all started when I installed "Batman - Arkham City" and tried to run for the first time.

An error dialog popped up saying:


Microsoft .NET Framework

Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Could not load file or assemply 'Microsoft.DirectX.Direct3Unhandled exception has occured in your application. If you click Quit, the application will close immediately.D.

Version=1.0.2902.0, Culture=neutral

PublicKeyToken=32bf3856ad364e35' or one of its dependencies

Access is denied


The details provided for this error are as follows:

************** Exception Text **************

System.IO.FileLoadException: Could not load file or assembly 'Microsoft.DirectX.Direct3D, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Access is denied.

File name: 'Microsoft.DirectX.Direct3D, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

   at BmLauncher.Settings.DetermineDefaultSystemSettings()

   at BmLauncher.Settings.StaticInitialise(IniFile iniFile, IniFile iniEng, IniFile iniInst, SystemInfo sysInfo, String localePath, String localeConfigFile, String& localeDir)

   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)

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.4963 (win7RTMGDR.050727-4900)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


BmLauncher

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/Games/Batman%20-%20Arkham%20City/Binaries/Win32/BmLauncher.exe


System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.4961 (win7RTMGDR.050727-4900)

    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.4962 (win7RTMGDR.050727-4900)

    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.4927 (NetFXspW7.050727-4900)

    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.4927 (NetFXspW7.050727-4900)

    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:///D:/Games/Batman%20-%20Arkham%20City/Binaries/Win32/BmLauncherUtils.DLL


msvcm90

    Assembly Version: 9.0.30729.4974

    Win32 Version: 9.00.30729.4974

    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb/msvcm90.dll


System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


The problem is I already have the latest version of DirectX. I play recent games like Skyrim without a hitch. Nevertheless, I've tried to update my directX anyway. However, when I try and run the installers (such as dxwebsetup), it doesn't get anywhere because an error dialog pops up and says:

An internal system error occured.

Please refer to DXerror.log and DirectX.log in your Windows folder to determine the problem.

Going there of course tells me nothing, but I'll post what the contents of each say.

DirectX when opened in notepad says: "12/13/11 04:32:32: infinst: WinMain(): ParseInfSection() failed."

DXError says: [12/13/11 04:32:32] module: infinst(Jan 24 2007), file: infinst.cpp, line: 778, function: WinMain

    ParseInfSection() failed.

I cannot go any further than this. I'm at a loss. Any tips, help, suggestions would be appreciated.

I've tried System Restore to the earliest point I can, to no avail. I've tried booting the computer with nothing but windows programs and system services, nothing.

Thank you for your time.

Windows for home | Previous Windows versions | Gaming

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2012-01-19T23:03:21+00:00

    Go under programs, right click and run ad administrator, works. I hate computers!

    100+ people found this answer helpful.
    0 comments No comments

11 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-12-14T08:03:44+00:00

    Hi Fujikawa,

    I would suggest you to follow the steps and check if it helps.

    Method 1: Run System File Check (SFC) scans and checks if it helps.

    http://support.microsoft.com/kb/929833

    Note: System File Checker gives an administrator the ability to scan all protected files to verify their versions. If System File Checker discovers that a protected file has been overwritten, it retrieves the correct version of the file from the cache folder (%Systemroot%\System32\Dllcache) or the Windows installation source files, and then replaces the incorrect file. System File Checker also checks and repopulates the cache folder. You must be logged on as an administrator or as a member of the Administrators group to run System File Checker. If the cache folder becomes damaged or unusable, you can use the sfc /scannow, the sfc /scanonce, or the sfc /scanboot commands to repair its contents.

    Method 2: Download and install DirectX End-User Runtimes from the link and check if it helps.

    DirectX End-User Runtimes

    Method 3: Perform Windows Update and install all the updates and check if it helps.

    **Windows Update**

    10+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-03-29T09:52:30+00:00

    Ok, so I had the exact same problem. I can run new games but I always got this error when trying to run BM AC.

    I found this method on the Steam forum and it worked a treat ( this is for Steam version only):

    Click on all these to update the legacy drivers:

    Steam \ steamapps \ common \ Batman Arkham City GOTY \ Setup \ DxRedist \ DXSETUP

    Steam \ steamapps \ common \ Batman Arkham City GOTY \ Setup \ AMD_DCOptSetup

    Steam \ steamapps \ common \ Batman Arkham City GOTY \ Setup \ dotnetfx35

    Steam \ steamapps \ common \ Batman Arkham City GOTY \ Setup \ vcredist_x86

    10+ people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2014-06-28T05:56:11+00:00

    THANKS A LOT...  !!!!! ;)

    Actually the second method worked for me.... :)

    10+ people found this answer helpful.
    0 comments No comments