Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 04-03-2005, 03:56 PM   #1 (permalink)
 
Join Date: Mar 2004
Age: 27
Posts: 64
Send a message via ICQ to wit22tt Send a message via AIM to wit22tt
Default Does anyone know how to fix?

If anyone knows what is causing this error and how to fix it, the information would be GREATLY appreciated. It is coming up in the console everytime the server goes to "save" itself.

Code:
Reports: Save started
Reports: Save complete
System.IO.IOException: Cannot create a file when that file already exists.

   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.File.Move(String sourceFileName, String destFileName)
   at Server.Engines.Reports.XmlPersistanceWriter.Close()
Reports: Render started
Reports: Render complete
wit22tt is offline   Reply With Quote
Old 04-03-2005, 05:03 PM   #2 (permalink)
Account Terminated
 
Join Date: Dec 2004
Age: 36
Posts: 199
Default

What custom scripts have you added prior to getting this error?
Hlal is offline   Reply With Quote
Old 04-03-2005, 08:44 PM   #3 (permalink)
 
Join Date: Mar 2004
Age: 27
Posts: 64
Send a message via ICQ to wit22tt Send a message via AIM to wit22tt
Default

I didn't add anything. What happened was that I had to reformat my computer so I saved my entire RunUO 1.0.0 folder. After I installed Windows (2k) again, I copied the file back onto my hard drive. Ran the server and it loads, but I always get this message. The server runs fine and saves and everything. It doesn't seem to have any dire effects on it, but I was just curious as to what was causing it. Thanks for the help
wit22tt is offline   Reply With Quote
Old 04-03-2005, 09:19 PM   #4 (permalink)
Forum Novice
 
Join Date: Aug 2003
Age: 23
Posts: 769
Default

"Cannot create a file when that file already exists."

Something is trying to be written during saves, but seems something may be trying to write to the same file at the same time, so this error comes up. Just a guess though.
FLuXx() is offline   Reply With Quote
Old 04-04-2005, 12:21 AM   #5 (permalink)
 
Join Date: Mar 2004
Age: 27
Posts: 64
Send a message via ICQ to wit22tt Send a message via AIM to wit22tt
Default

thats what i figured. There was another error i fixed that was pertaining to the reports.html file in the runuo/output folder. It was set to read only when i xfered all the files back to my fresh windows install. I took the read only off, but this error still comes up. I believe it is still referring to that file, but I'm not positive. I was just curious as to if anyone else has seen this error in similar instances.
wit22tt is offline   Reply With Quote
Old 04-04-2005, 01:13 AM   #6 (permalink)
Forum Expert
 
Endicott's Avatar
 
Join Date: Jan 2005
Location: 127.0.0.1
Age: 20
Posts: 357
Send a message via AIM to Endicott Send a message via MSN to Endicott Send a message via Yahoo to Endicott
Default

hmm .net framework?
Endicott is offline   Reply With Quote
Old 04-04-2005, 02:34 AM   #7 (permalink)
Forum Expert
 
Join Date: Sep 2004
Posts: 269
Default

Have you modified any of the Report system files, especially the Persistance/PersistanceWriter.cs file?
Just wondering, 'cause the Close method uses the File.Move method, that can give you that error.
Codeus is offline   Reply With Quote
Old 04-04-2005, 09:17 AM   #8 (permalink)
 
Join Date: Mar 2004
Age: 27
Posts: 64
Send a message via ICQ to wit22tt Send a message via AIM to wit22tt
Default

I haven't modified any of them. Didn't even know what they were or where they are. I will check when I get home (at work right now) and see if it's set to read-only like the other files. *thinks he reset that* Thanks for the info, it gives me a place to start looking
wit22tt is offline   Reply With Quote
Old 04-04-2005, 12:15 PM   #9 (permalink)
 
Join Date: Nov 2003
Age: 25
Posts: 259
Send a message via MSN to Tark
Default

ugg i hate this error. its been happening on my shard, and its crashed it a couple times, otherwise it just pops up during a save, and keeps on going.
Tark is offline   Reply With Quote
Old 04-04-2005, 03:18 PM   #10 (permalink)
 
Join Date: Mar 2004
Age: 27
Posts: 64
Send a message via ICQ to wit22tt Send a message via AIM to wit22tt
Default

It hasn't crashed my shard yet, but I'm waiting for it to. I checked all the persistance files, I never have modified them at all. None of them are read only or anything to that effect either. I guess I'll just leave it till it causes a dire issue. Thanks for the help guys, and possibly girls...
wit22tt is offline   Reply With Quote
Old 04-04-2005, 03:27 PM   #11 (permalink)
Forum Expert
 
Endicott's Avatar
 
Join Date: Jan 2005
Location: 127.0.0.1
Age: 20
Posts: 357
Send a message via AIM to Endicott Send a message via MSN to Endicott Send a message via Yahoo to Endicott
Default

i havent had anything worng with mine so im happy
Endicott is offline   Reply With Quote
Old 04-07-2005, 05:11 PM   #12 (permalink)
 
Join Date: Nov 2003
Age: 25
Posts: 259
Send a message via MSN to Tark
Default

*repeatedly beats head on wall*

the output folder was read-only!!!! agggh after all that work it was something so stupid....
Tark is offline   Reply With Quote
Old 07-05-2005, 03:18 PM   #13 (permalink)
Forum Novice
 
Lokigom92's Avatar
 
Join Date: Apr 2004
Posts: 158
Default need help here as well

I realize that this is an older thread, but I am having the same problem. I looked and found that my output folder was also read only, and set it so that it wasn't, applied the change, clicked ok. However, my output folder will not remain like that, so I continue to get this message. So far, it has not caused any major complications, but I would like to get this fixed before it happens. I have not added any new scripts or changed any pre-existing ones. Can anyone lend a hand?
Lokigom92 is offline   Reply With Quote
Old 07-05-2005, 03:57 PM   #14 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Do a new install & copy over your saves and scripts O_o?





Necromanc0r!!
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 07-05-2005, 06:03 PM   #15 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

People, read the error please....

The problem it seems is that, the Reports system is trying to save to quickly.

You should increase the amount of time, if you changed it, because this doesn't happen by default.
Phantom is offline   Reply With Quote
Old 07-05-2005, 10:05 PM   #16 (permalink)
Forum Novice
 
Lokigom92's Avatar
 
Join Date: Apr 2004
Posts: 158
Default

What has got me is this...it only just started doing this in the last couple of days. I have had my shard up and running for about 8 months now with no sign of this. I have not changed anything in the last month or two, so I don't know why this started all of a sudden like this. Is there anything I can do to fix it?
Lokigom92 is offline   Reply With Quote
Old 07-05-2005, 10:25 PM   #17 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by Lokigom92
What has got me is this...it only just started doing this in the last couple of days. I have had my shard up and running for about 8 months now with no sign of this. I have not changed anything in the last month or two, so I don't know why this started all of a sudden like this. Is there anything I can do to fix it?

make sure that none of the files are Read Only... I had that problem once, just a suggestion and you can take it or leave it as you choose.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline   Reply With Quote
Old 07-05-2005, 10:32 PM   #18 (permalink)
Forum Novice
 
Lokigom92's Avatar
 
Join Date: Apr 2004
Posts: 158
Default

yeah, my output file is read only, I change it so that it's not, but it won't stay like that. I make the change....apply it, click ok, then when I go to check it, it's back to read only. Don't know how to get it to stop doing that.
Lokigom92 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5