Critical Error 8962: Failed writing login cookie

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
KilaDoper
Posts: 15
Joined: 2023-01-14 13:48

Critical Error 8962: Failed writing login cookie

Post by KilaDoper »

Hello i have big problem i cant start game every time i press login and want to approve steam acc this is happen 8962: Failed writing login cookie
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Critical Error 8962: Failed writing login cookie

Post by Mats391 »

Does it work if you deselect "Remember me"?
Please go to C:\Games\Project Reality BF2\mods\pr\bin and paste us the contents of PRLauncher.log
Image

Mineral: TIL that Wire-guided missiles actually use wire
KilaDoper
Posts: 15
Joined: 2023-01-14 13:48

Re: Critical Error 8962: Failed writing login cookie

Post by KilaDoper »

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2023-01-25T20:22:28

Critical Error: An unhandled exception has occured. Details are as follows:

Could not find file 'C:\Users\lazar\OneDrive\Documents\ProjectReality\Profiles\0001'.

Further details can be found in the following file:

[url]D:\Project Reality BF2\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/forumdisplay.php?f=27]Visit Support Forum[/url]

 > System.IO.FileNotFoundException: Could not find file 'C:\Users\lazar\OneDrive\Documents\ProjectReality\Profiles\0001'.
File name: 'C:\Users\lazar\OneDrive\Documents\ProjectReality\Profiles\0001'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at Reality.BF2.Accounts.ProfileManager.(String , ProfileType , UInt16 )
   at Reality.BF2.Accounts.ProfileManager.CreateLocalOnlineProfile(String , LocalProfile& )
   at PRLauncher.WPF.ViewModel.Pages.CreateProfilePageViewModel.b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at PRLauncher.WPF.ViewModel.Pages.CreateProfilePageViewModel.c.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
KilaDoper
Posts: 15
Joined: 2023-01-14 13:48

Re: Critical Error 8962: Failed writing login cookie

Post by KilaDoper »

Hello can u help me

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2023-01-26T13:31:18

Critical Error: An unhandled exception has occured. Details are as follows:

Could not find file 'C:\Users\lazar\OneDrive\Documents\ProjectReality\Profiles\0001'.

Further details can be found in the following file:

[url]D:\Project Reality BF2\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/forumdisplay.php?f=27]Visit Support Forum[/url]

 > System.IO.FileNotFoundException: Could not find file 'C:\Users\lazar\OneDrive\Documents\ProjectReality\Profiles\0001'.
File name: 'C:\Users\lazar\OneDrive\Documents\ProjectReality\Profiles\0001'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at Reality.BF2.Accounts.ProfileManager.(String , ProfileType , UInt16 )
   at Reality.BF2.Accounts.ProfileManager.CreateLocalOnlineProfile(String , LocalProfile& )
   at PRLauncher.WPF.ViewModel.Pages.CreateProfilePageViewModel.b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at PRLauncher.WPF.ViewModel.Pages.CreateProfilePageViewModel.c.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Last edited by KilaDoper on 2023-01-26 12:50, edited 1 time in total.
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Critical Error 8962: Failed writing login cookie

Post by Mats391 »

Please try disabling OneDrive for the Documents library folder. PR has issues handling the Windows OneDrive implementation.
Image

Mineral: TIL that Wire-guided missiles actually use wire
KilaDoper
Posts: 15
Joined: 2023-01-14 13:48

Re: Critical Error 8962: Failed writing login cookie

Post by KilaDoper »

I will try right now and tell did it work
KilaDoper
Posts: 15
Joined: 2023-01-14 13:48

Re: Critical Error 8962: Failed writing login cookie

Post by KilaDoper »

Mats391 wrote:Please try disabling OneDrive for the Documents library folder. PR has issues handling the Windows OneDrive implementation.
I uninstall OneDrive restart pc and after restart i have same problem :cry:
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Critical Error 8962: Failed writing login cookie

Post by Mats391 »

KilaDoper wrote:I uninstall OneDrive restart pc and after restart i have same problem :cry:
Please post the Log after uninstalling OneDrive
Image

Mineral: TIL that Wire-guided missiles actually use wire
KilaDoper
Posts: 15
Joined: 2023-01-14 13:48

Re: Critical Error 8962: Failed writing login cookie

Post by KilaDoper »

Hello i uninstall OneDrive and change some security settings i cant rememer what but something about protocol or internet im not sure 100% but is security settings and i un check Read Only for profile folder and game work
Tito2
Posts: 1
Joined: 2024-01-31 14:55

Re: Critical Error 8962: Failed writing login cookie

Post by Tito2 »

Hi!! Can you explain me more about how you solve this 8962 error???
Post Reply

Return to “PR:BF2 Support”