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

Fixed bugs, solved problems, and old reports.
Locked
CINEMODE
Offline
Posts: 4
Joined: December 4th, 2011, 8:36 am

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

Post 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:

User avatar
Loading...
Offline
Posts: 41
Joined: December 21st, 2011, 5:57 pm

Re: System.IO._Error....

Post by Loading... »

I have the same problem :hmm:

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

User avatar
Kevinsweijen
SupOP
Offline
Posts: 365
Joined: November 4th, 2011, 6:08 pm
Location: Amsterdam, The Netherlands

Re: System.IO._Error....

Post 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
3 stages of sex life in a person's lifetime: Tri-weekly, try weekly, try weakly

<PyroPyro> afk touching my self while looking at the monies

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: System.IO._Error....

Post 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.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: System.IO._Error....

Post by fragmer »

Fixed in 0.614

Locked