I recently discovered that you cannot rename a project name through Revit Server Admin if it will exceed 40 characters.
You may find this hard to believe if you look at some of your file names and can clearly see that they exceed the 40 character cap.
You can save a file through Revit with a longer filename, or rename it through Windows Explorer (you will need to open and resave as a new central file if you do this) without issue...but within the Revit Server Admin there is a restriction as shown in the example code below.
defaultStoragePathLength = this.GetDefaultStoragePath().Length;
modelNameLength = 40;
modelExtensionLength = ".rvt".Length;
modelFilesLength = 67;
foldersLength = 260 - (defaultStoragePathLength + modelNameLength + modelExtensionLength + modelFilesLength);
Important Note
Please also be aware that you cannot exceed 255 characters including the path due to a Windows operating system restriction, so you may find it necessary to be creative with your folder and file naming conventions.
Comments