Home > Support > Knowledge Base and Known Issues > Object is Not Valid and Cannot be Saved

Object is Not Valid and Cannot be Saved

Table of contents

Overview

You may get this error when you try to Save or Upload a document with a name that contains of of these special non-alphanumeric characters.

 
Exception: Csla.Validation.ValidationException: Object is not valid and can not be saved 
The value 'Name' does not allow the following characters: \ / * ? : " < > | % + 

Cause

A file name with one of the non-supported characters is being saved to SmartVault.

Resolution

 

Special characters can often cause problems with file handling systems, either when you cross from one type of operating system to another (ex: Mac to PC) or when you're using varied protocols (ex: WebDav, HTML) so it is generally best to avoid their use if possible.  Even though the file may save fine in one place it's file name may cause issue when it's transferred elsewhere.


While some characters like - are almost always acceptable it's a good practice to consider if your special characters are causing your issues whenever you run into a problem opening or moving files. 

You must to post a comment.
Last modified
10:08, 12 Jun 2014

Tags

Classifications

This page has no classifications.