Some errors in the log
Posted: 2010-10-16 10:37
I downloaded the new version and installed yesterday, I was playing with my friends and the game was more laggy than other days, I decided to see the log in the mod folder and i found this:
An error occurred while parsing video controls
System.IO.IOException: The process can't acces the file 'G:\...\Battlefield 2\Profiles\Default\Video.con' Because it is being used by another program.(I have translate this line but i don?t know if i have done it well).
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en 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)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
en System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
en System.IO.StreamReader..ctor(String path, Boolean detectEncodingFromByteOrderMarks)
en System.IO.File.OpenText(String path)
en c.g()
---------------------------------
Error in writing screen aspect ratio file: g:\program files (x86)\ea games\battlefield 2\mods\pr\
System.IO.DirectoryNotFoundException: Can't find part of the path: 'g:\program files (x86)\ea games\battlefield 2\mods\pr\'.
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en 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)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
en k.a(String A_0)
I run the game as administrador, SO win 7 64 bit, I thoug the lag problem was because this errors, can be a problem for have the game instaled in the program files (x86) folder?
sorry if i wrote something bad, I am not english.
An error occurred while parsing video controls
System.IO.IOException: The process can't acces the file 'G:\...\Battlefield 2\Profiles\Default\Video.con' Because it is being used by another program.(I have translate this line but i don?t know if i have done it well).
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en 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)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
en System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
en System.IO.StreamReader..ctor(String path, Boolean detectEncodingFromByteOrderMarks)
en System.IO.File.OpenText(String path)
en c.g()
---------------------------------
Error in writing screen aspect ratio file: g:\program files (x86)\ea games\battlefield 2\mods\pr\
System.IO.DirectoryNotFoundException: Can't find part of the path: 'g:\program files (x86)\ea games\battlefield 2\mods\pr\'.
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en 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)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
en k.a(String A_0)
I run the game as administrador, SO win 7 64 bit, I thoug the lag problem was because this errors, can be a problem for have the game instaled in the program files (x86) folder?
sorry if i wrote something bad, I am not english.