Hi,
We were getting the above error in one of our plugin which was using SendEmailRequest to send mail.
As it turned out it was because of the subject not being in proper format in the template

Hope it helps.
Hi,
We were getting the above error in one of our plugin which was using SendEmailRequest to send mail.
As it turned out it was because of the subject not being in proper format in the template

Hope it helps.
Hi,
Today I was getting the above error while trying to update one of my plugin assemblies. The password of the admin account had recently changed. So I had to Remove the existing connection and create a new one to get things working.

Bye.
We will get this error while using Environment.MachineName
in our plugin code to get the Server Name in case of Sandbox.

Bye.
Hi,
We were getting the below error in one of our plugins. The reason was because we were making use of HttpContext class of System.Web assembly.

For our on-premise deployment it was working fine, we were getting this issue only on registering plugin on Sandbox mode.
We can find the explanation here
http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/302377cf-97bd-4fe9-b7d0-fa7f08152927/
Bye.
Hi,
We recently had a requirement to execute a plugin when a CampaignActivity is distributed using “Distribute Campaign Activity” button.
As it turned out, this message was not available.

As it was on premise, we enabled it in an unsupported manner i.e. by updating the sdkmessagefilterbase table in orgname_mscrm database.
SQL Query Used :-
update sdkmessagefilterbase
set isCustomProcessingStepAllowed=1
where
sdkmessageid=(select sdkmessageid from sdkmessagebase where name=‘DistributeCampaignActivity’)
and
primaryObjectTypecode=‘4402’

Hope this helps.
Hi,
To get the id of the case record which is getting resolved in the plugin, we need to make use of IncidentResolution inputparameters of the context.
Entity incRes = this.Context.InputParameters["IncidentResolution"] as Entity; Guid caseId = ((EntityReference)incRes.Attributes["incidentid"]).Id;
Bye.