Batman: Arkham Asylum GOTY Edition

Batman: Arkham Asylum GOTY Edition

View Stats:
Microsoft Net Framework error
Hey guys, I am currently trying to run AC but I keep getting this error before the launcher pops up and after when I hit "PLAY". but the game never boots, and instead shows the error message again. Please help a fellow out (this is a completely clean install (no mods)

Error Message:

Unhandled exception has occurred 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.

Access to the path 'C:\Users\OneDrive\Documents\WB Games\Batman Arkham City GOTY\BmGame\Config\UserEngine.ini' is denied.

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

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'C:\Users\montl\OneDrive\Documents\WB Games\Batman Arkham City GOTY\BmGame\Config\UserEngine.ini' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
at BmLauncher.IniFile.Write(Boolean writeMeta)
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.9174 (WinRelRS6.050727-9100)
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:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Batman%20Arkham%20City%20GOTY/Binaries/Win32/BmLauncher.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9157 (WinRelRS6.050727-9100)
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.9176 (WinRelRS6.050727-9100)
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.9157 (WinRelRS6.050727-9100)
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.9157 (WinRelRS6.050727-9100)
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%20City%20GOTY/Binaries/Win32/BmLauncherUtils.DLL
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.9635
Win32 Version: 9.00.30729.9635
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9635_none_508ff82ebcbafee0/msvcm90.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9157 (WinRelRS6.050727-9100)
CodeBase: file:/C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.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-10 of 10 comments
tfk Feb 7, 2024 @ 3:22am 
Access denied. That sounds like a run as administrator issue. Compatibility maybe needs to be set to windows 8?
MarkyMark1995 Feb 7, 2024 @ 4:34am 
dude having the same exact problem except its for city. Have tried everything. im guessing if we find a fix it should work for both games.
Alshain Feb 7, 2024 @ 10:40am 
It's trying to read that file from your OneDrive folder. There is something really odd about that. I'm not exactly sure what would cause it to look there, but it shouldn't be.
Onimusha27 Feb 7, 2024 @ 6:18pm 
I have the same problem, has anyone found a solution?
tfk Feb 8, 2024 @ 4:32am 
Ok, I'm a Linux user and only work with Windows for my work. But I do have a theory. As stated by Alshain, it tries to access the Documents folder via your one drive installation. The theory is that this is done automatically by Windows when you have a connected account. It then integrates this live account across all services.

When this game came out, this feature didn't exist yet. One logged in on the machine using a local account.

This one drive location is probably extra protected which results in the above message.

My next step would be to log in with a local user account which is not connected to any cloud service and see if the game reads from the intended path (C:\Users\[username]\Documents\...). Without the OneDrive part. For this I believe you need the professional version of Windows.

This is a bit of a shot in the dark I'm afraid...

edit: one other thing that popped into mind: maybe its possible to run the game in compatibility mode? Windows 7 or something? Maybe it reverts back to the intended folder location?
Last edited by tfk; Feb 8, 2024 @ 4:46am
jony Feb 8, 2024 @ 7:21am 
I'm having this same issue for Asylum and City but Knight works just fine. I bought a steam key for the first two and I'm wondering if that has anything to do with it.
Alshain Feb 8, 2024 @ 10:32am 
Originally posted by tfk:
Ok, I'm a Linux user and only work with Windows for my work. But I do have a theory. As stated by Alshain, it tries to access the Documents folder via your one drive installation. The theory is that this is done automatically by Windows when you have a connected account. It then integrates this live account across all services.

When this game came out, this feature didn't exist yet. One logged in on the machine using a local account.

This one drive location is probably extra protected which results in the above message.

My next step would be to log in with a local user account which is not connected to any cloud service and see if the game reads from the intended path (C:\Users\[username]\Documents\...). Without the OneDrive part. For this I believe you need the professional version of Windows.

This is a bit of a shot in the dark I'm afraid...

edit: one other thing that popped into mind: maybe its possible to run the game in compatibility mode? Windows 7 or something? Maybe it reverts back to the intended folder location?

That would make some sense. I use Windows 11 pro and I do not have it connected to a Microsoft "SpyOnMe" account and never had an issue playing it.
scifidude79 Feb 29, 2024 @ 6:50am 
Do a full DirectX install. It's supposed to happen automatically, but it's obviously borked. The files are even already on your computer, in the directory where you downloaded the game. Right click on the game in your Steam app. Hit Manage>Browse Local Files. Then go to the folder /redist/DirectX and double click on DXSETUP. Run the DirectX setup, let it finish and then try running the game again. The error should be gone.
Sgt squirt Feb 29, 2024 @ 6:09pm 
Originally posted by Alshain:
Originally posted by tfk:
Ok, I'm a Linux user and only work with Windows for my work. But I do have a theory. As stated by Alshain, it tries to access the Documents folder via your one drive installation. The theory is that this is done automatically by Windows when you have a connected account. It then integrates this live account across all services.

When this game came out, this feature didn't exist yet. One logged in on the machine using a local account.

This one drive location is probably extra protected which results in the above message.

My next step would be to log in with a local user account which is not connected to any cloud service and see if the game reads from the intended path (C:\Users\[username]\Documents\...). Without the OneDrive part. For this I believe you need the professional version of Windows.

This is a bit of a shot in the dark I'm afraid...

edit: one other thing that popped into mind: maybe its possible to run the game in compatibility mode? Windows 7 or something? Maybe it reverts back to the intended folder location?

That would make some sense. I use Windows 11 pro and I do not have it connected to a Microsoft "SpyOnMe" account and never had an issue playing it.
it 100% is one drive just unlinked my account and it worked thanks been at this ♥♥♥♥ for like 3 days. The jokers up at microsoft
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Feb 6, 2024 @ 4:20pm
Posts: 10