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-05-2007, 02:45 AM   #1 (permalink)
Forum Newbie
 
Join Date: Mar 2005
Posts: 3
Default pathtoolongexception error

I got this error when I went to start my shard. Was wondering what it meant so I can try and fix it?

PHP Code:
RunUO - [[url]www.runuo.com][/urlVersion 2.0Build 2357.32527
Core
Running on .NET Framework Version 2.0.50727
Scripts
Compiling C# scripts...Error:
System.IO.PathTooLongExceptionThe specified pathfile name, or both are too l
ong
The fully qualified file name must be less than 260 characters, and the dir
ectory name must be less than 248 characters
.
   
at System.IO.Path.NormalizePathFast(String pathBoolean fullCheck)
   
at System.IO.Path.GetFullPathInternal(String path)
   
at System.IO.Directory.InternalGetFileDirectoryNames(String pathString user
PathOriginal
String searchPatternBoolean includeFilesBoolean includeDirsS
earchOption searchOption
)
   
at System.IO.Directory.GetDirectories(String pathString searchPatternSear
chOption searchOption
)
   
at System.IO.Directory.GetDirectories(String path)
   
at Server.ScriptCompiler.GetScripts(List`1 list, String path, String filter)
   at Server.ScriptCompiler.GetScripts(List
`list, String pathString filter)
   
at Server.ScriptCompiler.GetScripts(List`1 list, String path, String filter)
   at Server.ScriptCompiler.GetScripts(List
`list, String pathString filter)
   
at Server.ScriptCompiler.GetScripts(List`1 list, String path, String filter)
   at Server.ScriptCompiler.GetScripts(List
`list, String pathString filter)
   
at Server.ScriptCompiler.GetScripts(List`1 list, String path, String filter)
   at Server.ScriptCompiler.GetScripts(List
`list, String pathString filter)
   
at Server.ScriptCompiler.GetScripts(List`1 list, String path, String filter)
   at Server.ScriptCompiler.GetScripts(List
`list, String pathString filter)
   
at Server.ScriptCompiler.GetScripts(List`1 list, String path, String filter)
   at Server.ScriptCompiler.GetScripts(List
`list, String pathString filter)
   
at Server.ScriptCompiler.CompileCSScripts(Boolean debugAssemblyassembly)
   
at Server.ScriptCompiler.Compile(Boolean debug)
   
at Server.Core.Main(String[] args)
This exception is fatalpress return to exit 
Dark Raeven is offline   Reply With Quote
Old 04-05-2007, 11:39 AM   #2 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,617
Send a message via Yahoo to Lord_Greywolf
Default

you have your runuo folder burried deep in a path, or add in something with a very long sub directory/file name

what it is saying is that the total path of the files with names can not be longer than 244 characters, i,e,
c:/program files/runuo team/runuo/scripts/custom/my special custom script/myspecialcustomscriptfilename.cs

all of that can notbe over 244 characvters long

best bet to do is to move the runuo directory to the root of c so it is c:\runuo
(and runuo.exe is c:\runuo\runuo.exe that way) - then it would be c:\runuo\scripts\etc also

will havre to mod the short cut you made for starting runuo - but that is simple to do
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 04-06-2007, 04:40 PM   #3 (permalink)
Forum Newbie
 
Join Date: Mar 2005
Posts: 3
Default

thank you for the help, It works perfectly now
Dark Raeven 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