Critical Error,Could not find profiles

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Baldy12
Posts: 2
Joined: 2020-03-11 17:19

Critical Error,Could not find profiles

Post by Baldy12 »

So i have just downloaded PR and wanted to start it up,when i encountered a problem.Running it with/or without administrator gives me the same error message,which is:
"Could not find file 'C:\Users\nidza\Documents\ProjectReality\Profiles'."
I will put further information collected from the bin bellow.

Code: Select all

Project Reality Log File
prlauncher.exe started at: 2020-03-11T18:22:20

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

Could not find file 'C:\Users\nidza\Documents\ProjectReality\Profiles'.

Further details can be found in the following file:

[url]C:\Program Files (x86)\Project Reality\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/f27-pr-bf2-support]Visit Support Forum[/url]

 > System.IO.FileNotFoundException: Could not find file 'C:\Users\nidza\Documents\ProjectReality\Profiles'.
File name: 'C:\Users\nidza\Documents\ProjectReality\Profiles'
   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.Settings.Global.CreateDefault()
   at -.f.a()
   at -.f.OnStartup(StartupEventArgs a)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   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)
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Critical Error,Could not find profiles

Post by AlonTavor »

Try deleting that folder so it recreates it.
It does look like permission issues however. If you get this while running as admin that's very weird, something else is blocking you.
Baldy12
Posts: 2
Joined: 2020-03-11 17:19

Re: Critical Error,Could not find profiles

Post by Baldy12 »

I would try that,but he problem is that i really dont have those profiles,i went into C:\Program Files (x86)\Project Reality\Project Reality BF2 and ran the application PRBF2,and it made the C:\Users\nidza\Documents\ProjectRealityfolders but no "0001",when i made it manualy and tried to log into the game with retrieve via email nothing has happen'd,but when i go into retrieve via Username the game says no "0002" user folder.I really have no more ideas what to do.In the C:\Users\nidza\Documents\ProjectReality,there are 2 folders one is dmp,and the other is Profiles.dmg is empty,while the Profiles has a Default folder and a Global .CON file
.Also i just noticed that when i did all that that some more text has appeared in the log file which is bellow.
lease report this error to the Project Reality Team, and include the log file in your report.

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

Visit Support Forum

> System.IO.FileNotFoundException: Could not find file 'C:\Users\nidza\Documents\ProjectReality\Profiles\0001'.
File name: 'C:\Users\nidza\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.Settings.Profile.CreateNewProfile(UInt16 )
at Reality.BF2.Settings.Profile.CreateNewProfile()
at PRLauncher.WPF.ViewModel.Pages.FirstTimeRetrieveAccountPageViewModel.f.a(Object a, GameSpyRetrieveSuccessEventArgs b)
at Reality.BF2.GameSpy.GameSpyConnection.(GameSpyRetrieveSuccessEventArgs )
at Reality.BF2.GameSpy.GameSpyConnection..(Object , RealitySocketReceivedDataEventArgs )
at Reality.Net.RealitySocket.a(RealitySocketReceivedDataEventArgs a)
at Reality.Net.RealitySocket.b(IAsyncResult a)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
[/code]
Last edited by Baldy12 on 2020-03-11 18:41, edited 2 times in total.
Reason: New line of bin code
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Critical Error,Could not find profiles

Post by AlonTavor »

Again, if this happens when properly running as admin, you have some other software blocking it.
Post Reply

Return to “PR:BF2 Support”