Jump to content

Error path, filename, or both too long - trying to delete a server


VVaTcHeR

Recommended Posts

I have had a couple friends create servers to test that everything is working on my site and servers before we officially open for business. I have deleted several of them just fine, however the last one is giving me the following error and I can't figure out what it is referencing or how to fix it. Thanks in advance for any help you could give.

 

Error - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

 

 

(ASServer2)

8/13/2017 2:59:49 AM Deleting 69.30.199.195:7777

8/13/2017 2:59:49 AM Deleting the fast download files...

8/13/2017 2:59:50 AM Deleting the directory G:\TCAFiles\Users\DannyL\4\

8/13/2017 2:59:51 AM The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

8/13/2017 2:59:51 AM TCAdmin.SDK.Remote.RemoteException: ---> System.IO.PathTooLongException: at System.IO.Path.SafeSetStackPointerValue(Char* buffer, Int32 index, Char value) at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) at System.IO.FileSystemInfo.set_Attributes(FileAttributes value) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.RemoveReadOnly(String& directoryName) at TCAdmin.Monitor.Standard.WebServices.FileSystem.DeleteDirectory(String directoryName, Int32 retries) --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at TCAdmin.SDK.Web.References.FileSystem.FileSystem.DeleteDirectory(String directoryName, Int32 retries) at TCAdmin.GameHosting.SDK.Objects.Service.***3174;() at TCAdmin.GameHosting.SDK.Objects.Service.Uninstall(Boolean deleteRootDirectory, Boolean executeBeforeDelete) at TCAdmin.GameHosting.Automation.AutomationProcesses.***1397;() at TCAdmin.GameHosting.Automation.AutomationProcesses.Start() at TCAdmin.TaskScheduler.ModuleApi.StepBase.Start(Object arguments)

Link to comment
Share on other sites

Well the error already explains it. You need to shrink the path and file name inside of G:\TCAFiles\Users\DannyL\4\ There are 100eds of tools to do that (just google the error and pick your favourite tool) or you can do it manually by figuring out which folder/file causes the overlength and changing its name

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use