Thursday, April 11, 2013

Check you Plugin Stats!

Ever wonder how many times your plug-ins have executed and/or failed.  Run an advanced find on PluginTypeStatistic and find out!

 

http://mpwiki.viacode.com/default.aspx?g=posts&t=105447

Alert Details

Message

Priority

Severity

The Sandbox Host service has terminated a Sandbox Worker process.

Medium

Warning

Rule Knowledgebase

Summary

The Sandbox Host service has terminated a Sandbox Worker process.

Causes

A Worker process can be terminated for multiple reasons:

1. A plug-in used resources (CPU, memory, handles) excessively.

2. A Worker process was unresponsive to the Sandbox Host service.

Resolutions

No action is required unless there is a consistent failure. Using Advanced Find, review the PluginTypeStatistic for plug-ins registered in the system, which will provide information about plug-ins that have contributed to process terminations.

External References

This rule does not contain any external references.

 

Creating ActivityParty for a custom Activity in Scribe

Scribe validates the activitytypecode that you supply against a list in the configuration file DynamicsCRMAdapter2011Metadata.xml.  If you try to insert a new ActivityParty for a custom activity, Scribe will not allow it until you add your entityname and activitytype to the the configuration file.  To fix this, close Scribe Workbench and edit the file XML file.  Note:  The entity name MUST match the logical entity name (e.g.  new_mycustomactivity) or you will get a different error. 

 

Tuesday, July 10, 2012

THE week+

Some weeks are better than others, but I just wrapped up what has to be the most fun I have had while working in one week!

Sunday - great doubles match against some old and new friends (in 101F heat)
Monday - not the best doubles play, but tennis nonetheless
Tuesday - swim meet where Annie had a Gold time in backstroke
Wednesday - the 4th of July started with wakeboarding on the James, a win at the GRSA regatta and a fun evening waiting for the fireworks
Thursday - more tennis with Aaron!
Friday - Wakeboard and waterskiing, then on to Friday Cheers!
Saturday - Watched Wimbledon women's final, planted flowers and had a great dinner and slip/slide with friends
Sunday - Shopping in Williamsburg and then on to Kingsmill
Monday - Terrific breakfast and spent the day at the beach, with a nice lunch at the new marina.  Finished up the day with 9 holes at the Independence short course and dinner at Wild Ginger.

It truly was THE week!

Thursday, June 21, 2012

Refresh SQL Management Studio query window intellisense cache

I have been using OneNote instead of blogging to capture quick lessons learned, but I just realized that this tip didn't end up in either place, so I'm going to go back to the tried and true...blogging





Best trick for Dynamics CRM Report writers: CTRL + SHIFT + R to refresh SQL Server Management Studio query window's local intellisense cache:

Wednesday, February 1, 2012

CRM 2011 Reports SSRS Error SetExecutionCredentials

If you are getting the error below running Reports, not to worry. Generally this is an easy fix. Find out what account Reporting Services is running under and add it to the Active Directory group PrivReportingGroup. If SRS is running as a LocalService or NetworkService (local accounts), you will need to add the SRS computer object to the AD group. After doing that, just restart the Reporting Services windows service and you should be good to go! Exception information: Exception type: CrmReportingException Exception message: An error occurred during report rendering. at Microsoft.Crm.Web.Reporting.SrsReportViewer.SetExecutionCredentials(ServerReport reportObj) at Microsoft.Crm.Web.Reporting.RemoteSrsReportViewer.LoadReportAndSetParameters() at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) An error has occurred during report processing. (rsProcessingAborted) at Microsoft.Reporting.WebForms.ServerReportSoapProxy.OnSoapException(SoapException e) at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod) at Microsoft.Reporting.WebForms.ServerReport.SetDataSourceCredentials(IEnumerable`1 credentials) at Microsoft.Crm.Web.Reporting.SrsReportViewer.SetExecutionCredentials(ServerReport reportObj) Cannot create a connection to data source 'CRM'. (rsErrorOpeningConnection)

Thursday, December 1, 2011

Windows 8 in a VM

I finally got my VM NAT working thanks to the comments in an installation blog post. The key was changing the Adapter Type (Network - Advanced) to Intel PRO /1000 MT Desktop. As soon as I restarted the VM, it recognized the adapter.

Windows 8 on my Dell Duo has COMPLETELY REVOLUTIONIZED my tablet. With Windows 7, the Duo was better in "netbook mode" but now I rarely flip to the keyboard. The split on-screen keyboard is a huge improvement and the pinch-zoom on IE 10 is FANTASTIC.

Wednesday, September 7, 2011

Supported Extensions for CRM 2011

I thought it was worth highlighting the official Do’s and Don’ts of CRM extension.

 

It seems obvious, but no modifying the physical database schema is permitted (except indexes):

Modifications to the physical schema of the database, other than adding or updating indexes. This includes any actions performed against the database without going through System Customization. Modifying tables, stored procedures, or views in the database is not supported. Adding tables, stored procedures, or views to the database is also not supported because of referential integrity or upgrade issues. Adding indexes is supported per the guidelines in the “Microsoft Dynamics CRM 2011 Implementation Guide”. This applies to all Microsoft Dynamics CRM databases and the Microsoft Dynamics CRM for Microsoft Office Outlook local database.

 

One infraction that I have seen cause disastrous results is saved for last:

Editing a solutions file to edit any solution components other than Ribbons, Forms, SiteMap or Saved Queries not supported. Defining new solution components by editing the solutions file is not supported. Editing Web Resource files exported with a solution is not supported. Editing the contents of a managed solution is not supported.