You may encounter this problem with code generated using IT Hit WebDAV Server Engine Wizards for Visual Studio, and the option "Save files and metadata to the file system" is selected.
This is a limitation of the Windows file system, for this, as far as I know, there is no workaround. Here is what MSDN says about it :
Do not end the file or directory name with a space or period. Although the underlying file system can support these names, the Windows shell and user interface do not work.
If you use a database or any other storage, you will not encounter this problem.
source share