Added a message for illegal characters in the query name. 
Added a message for illegal characters in the query name. 

SVN-Revision: 3316

NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt