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 01-23-2006, 08:56 AM   #1 (permalink)
Forum Newbie
 
Join Date: Jan 2006
Posts: 94
Default Server Problem...

Hello, I just closed the RUNUO exe down while the world was saving... now when I try to load up the server (RUNUO), it pops up a message box saying

SERVER.EXE - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled
Process id=0xfffc83ef (-228369), Thread id=0xfffc8047 (-229305).
Click OK to teminate blah blah blah....

..... when the it says World Loading...

Then the RUNUO says
World Loading...Error:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.__Error.EndofFile()
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadInt32()
at Server.World.Load()
at Server.ScriptCompiler.Compile(Boolean debug)
at Server.Core.Main(String[] args)
This exception is fatal, press return to exit


Umm, am I screwed or can I somehow fix this, please help.
kenric is offline   Reply With Quote
Old 01-23-2006, 09:48 AM   #2 (permalink)
GM Hider
 
sordican's Avatar
 
Join Date: Oct 2003
Age: 29
Posts: 187
Default

Tried loading one of your backup saves?
sordican is offline   Reply With Quote
Old 01-23-2006, 10:29 AM   #3 (permalink)
Forum Newbie
 
Join Date: Jan 2006
Posts: 94
Default

Yep, that fixed it, thank you.
kenric is offline   Reply With Quote
Old 05-09-2006, 09:20 PM   #4 (permalink)
 
Join Date: Apr 2006
Posts: 1
Default

Thank you ....!!
Niadora is offline   Reply With Quote
Old 05-10-2006, 06:39 AM   #5 (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

Don't close RunUO while its trying to save, you will ALWAYS get a corrupt save.
Phantom is offline   Reply With Quote
Old 05-10-2006, 07:34 PM   #6 (permalink)
 
Join Date: Aug 2005
Posts: 12
Default

OK....stupid question I am sure. But, how do you "load one of your back-up folders"? Something happened to the shard I was hosting and I would like to try that option to see if I can get the shard back.
Larque is offline   Reply With Quote
Old 05-10-2006, 07:50 PM   #7 (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

Quote:
Originally Posted by Larque
OK....stupid question I am sure. But, how do you "load one of your back-up folders"? Something happened to the shard I was hosting and I would like to try that option to see if I can get the shard back.
Replace the all the save files from your backup folder.
Phantom is offline   Reply With Quote
Old 05-10-2006, 08:04 PM   #8 (permalink)
 
Join Date: Aug 2005
Posts: 12
Default

Thank you so much for your fast reply.
Larque is offline   Reply With Quote
Old 05-11-2006, 01:18 PM   #9 (permalink)
 
Join Date: Aug 2005
Posts: 12
Default *sigh*

I had several files in my "backups" folder. Some titled "Most Recent" and some titled "Second or Third Backup". I chose a "Most Recent" file that would have backed my shard up to 9:29AM 05-09-06 because I knew things were fine at that time. I copied the folders and placed them in the "Saves" folder. All the folders in the "Saves" file (accounts, attachments, chat, commands, guilds, gumps, items, mobiles, regions) now read 5/9/2006 9:29AM
However, the "Saves" folder itself does not say that....only the contents/folders in it. When I tried to start my World after doing this I still get the same error messages. So, perhaps I should start from there....tell you what the errors say and maybe it is more than just doing backups.

When I woke up yesterday morning I found the server had shut down. I restarted it and tried to load the World. Tons of error messages showed up in the console screen, ending with this message: "Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again."

Samples of the error messages are: "- Error: Scripts\Accounting\Account.cs: CS0246: <line 861, column 21> The type or namespace name 'XmlTextWriter' could not be found <are you missing a using directive or an assembly reference?>" AND "- Error: Scripts\Custom Scripts\Chat2[1].02\Misc\IrcConnection.cs: CS0245: <line 37, column 11> The type or namespace name 'TcpClient' could not be found <are you missing a using directive or an assembly reference?>".

I have no idea what shut the server down. No other electrical products in the house were affected which would have suggested, at the very least, that the electricity had shut down sometime at the house during the night.

