Critical Error

If you find a bug within PR:BF2 (including PRSP), please report it here.
Wolf47
Posts: 7
Joined: 2015-06-01 00:31

Critical Error

Post by Wolf47 »

Hey every body,

while i was playing the game , suddenly crashed and found this error :

Image
granderslice
Posts: 53
Joined: 2010-02-08 19:07

Re: Critical Error

Post by granderslice »

Here is my log of the same error:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-05-31T19:10:36

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

The process cannot access the file 'C:\Users\Grant\Documents\ProjectReality\Profiles\0001\Video.con' because it is being used by another process.

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.IOException: The process cannot access the file 'C:\Users\Grant\Documents\ProjectReality\Profiles\0001\Video.con' because it is being used by another process.
   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, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding)
   at Reality.BF2.Console.ConUtils.GetValue(String a, String b, String& c, Encoding d, Boolean stripQuotes, Boolean allowEmpty)
   at Reality.BF2.Settings.Video.GetResolution(UInt16 a)
   at Reality.BF2.Settings.Video.GetAspectRatio(UInt16 a)
   at Ca.a(UInt16 a)
   at Ca.a(Object a, FileSystemEventArgs b)
   at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
a3buys100
Posts: 2
Joined: 2015-05-31 04:16

Re: Critical Error

Post by a3buys100 »

I have that too =/
Ranzpirat
Posts: 225
Joined: 2012-11-11 23:54

Re: Critical Error

Post by Ranzpirat »

I have had the same error. MikeDude suggested in IRC to try with a new Profile (I used my old 1.2 profile) and I havent had the error occur again. Maybe give it a try?
Image
ImageImage
DonDOOM
Posts: 819
Joined: 2007-02-10 11:42

Re: Critical Error

Post by DonDOOM »

I got the same message. Like Ranz said, it's fixable if you completely remove your old profiles, under C:\Users\"Username"\Documents\ProjectReality\Profiles
Image
Daytrader
Posts: 122
Joined: 2009-11-08 14:48

Re: Critical Error

Post by Daytrader »

I am getting this to, so we have to set up another email and password ?(i only have one email address) how exactly to setup new profile, so i cant use my old controller settings ini ? etc
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: Critical Error

Post by Fastjack »

You don't need a new account.
Delete your profiles in the profile folder and run BF2 vanilla once (sofar i remember you must run vanilla once to make a new profile or it can/will crash if you run bf2mods).
It will create a new profile config.
After this, you can play pr.
Daytrader
Posts: 122
Joined: 2009-11-08 14:48

Re: Critical Error

Post by Daytrader »

Fastjack wrote:You don't need a new account.
Delete your profiles in the profile folder and run BF2 vanilla once (sofar i remember you must run vanilla once to make a new profile or it can/will crash if you run bf2mods).
It will create a new profile config.
After this, you can play pr.
I can then copy all my video and controll setting over after correct ? also i dont have BF2 anymore, you mean PR BF2 1.3 correct ?
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: Critical Error

Post by Fastjack »

Yes, sorry didn't checked changelog that pr is now a standalone.

Normally, delete the configs. and create new ones (start game and change settings in the menu's and save) because your image of the error showing me that there is a problem with your old video. cons.
Daytrader
Posts: 122
Joined: 2009-11-08 14:48

Re: Critical Error

Post by Daytrader »

Fastjack wrote:Yes, sorry didn't checked changelog that pr is now a standalone.

Normally, delete the configs. and create new ones because your image of the error showing me that there is a problem with your video. cons.
Ok, i will redo my graphics config, but will use my old controls.con as that did not give me a error.
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: Critical Error

Post by Fastjack »

I edited my post above. Read again pls
Daytrader
Posts: 122
Joined: 2009-11-08 14:48

Re: Critical Error

Post by Daytrader »

Fastjack wrote:I edited my post above. Read again pls
Cheers, seems to be working now, i only copied over my controll file and redone the graphics and video, thx
Daytrader
Posts: 122
Joined: 2009-11-08 14:48

Re: Critical Error

Post by Daytrader »

Well played last night ok, but played twice today and both times after about 30 minutes had the error again :( this is after making new profile as well.

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-06-02T14:17:16

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

The process cannot access the file 'C:\Documents and Settings\Chris\My Documents\ProjectReality\Profiles\0001\Video.con' because it is being used by another process.

Further details can be found in the following file:

[url]C:\Program Files\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.IOException: The process cannot access the file 'C:\Documents and Settings\Chris\My Documents\ProjectReality\Profiles\0001\Video.con' because it is being used by another process.
   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, Boolean useLongPath)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding)
   at Reality.BF2.Console.ConUtils.GetValue(String a, String b, String& c, Encoding d, Boolean stripQuotes, Boolean allowEmpty)
   at Reality.BF2.Console.ConUtils.GetValue(String a, String b, String& c, Boolean stripQuotes, Boolean allowEmpty)
   at Reality.BF2.Settings.Video.GetResolution(UInt16 a)
   at Reality.BF2.Settings.Video.GetAspectRatio(UInt16 a)
   at Ca.a(UInt16 a)
   at Ca.a(Object a, FileSystemEventArgs b)
   at System.IO.FileSystemWatcher.OnChanged(FileSystemEventArgs e)
   at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32 action, String name)
   at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
