<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8049990979271209515</id><updated>2011-07-07T18:01:35.012-07:00</updated><category term='SSRS Reports'/><category term='Microsoft CRM 4.0 Development'/><category term='CRM 4.0'/><category term='Microsoft CRM 3.0 Issues'/><category term='Reports'/><category term='Unsupported'/><category term='crm 3.0 3 microsoft delete system customizer customiser create new entities entity error fail'/><category term='SQL'/><category term='fitlted views rma restricted access mode users crm 3.0 microsoft mscrm'/><category term='email router'/><category term='Issues'/><title type='text'>Kevin Hughes on Dynamics CRM</title><subtitle type='html'>A collection of tips and findings from a UK based Dynamics CRM Consultant</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-5635011489289142110</id><published>2011-03-01T04:44:00.000-08:00</published><updated>2011-03-01T04:49:01.266-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Got a SQL DB stuck in restoring?</title><content type='html'>Then use the following script:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;RESTORE DATABASE [DATABASE NAME] &lt;database&gt;WITH RECOVERY&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;Taken from&lt;br /&gt;&lt;a href="http://www.execsql.com/post/bringing-a-database-out-of-restoring-state-in-sql-server-2005"&gt;&lt;span style="font-size:78%;"&gt;http://www.execsql.com/post/bringing-a-database-out-of-restoring-state-in-sql-server-2005&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-5635011489289142110?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/5635011489289142110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=5635011489289142110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/5635011489289142110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/5635011489289142110'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2011/03/got-sql-db-stuck-in-restoring.html' title='Got a SQL DB stuck in restoring?'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-3220470783237091434</id><published>2011-02-18T07:13:00.001-08:00</published><updated>2011-02-18T07:20:46.127-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSRS Reports'/><title type='text'>Creating SSRS Reports that fit on to an A4 Sheet</title><content type='html'>One requirement that always come up when a customer requests a report is that it must print (or export to PDF) onto a sheet of A4.&lt;br /&gt;&lt;br /&gt;This is often for summary reports that rollup useful information onto one page, such as an Event's Sessions and Attendees, so that the user can take a copy with them.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The trick to this is to set the report’s page width to 8.27 inches and the height to 11.69 inches.&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:78%;"&gt;This tip is taken from a post on Botsikas' Blog, which I have referred to many times!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;http://botsikas.blogspot.com/2008/02/sql-reporting-services-and-a4-paper.html&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-3220470783237091434?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/3220470783237091434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=3220470783237091434' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/3220470783237091434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/3220470783237091434'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2011/02/creating-ssrs-reports-that-fit-on-a4.html' title='Creating SSRS Reports that fit on to an A4 Sheet'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-2217962818248827282</id><published>2010-05-10T02:52:00.000-07:00</published><updated>2010-05-10T02:55:43.363-07:00</updated><title type='text'>ExecuteNonQuery Error after redeployment</title><content type='html'>&lt;div&gt;Very useful article just saved me from a day of frustration. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;When redeploying an organisation database from a foreign environment, the app pool will not have permission to the new database and must be configured in the SQL database's security settings.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href="http://www.langalaxy.de/2009/11/system-invalidoperationexception-at-crm-logon/"&gt;http://www.langalaxy.de/2009/11/system-invalidoperationexception-at-crm-logon/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-2217962818248827282?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/2217962818248827282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=2217962818248827282' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/2217962818248827282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/2217962818248827282'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2010/05/executenonquery-error-after.html' title='ExecuteNonQuery Error after redeployment'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-3772182314988248062</id><published>2010-04-14T03:10:00.000-07:00</published><updated>2011-02-17T10:11:44.910-08:00</updated><title type='text'>Rename SQL Server Instance</title><content type='html'>&lt;span class="Apple-style-span" style="  ;font-family:'Segoe UI', Verdana, Arial;font-size:85%;"  &gt;&lt;ul xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;li&gt;&lt;p&gt;For a renamed computer that hosts a default instance of SQL Server, run the following procedures:&lt;/p&gt;&lt;div class="LW_CodeSnippetContainer" xmlns=""&gt;&lt;a name="CodeSpippet0"&gt;&lt;/a&gt;&lt;div class="LW_CodeSnippetContainerCodeCollection" style="border-left: 1px solid rgb(187, 187, 187); border-bottom: 3px solid rgb(229, 229, 229); border-right: 1px solid rgb(229, 229, 229); clear: both; margin-bottom: 12px; position: relative; top: -3px; color: rgb(0, 153, 0);"&gt;&lt;div class="LW_CodeSnippetToolBar" style="width: auto; height: auto; border-top-style: solid; border-top-width: 3px; border-top-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 3px; border-right-color: rgb(229, 229, 229); "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div id="CodeSnippetContainerCode0" class="LW_CodeSnippetContainerCode" style="width: auto; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-right: 21px; padding-left: 21px; "&gt;&lt;div style="padding: 0px; margin: 0px;"&gt;&lt;pre style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Consolas, Courier, monospace; word-break: break-all; word-wrap: break-word; font-style: normal; font-weight: normal; "&gt;sp_dropserver &lt;old_name&gt; GO sp_addserver &lt;new_name&gt;, local GO &lt;/new_name&gt;&lt;/old_name&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;Restart the instance of SQL Server.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;For a renamed computer that hosts a named instance of SQL Server, run the following procedures:&lt;/p&gt;&lt;div class="LW_CodeSnippetContainer" xmlns=""&gt;&lt;a name="CodeSpippet1"&gt;&lt;/a&gt;&lt;div class="LW_CodeSnippetContainerCodeCollection" style="border-left-style: solid; border-left-width: 1px; border-left-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 3px; border-bottom-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-right-color: rgb(229, 229, 229); clear: both; margin-bottom: 12px; position: relative; top: -3px; "&gt;&lt;div class="LW_CodeSnippetToolBar" style="width: auto; height: auto; border-top-style: solid; border-top-width: 3px; border-top-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 3px; border-right-color: rgb(229, 229, 229); "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div id="CodeSnippetContainerCode1" class="LW_CodeSnippetContainerCode" style="width: auto; margin: 0px; padding-right: 21px; padding-left: 21px; color: rgb(0, 153, 0);"&gt;&lt;div style="padding: 0px; margin: 0px;"&gt;&lt;pre style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Consolas, Courier, monospace; word-break: break-all; word-wrap: break-word; font-style: normal; font-weight: normal; "&gt;sp_dropserver &lt;old_name\instancename&gt; GO sp_addserver &lt;new_name\instancename&gt;, local GO &lt;/new_name\instancename&gt;&lt;/old_name\instancename&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;Restart the instance of SQL Server.&lt;/p&gt;&lt;p&gt;Then:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Consolas, Courier, monospace; word-break: break-all; word-wrap: break-word; font-style: normal; font-weight: normal; "&gt;SELECT @@SERVERNAME AS 'Server Name'&lt;/pre&gt;&lt;pre style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Consolas, Courier, monospace; word-break: break-all; word-wrap: break-word; font-style: normal; font-weight: normal; "&gt;From:&lt;/pre&gt;&lt;pre style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Consolas, Courier, monospace; word-break: break-all; word-wrap: break-word; font-style: normal; font-weight: normal; "&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms143799.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms143799.aspx&lt;/a&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-3772182314988248062?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/3772182314988248062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=3772182314988248062' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/3772182314988248062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/3772182314988248062'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2010/04/rename-sql-server-instance.html' title='Rename SQL Server Instance'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-6061484162711769896</id><published>2009-11-24T05:22:00.000-08:00</published><updated>2009-11-24T05:26:22.558-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft CRM 4.0 Development'/><title type='text'>Field Level Security White Paper released by Microsoft</title><content type='html'>Often considered an unsupported customisation to Microsoft CRM 4.0, Microsoft have released a whitepaper detailing the supported methods to secure fields, not entities.&lt;br /&gt;&lt;br /&gt;In brief, the document provides consideration to all angles of accessing data, and with forms in mind suggests that designers secure both the field with JavaScript (for accessibility purposes) and through Pre Stage Plug Ins to eradicate non authorised entries by simply removing them from the Propertybag.&lt;br /&gt;&lt;br /&gt;You can download the white paper here:&lt;br /&gt;&lt;a href="http://download.microsoft.com/download/3/D/9/3D9D0AD7-A6E5-49DC-8963-C0B223250EEF/CRM4%20NB%20-%20SEC%20-%20Field-Level%20Security.pdf"&gt;http://download.microsoft.com/download/3/D/9/3D9D0AD7-A6E5-49DC-8963-C0B223250EEF/CRM4%20NB%20-%20SEC%20-%20Field-Level%20Security.pdf&lt;/a&gt;&lt;br /&gt;(The googled link appears to be down..)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-6061484162711769896?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/6061484162711769896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=6061484162711769896' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/6061484162711769896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/6061484162711769896'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2009/11/field-level-security-white-paper.html' title='Field Level Security White Paper released by Microsoft'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-137283592837922297</id><published>2009-04-30T08:00:00.000-07:00</published><updated>2009-04-30T08:04:11.715-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='email router'/><category scheme='http://www.blogger.com/atom/ns#' term='CRM 4.0'/><title type='text'>Email Router logging unresolved Email Addresses</title><content type='html'>If you are receiving too many errors in the Event Viewer as your Email Router is logging every email that it can't resolve, you can change the logging level by:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Opening regedit on the server where the email router is installed&lt;/li&gt;&lt;li&gt;Navigating to&lt;span style="font-size:85%;"&gt; HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSCRMExRouterService&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Changing the LogLevel value from 1 (default) to 2&lt;/li&gt;&lt;li&gt;Restarting the Email Router Service&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-137283592837922297?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/137283592837922297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=137283592837922297' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/137283592837922297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/137283592837922297'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2009/04/email-router-logging-unresolved-email.html' title='Email Router logging unresolved Email Addresses'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-2959786107723178484</id><published>2008-11-17T05:37:00.001-08:00</published><updated>2008-11-17T05:39:12.791-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Reports'/><category scheme='http://www.blogger.com/atom/ns#' term='CRM 4.0'/><title type='text'>SQL Date Formats</title><content type='html'>Just stumbled across this page listing Date formats and the SQL to produce them, all in a handy table.&lt;br /&gt;&lt;br /&gt;Very useful when producing SSRS reports..&lt;br /&gt;&lt;a href="http://www.sql-server-helper.com/tips/date-formats.aspx"&gt;http://www.sql-server-helper.com/tips/date-formats.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-2959786107723178484?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/2959786107723178484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=2959786107723178484' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/2959786107723178484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/2959786107723178484'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2008/11/sql-date-formats.html' title='SQL Date Formats'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-3974453767016965130</id><published>2008-11-13T06:23:00.001-08:00</published><updated>2008-11-13T06:26:05.516-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft CRM 4.0 Development'/><title type='text'>Plugin Registration Tool</title><content type='html'>Just a quick tip.&lt;br /&gt;&lt;br /&gt;if you need to run the plugin registration tool included with the CRM 4.0 SDK using default credientials, leave the Domain Name blank and you'll log straight in.&lt;br /&gt;&lt;br /&gt;Useful if you get an unauthorised 401 errors trying to connect.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-3974453767016965130?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/3974453767016965130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=3974453767016965130' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/3974453767016965130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/3974453767016965130'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2008/11/plugin-registration-tool.html' title='Plugin Registration Tool'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-6509636459008168505</id><published>2008-11-04T08:19:00.000-08:00</published><updated>2011-02-17T10:25:49.990-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unsupported'/><title type='text'>Adding a Custom Notification to the top of a Microsoft CRM Form</title><content type='html'>I've decided to update my blog on a more regular basis to give a bit back to those that have helped me so far, as well as an excuse to play around with CRM a little more often!&lt;br /&gt;&lt;br /&gt;So to kick things off, here is some javascript I wrote for a customer to add a custom notification to the CRM form, this provides a CRM stylised banner to the top of the form, much like those on products and service activities. Add this javascript to your form onLoad() event and add any conditions as necessary.&lt;br /&gt;&lt;br /&gt;Hope it helps!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;var warningHtml =&lt;br /&gt;"&amp;lt;table callpadding='0' cellspacing='0'&amp;gt;&amp;lt;tr valign='middle'&amp;gt;&amp;lt;td&amp;gt;&amp;lt;img src=''../_imgs/ico/16_alert.gif'' /&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;b&amp;gt;Warning Message&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;/table&amp;gt;'";&lt;br /&gt;&lt;br /&gt;var oDiv = document.createElement("div");&lt;br /&gt;oDiv.id = "new_warning";&lt;br /&gt;oDiv.className = "Notifications";&lt;br /&gt;oDiv.style.padding = "3px";&lt;br /&gt;&lt;br /&gt;document.crmForm.all.Notifications.parentNode.appendChild(oDiv);&lt;br /&gt;&lt;br /&gt;var theDiv = document.crmForm.all.new_warning;&lt;br /&gt;theDiv.style.display = "";&lt;br /&gt;theDiv.innerHTML = warningHtml;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;color:#ff0000;"&gt;&lt;strong&gt;P.S. This is an unsupported development, usual caveats apply.&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-6509636459008168505?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/6509636459008168505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=6509636459008168505' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/6509636459008168505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/6509636459008168505'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2008/11/adding-custom-notification-to-top-of.html' title='Adding a Custom Notification to the top of a Microsoft CRM Form'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-641236894890740293</id><published>2008-02-20T09:24:00.000-08:00</published><updated>2008-02-20T09:29:26.285-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Issues'/><category scheme='http://www.blogger.com/atom/ns#' term='CRM 4.0'/><title type='text'>Advanced Find in CRM 4.0 - Same entity relationships not allowed?</title><content type='html'>&lt;span &gt;I'm currently having some trouble upgrading some functionality used in CRM 3.0 to CRM 4.0&lt;br /&gt;Basically the model is..&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span &gt;a contact has a group of interests&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span &gt;these interests exist in a seperate entity&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span &gt;the contact is connected to an interest through a link entity (contact-interest). (basically making a many to many)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span &gt;The user can then use an advanced find to search for all contacts with a certain set of interests. For example:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span &gt;Contact 1 has interest A and interest B&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span &gt;Contact 2 has interest A&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;span &gt;The user wants to find contacts with interest A and interest B&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span &gt;An advanced find with contacts with contact-interests where interest equals and selecting A and B in the lookup serves as an OR and finds both contacts.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span &gt;An AF where interest equals A and a seperate line for interest equals B finds neither &lt;em&gt;(the interest lookup on contact interest can not be both).&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span &gt;So, the only way to get this to work is to have two contact-interest lines....&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span &gt;Find Contacts   &lt;br /&gt;    Contact Interest (Contact)        &lt;br /&gt;              Interest = A   &lt;br /&gt;    Contact Interest (Contact)        &lt;br /&gt;              Interest = B&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span &gt;This works in CRM 3.0 as it will find contact 1 who has both.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span &gt;Problem is, CRM 4.0 doesn't allow you to create duplicate clauses to the same entity as above and comes up with the following error:&lt;br /&gt;&lt;br /&gt;"The relationship you are adding already exists in the query"&lt;br /&gt;&lt;br /&gt;Does anyone know of a way round this? It looks like the CRM team have chosen to block this and I'm not sure why!&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-641236894890740293?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/641236894890740293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=641236894890740293' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/641236894890740293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/641236894890740293'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2008/02/advanced-find-in-crm-40-same-entity.html' title='Advanced Find in CRM 4.0 - Same entity relationships not allowed?'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-4153082938884722688</id><published>2007-10-29T04:54:00.000-07:00</published><updated>2007-10-29T04:56:19.292-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft CRM 3.0 Issues'/><title type='text'>Skype and Microsoft CRM</title><content type='html'>Recently I’ve been a bit puzzled as to why when using CRM inside internet explorer on my laptop, IE would freeze for around 30 seconds when trying to view a list of accounts or contacts.&lt;br /&gt;After such a freeze, IE and CRM would come back to life and work perfectly.&lt;br /&gt;&lt;br /&gt;The problem lies in the new version of Skype which includes a very natty IE plugin that will scrap the screen for phone numbers and allow you to directly dial out.&lt;br /&gt;&lt;br /&gt;As you can imagine, a list of 250 (my personal preference) accounts or contacts each with one or more phone numbers on the list was a little too much of a feast for the plug in and caused it to hang and eventually crash silently before IE would come back to life.&lt;br /&gt;&lt;br /&gt;More interesting is that I disabled the plugin through the plugin manager in IE7 and it was still causing the issue. Only after a full uninstall did the issue go away.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-4153082938884722688?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/4153082938884722688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=4153082938884722688' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/4153082938884722688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/4153082938884722688'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2007/10/skype-and-microsoft-crm.html' title='Skype and Microsoft CRM'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-1195012829825698091</id><published>2007-04-26T01:25:00.000-07:00</published><updated>2007-05-15T04:31:08.541-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='crm 3.0 3 microsoft delete system customizer customiser create new entities entity error fail'/><title type='text'>Don't delete the System Customizer Role</title><content type='html'>After a client recently cleaned their CRM system ready to bring in a new department, I noticed that I could no longer create new entities.&lt;br /&gt;&lt;br /&gt;This it seems, is a bug in CRM. If the System Customizer role has been deleted (and it wont try to stop you), a SQL query will return null and throw an error.&lt;br /&gt;&lt;br /&gt;The only way round it (apart from a reinstall), is to get a backup restored on to a temp db and copy the system customizer row from the rolebase table back to the live db.&lt;br /&gt;&lt;br /&gt;You don't need to copy the rows from the roleprivilegesbase table (it wont have any privileges)&lt;br /&gt;&lt;br /&gt;A different way of looking at this is, if anything has got the word "system" in it, don't delete it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-1195012829825698091?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/1195012829825698091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=1195012829825698091' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/1195012829825698091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/1195012829825698091'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2007/04/dont-delete-system-customizer-role.html' title='Don&apos;t delete the System Customizer Role'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-6963115573410068917</id><published>2007-03-28T07:50:00.000-07:00</published><updated>2007-05-15T04:27:49.702-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fitlted views rma restricted access mode users crm 3.0 microsoft mscrm'/><title type='text'>Restricted Access Mode and FilteredViews</title><content type='html'>During a support issue with one of my clients, I noticed a unexpected result when using filtered views which allows access to data without consuming a user license.&lt;br /&gt;&lt;br /&gt;It would appear that when a user is put in restricted access mode (access to settings but no data) in Microsoft CRM 3.0 the user is not restricted access to data made available through the Filtered Views, yet the user's security roles are still considered and data is filtered accordingly.&lt;br /&gt;&lt;br /&gt;I'm yet to see whether this still is the case using the Web Services, but it would appear that only the application checks to see if the user is in RMA.&lt;br /&gt;&lt;br /&gt;If this is the case, expect it to be plugged.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-6963115573410068917?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/6963115573410068917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=6963115573410068917' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/6963115573410068917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/6963115573410068917'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2007/03/during-support-issue-with-one-of-my.html' title='Restricted Access Mode and FilteredViews'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8049990979271209515.post-5420784497010811594</id><published>2007-03-28T07:43:00.000-07:00</published><updated>2007-03-28T07:45:34.808-07:00</updated><title type='text'>Fed up with constructing FetchXML / QueryExpressions?</title><content type='html'>If so,&lt;br /&gt;check out Stunnware's excellent fetchXML wizard including the option to convert to C# Query Expressions&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.stunnware.com/crm2/topic.aspx?id=FindingData6"&gt;http://www.stunnware.com/crm2/topic.aspx?id=FindingData6&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8049990979271209515-5420784497010811594?l=crmconsultant.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://crmconsultant.blogspot.com/feeds/5420784497010811594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8049990979271209515&amp;postID=5420784497010811594' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/5420784497010811594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8049990979271209515/posts/default/5420784497010811594'/><link rel='alternate' type='text/html' href='http://crmconsultant.blogspot.com/2007/03/fed-up-with-constructing-fetchxml.html' title='Fed up with constructing FetchXML / QueryExpressions?'/><author><name>Kevin Hughes</name><uri>http://www.blogger.com/profile/06876290983521827442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
