Archive
Archive for July 9, 2012
File name ABC.pdf is invalid – error while creating attachment programmatically
The other day I was getting “Invalid file name” error when I try to create an attachment with .pdf file and associating to Email, in my plug-in. (link)
Reason
- Reason was “pdf” was added as blocked file extension for attachments in my CRM organization.
Fix :-
- Go to “Settings -> Administration -> System Settings”
- Remove pdf from “Blocked file extension for attachment”
- Click ‘OK’
🙂
Categories: CRM 2011
Tags: Attachment, CRM 2011, email, File name is invalid, unable to add pdf
Stats
- 1,259,870 hits
Translate
Categories
Top Posts
- PowerApps - Step By Step - Build a simple Calculator App
- Power Apps component framework (PCF) - Beginner guide
- [Step by Step] Postman tool to test Dynamics 365 online Web API
- Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- C# - Bulk Update Records - Pass Data Table to SQL Stored Procedure
- Power Apps - Component library
- Boot failure reboot and select proper boot device – Error connecting to VM - Hyper V
- Post XML over HTTP and capture the response – C#
- C# - SQL - Bulk Insert records from Data Table and CSV
Recent Posts
- Canvas App Import Failure | CanvasAppEnvironmentMismatch error
- ‘Callback Registration Expander’ System Jobs stuck at ‘Waiting For Resources’
- [Step by Step] Debug Model Driven and Canvas Apps using ‘Monitor’ tool
- Canvas App | Dataverse | Distribute columns to multiple forms and Patch
- [Step by Step] Canvas App | Dataverse | Filter, Patch, For All, Lookup