Page 1 of 1

[FIXED] System.IO._Error....

Posted: December 4th, 2011, 8:43 am
by CINEMODE
09:31:24 > Config.Load: Config file config.xml loaded succesfully.
09:31:24 > PlayerDB.Load: Done loading player DB (5356 records) in 185ms. MaxID=5652
09:31:24 > IPBanList.Load: Done loading IP ban list (354 records).
09:31:24 > CommandManager: 121 commands registered (5 hidden, 97 aliases)
09:31:24 > Checking for fCraft updates...
09:31:25 > Backed up server data to "fCraftData_20111204_09-31-25.zip"
09:31:26 > ERROR: Unhandled exception in ServerGUI.StartUp: System.IO.IOException: Die Datei, die ersetzt werden soll, kann nicht entfernt werden.

bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.__Error.WinIOError()
bei System.IO.File.Replace(String sourceFileName, String destinationFileName, String destinationBackupFileName, Boolean ignoreMetadataErrors)
bei fCraft.Paths.MoveOrReplace(String source, String destination)
bei fCraft.WorldManager.SaveWorldList()
bei fCraft.Server.StartServer()
bei fCraft.ServerGUI.MainForm.StartupThread()
09:31:26 > Warning: A filesystem-related error has occured. Make sure that only one instance of fCraft is running, and that no other processes are using server's files or directories.





?

I understand it :hmm:

Re: System.IO._Error....

Posted: December 26th, 2011, 12:27 pm
by Loading...
I have the same problem :hmm:

but you say you understand it ??? why did you post

Re: System.IO._Error....

Posted: January 7th, 2012, 12:49 pm
by Kevinsweijen
Are you 100% sure you only have one copy of the software running?
Also step one of debugging: restart the computer/VPS.
~Kevinsweijen

Re: System.IO._Error....

Posted: January 8th, 2012, 12:10 pm
by fragmer
I've seen this error pop up randomly. It happens when something interferes with fCraft writing to a file - for example antivirus or malware scanners, automatic backups, etc.

I have been researching ways to prevent it, but the only way I found so far is to use Volume Shadow Copy Service. I don't really want to deal with VSS because it only works on certain versions of Windows, has potential for memory leaks, and requires additional configuration on the server machine.

Re: System.IO._Error....

Posted: February 2nd, 2012, 7:58 pm
by fragmer
Fixed in 0.614