Anyone have any idea what I need to do to fix this? Thanks in advance for you thoughts.

I am editting this with some more information that might or might not be pertinent....When I double click the "RunUO1.0 folder" and open it, the details show:

Saves file folder 5/10/2006 7:34PM (this is when we were working on doing backup)

When I double click on the "Save folders" and open it, the details show:

Accounts file folder 5/10/2006 8:43PM
Attachments file folder 5/10/2006 8:43PM
Chat file foler 5/10/2006 4:44AM

and commands, guilds, gumps, items, mobiles and regions all read the 4:44AM

However, as stated above, when I open the individual folders such as accounts, they all show the date of 5/9/2006 9:29AM.

Last edited by Larque; 05-11-2006 at 01:47 PM.
Larque is offline   Reply With Quote
Old 05-11-2006, 03:58 PM   #10 (permalink)
Save the Mongbats!
 
Thraxus's Avatar
 
Join Date: Mar 2003
Location: Mongbatville
Age: 33
Posts: 1,042
Default

The last modified dates of your folders is irrelevant. You can set that aside in your mind right now.

The errors you're reporting have absolutely nothing to do with your world save files. Your errors are completely different than the ones posted by the original poster in this thread, so obviously the solution is also going to be entirely different.
Code:
- Error: Scripts\Accounting\Account.cs: CS0246: <line 861, column 21> The type or namespace name 'XmlTextWriter' could not be found <are you missing a using directive or an assembly reference?>
XmlTextWriter is part of the System.Xml namespace. Have you edited your Account.cs? If so, make sure that "using System.Xml;" is still at the top of the file.

If you haven't edited that file, and the 'using' directive is still there, then you have a bigger problem on your hands. The fact that your second example (TcpClient, a member of the System.Net.Sockets namespace) is also regarding a default class in the .NET framework, my assumption is that the problem isn't actually with your scripts, but with your .NET framework installation. If that's the case, then I assume that by "tons" of errors you mean literally hundreds upon hundreds of them.

Can someone confirm or refute my theory please? I don't claim to be an expert in these matters.
__________________
One day, we mongbats shall rise up and unleash our fury on all of mankind...
And on that fateful day, humanity shall tremble, and they shall know despair...
Thraxus is offline   Reply With Quote
Old 05-11-2006, 04:15 PM   #11 (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

Quote:
Originally Posted by Thraxus
The last modified dates of your folders is irrelevant. You can set that aside in your mind right now.

The errors you're reporting have absolutely nothing to do with your world save files. Your errors are completely different than the ones posted by the original poster in this thread, so obviously the solution is also going to be entirely different.
Code:
- Error: Scripts\Accounting\Account.cs: CS0246: <line 861, column 21> The type or namespace name 'XmlTextWriter' could not be found <are you missing a using directive or an assembly reference?>
XmlTextWriter is part of the System.Xml namespace. Have you edited your Account.cs? If so, make sure that "using System.Xml;" is still at the top of the file.

If you haven't edited that file, and the 'using' directive is still there, then you have a bigger problem on your hands. The fact that your second example (TcpClient, a member of the System.Net.Sockets namespace) is also regarding a default class in the .NET framework, my assumption is that the problem isn't actually with your scripts, but with your .NET framework installation. If that's the case, then I assume that by "tons" of errors you mean literally hundreds upon hundreds of them.

Can someone confirm or refute my theory please? I don't claim to be an expert in these matters.
Without any more information I could not deney your conclusion.
Phantom is offline   Reply With Quote
Old 05-11-2006, 04:20 PM   #12 (permalink)
Save the Mongbats!
 
Thraxus's Avatar
 
Join Date: Mar 2003
Location: Mongbatville
Age: 33
Posts: 1,042
Default

Barring any other ideas then, it would probably be best for Larque to try reinstalling his .NET framework. The worst that could come of that is that it doesn't resolve the issue.
__________________
One day, we mongbats shall rise up and unleash our fury on all of mankind...
And on that fateful day, humanity shall tremble, and they shall know despair...
Thraxus 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