Page 1 of 1

PR Error Report: Video.con and Screen Aspect

Posted: 2010-11-02 18:12
by Vicious302
I'm getting this PRError Report: I'm crashing either when map loads, when I hit T, or spawning.

Tuesday, November 02, 2010 1:53:01 PM
---------------------------------
An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\Fred\Documents\Battlefield 2\Profiles\Default\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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
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, Boolean detectEncodingFromByteOrderMarks)
at System.IO.File.OpenText(String path)
at c.g()

Tuesday, November 02, 2010 1:53:01 PM
---------------------------------
Error in writing screen aspect ratio file: c:\program files (x86)\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files (x86)\ea games\battlefield 2\mods\pr\'.
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, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at k.a(String A_0)