INVIS
Posts: 78
Joined: 2011-11-27 18:13

Re: Critical Error

Post by INVIS »

I have the same error.

I already deleted Documents/ProjectReality and Documents/Battlefield2 folders.
Then I've set up the profile in the launcher again.
The issue still persists

My log:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-06-03T21:03:24

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

Der Prozess kann nicht auf die Datei "C:\Users\invisible\Documents\ProjectReality\Profiles\0001\Video.con" zugreifen, da sie von einem anderen Prozess verwendet wird.

Further details can be found in the following file:

[url]D:\Game Files\ProjectReality\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.IOException: Der Prozess kann nicht auf die Datei "C:\Users\invisible\Documents\ProjectReality\Profiles\0001\Video.con" zugreifen, da sie von einem anderen Prozess verwendet wird.
   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bei 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, Boolean useLongPath, Boolean checkHost)
   bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   bei System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   bei System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   bei System.IO.StreamReader..ctor(String path, Encoding encoding)
   bei Reality.BF2.Console.ConUtils.GetValue(String a, String b, String& c, Encoding d, Boolean stripQuotes, Boolean allowEmpty)
   bei Reality.BF2.Settings.Video.GetResolution(UInt16 a)
   bei Reality.BF2.Settings.Video.GetAspectRatio(UInt16 a)
   bei Ca.a(UInt16 a)
   bei Ca.a(Object a, FileSystemEventArgs b)
   bei System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
   bei System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Last edited by INVIS on 2015-06-04 13:39, edited 5 times in total.
kevinhun
Posts: 2
Joined: 2015-06-03 19:45

Re: Critical Error

Post by kevinhun »

Hey everybody,

this happens to me regularly. Never had this matter with the previous versions of the game before. Please do not forget this major issue and try to find some kind of permanent solution. It is extremely depressing after a long anticipation of trying to get into a proper server, establishing a good community, waiting for and finally operating heavy assets then finally boom: everything disappears. Fingers crossed for an asap solution.

Thank you in advance,
Last edited by kevinhun on 2015-06-03 21:58, edited 1 time in total.
kurokorr
Posts: 5
Joined: 2013-09-21 20:04

Re: Critical Error

Post by kurokorr »

Reinstalling fixed the error for me.
Daytrader
Posts: 122
Joined: 2009-11-08 14:48

Re: Critical Error

Post by Daytrader »

I have tried everything, including reinstall, it always happens to me just as i get in a good squad and like 20/30 minutes into battle.
INVIS
Posts: 78
Joined: 2011-11-27 18:13

Re: Critical Error

Post by INVIS »

kurokorr wrote:Reinstalling fixed the error for me.
It happens completely randomly. Sometimes you can play for 1 hours without problems, sometimes 12.
You might just have luck.

It didn't fix it for me, anyway.

Edit:

Keeps happening and happening... really frustrating
Last edited by INVIS on 2015-06-04 17:18, edited 1 time in total.
The Iron Dreamer
Posts: 444
Joined: 2009-01-16 22:23

Re: Critical Error

Post by The Iron Dreamer »

Same crash for me

Code: Select all

[code]Project Reality Log File
PRLauncher.exe started at: 2015-06-04T19:07:49

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

The process cannot access the file 'C:\Users\IronDreamer\Documents\ProjectReality\Profiles\0001\Video.con' because it is being used by another process.

Further details can be found in the following file:

[url]C:\Program Files\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.IOException: The process cannot access the file 'C:\Users\IronDreamer\Documents\ProjectReality\Profiles\0001\Video.con' because it is being used by another process.
   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, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding)
   at Reality.BF2.Console.ConUtils.GetValue(String a, String b, String& c, Encoding d, Boolean stripQuotes, Boolean allowEmpty)
   at Reality.BF2.Settings.Video.GetResolution(UInt16 a)
   at Reality.BF2.Settings.Video.GetAspectRatio(UInt16 a)
   at Ca.a(UInt16 a)
   at Ca.a(Object a, FileSystemEventArgs b)
   at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
[/code]
Image
Image
kevinhun
Posts: 2
Joined: 2015-06-03 19:45

Re: Critical Error

Post by kevinhun »

Is there anybody looking after this? 4 threads have been opened reporting the same problem affecting a dozen players, still nothing.
Post Reply

Return to “PR:BF2 Bugs”