---
title: "Messages..::.FileNameNotAllowed Property ActiveX/Java Uploader ASP.NET"
canonical: https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Messages_FileNameNotAllowed.htm
product: "Upload Suite 8"
---

# Messages.FileNameNotAllowed Property ActiveX/Java Uploader ASP.NET

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets a message which states that a user tries to select a file, the name of which is not allowed.
 
**Namespace:** [Aurigma.ImageUploader](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
 **Assembly:** Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
 
## Syntax
  
```csharp
public string FileNameNotAllowed { get; set; }
```
 
### Property Value
 
Type: [System..String](http://msdn2.microsoft.com/en-us/library/s1wwdcbf)
 
The message which states that a user tries to select a file the name of which is not allowed (i.e. the file name does not match [FileMask](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Restrictions_FileMask.htm.md), or matches [DeniedFileMask](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Restrictions_DeniedFileMask.htm.md)). It can contain the following placeholder:
 
 - *[name]*
     - replaced by the name of the file which cannot be added.

Default value is **"The file '[name]' cannot be selected. The website doesn't accept files of this type."**.
 
## Remarks
  
This property is necessary for localization of ActiveX/Java Uploader.
   
## See Also

### Reference

- [Messages Class](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_Messages.htm.md)
- [Aurigma.ImageUploader Namespace](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
- [Restrictions..FileMask](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Restrictions_FileMask.htm.md)
- [Restrictions..DeniedFileMask](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Restrictions_DeniedFileMask.htm.md)
- [$au.messages.fileNameNotAllowed JavaScript PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_J_$au_messages_fileNameNotAllowed.htm.md)
- [Messages.FileNameNotAllowed PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_Messages_FileNameNotAllowed.htm.md)
