<?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:blogger='http://schemas.google.com/blogger/2008' 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-2068131345422670839</id><updated>2024-12-09T04:34:49.354+05:30</updated><category term="MS CRM"/><category term="MS Excel"/><category term="SQL"/><category term="C#"/><category term="Workflows"/><category term="MS CRM 4.0"/><category term="Plugins"/><category term="Scribe"/><category term="Outlook Client"/><category term="SSRS"/><title type='text'>CRM 2011, MS CRM 4.0, ASP.Net, C#</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08278449749575295602</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-3768675609949376514</id><published>2013-09-23T23:27:00.000+05:30</published><updated>2013-09-29T11:55:49.606+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><title type='text'>MS Dynamics CRM 4.0  - Synchronize Dev, Testing and Production Servers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
As an MS CRM developer, you would like to maintain the Production and Testing Servers in sync which helps to bring good quality of deliverable by maintaining a good testing environment. I have faced a couple of times that our projects works well in the testing environment and we get a go ahead to push into the production where it creates some sort of issues. Either we have to fix them right away or revert the new changes to reduce the inconvenience caused to the end users. It would be a real challenge to debug the issue on the Production environment which doesn&#39;t produce any error in the Testing/Dev environment.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
By maintaining a sync between production and testing environments these kinds of issues can be reduced to a greater extent. We have had a testing environment that is completely out of sync and not having the&amp;nbsp;customization&#39;s&amp;nbsp;developed in the last couple of months. I decided to pull the testing server in sync with the production server in order to make my life much easier in further development. Therefore, I tried to find different ways to accomplish this in an easier way and finally came up with the solution of Import Organization feature from Deployment Manager.&lt;br /&gt;
&lt;br /&gt;
This is clearly explained in the below article from Joel.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;a href=&quot;http://rc.crm.dynamics.com/rc/regcont/en_us/OP/articles/refreshtestenviro.aspx&quot;&gt;http://rc.crm.dynamics.com/rc/regcont/en_us/OP/articles/refreshtestenviro.aspx&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;br /&gt;
Happy synching!&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/3768675609949376514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2013/09/ms-dynamics-crm-40-synchronize-dev.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/3768675609949376514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/3768675609949376514'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2013/09/ms-dynamics-crm-40-synchronize-dev.html' title='MS Dynamics CRM 4.0  - Synchronize Dev, Testing and Production Servers'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08278449749575295602</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-4093057331766304872</id><published>2012-04-24T18:59:00.002+05:30</published><updated>2012-05-06T01:52:51.466+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS Excel"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL Server - Read Excel, CSV 2003, 2007 files using OpenRowSet</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;In SQL Server, we can read the data directly from an Excel file or a&amp;nbsp;.csv file using OpenRowSet function as given below:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;For OPENROWSET function to work properly in SQL Server 2005, you need to check &quot;Enable OPENROWSET and OPENDATASOURCE Support&quot; using SQL Server Surface Area Configuration for Features.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&amp;nbsp;Once you are done with that you can make use of the below queries to read the data:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;b&gt;--Read .CSV file from a 32 bit SQL Server&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;SELECT * FROM OPENROWSET&lt;br /&gt;(&#39;MSDASQL&#39;, &#39;Driver={Microsoft Text Driver (*.txt; *.csv)};DEFAULTDIR=D:\DWP Deliverables\CSPRojectIntegration\;Extensions=CSV;&#39;,&#39;SELECT * FROM CSProjects.csv&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;b&gt;--Read Excel file from a 32 bit SQL Server&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;SELECT *&amp;nbsp; FROM OPENROWSET(&#39;Microsoft.Jet.OLEDB.4.0&#39;,&#39;Excel 8.0;Database=D:\DWP Deliverables\CSProjects.xls&#39;,&lt;br /&gt;&#39;SELECT * FROM [Sheet1$]&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;b&gt;--Read Excel 2007 file from a 32 bit SQL Server&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Another workaround is trying to install Microsoft.Jet.OLEDB.12.0, and use your connection string with OLEDB 12.0, it can be downloaded at :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;2007 Office System Driver:&amp;nbsp; &lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=7554f536-8c28-4598-9b72-ef94e038c891&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=7554f536-8c28-4598-9b72-ef94e038c891&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;On the other hand, you can save the 2007 file to 2003 format and try reding it from OLEDB4.0 driver&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;--Read files from 64 bit SQL Server&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;JET OLEDB Provider works only with 32 bit. For 64-bit OLEDB Provider for ODBC you have to install MSDASQL using the below link &lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=20065#overview&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=20065#overview&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;Hope this helps!!&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/4093057331766304872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/04/sql-server-read-excel-csv-2003-2007.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/4093057331766304872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/4093057331766304872'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/04/sql-server-read-excel-csv-2003-2007.html' title='SQL Server - Read Excel, CSV 2003, 2007 files using OpenRowSet'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08278449749575295602</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-3515963033088121997</id><published>2012-04-23T23:26:00.002+05:30</published><updated>2012-04-23T23:27:32.724+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>MS CRM SQL Server CPU Utilization shows 100% - Troubleshooting steps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
We had a weird issue with MS CRM SQL server recently where the CPU utilization of sql server constantly shows 100% for a long time. When we checked in the task manager we found that sql process alone is taking around 98 - 99%. We have application and database on different servers. We tried to reboot both the servers couple of time and the behavior is such a way that the utilization goes down whenever we restart the machine and raises up to 100% after 10-15 min. &lt;br /&gt;
&lt;br /&gt;
But the only relief from our side is the CRM application is not entirely down but the performance was less.So, we got some time to debug into the issue.&lt;br /&gt;
&lt;br /&gt;
We tried the following steps in our process of troubleshooting the issue:&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;First thing to check if there are any recent changes or deployments made to the system. &lt;/li&gt;
&lt;li&gt;In the task manager check the process that is consuming the cpu utilization. &lt;/li&gt;
&lt;li&gt;Check the application logs and system logs in EventViewer of the crm server. If the app server and sql servers are hosted in different servers then check the event logs in both the servers. &lt;/li&gt;
&lt;li&gt;Stop the Asynchronous Service in MS CRM server and check the cpu utilization. If it gets down then issue is probably with the ms crm app server. It could be due to customizations you made which is running into deadlock situations. &lt;/li&gt;
&lt;li&gt;If it is still showing 100% then stop the sql server services and check the utilization. &lt;/li&gt;
&lt;li&gt;Start the CRM AsyncService and see the utilization.If it works fine, then start the sql services as well.&lt;/li&gt;
&lt;li&gt;If you still find the issue, you can Start Running the SQL Profiler to see if any query is taking long time to execute. If you find any, then disable the functionality that is making use of that query for a while and check the utilization.&lt;/li&gt;
&lt;li&gt;Check if any event log appears in System. Check if automatic windows updates are turned ON on the server. Sometimes windows updates might not run successfully and causes the issue so check the last updated time from windows and see if the error in the event log starts occurring from that time. It will&amp;nbsp; be set when the windows updates run for the next time or you can manually run the windows updates and restart the server.&lt;/li&gt;
&lt;/ol&gt;
&amp;nbsp;The reason in my case is the automatic window updates failed to run successfully that impacted the sql server process.&lt;br /&gt;
&lt;br /&gt;
If the above steps did not resolve your issue and if you are making use of some third party services running on the same server then, instead of restarting the services, try stopping the services one at a time, check if there is any impact on the utilization and once you are done with stopping all the services and start the services one at a time. This way you can get closer to the root cause of the issue.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Hope this saves sometime in your debugging process!!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/3515963033088121997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/04/ms-crm-sql-server-cpu-utilization-shows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/3515963033088121997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/3515963033088121997'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/04/ms-crm-sql-server-cpu-utilization-shows.html' title='MS CRM SQL Server CPU Utilization shows 100% - Troubleshooting steps'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08278449749575295602</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-2154467585053421205</id><published>2012-04-04T01:32:00.001+05:30</published><updated>2012-12-16T12:00:30.564+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM 4.0"/><title type='text'>MS CRM 4.0 How to view detailed Error Message</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It is a common practice for the developers working on MS CRM to view the exact error message to fix the issues instead of seeing the custom error page displayed to the end user.&lt;br /&gt;
In order to view the error message, below are the different options available&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Enable Trace which logs the details of the error. This can be implemented on live server so that end users still see the custom error message instead of the original error&lt;/li&gt;
&lt;li&gt;Modify the web.config file to set &quot;DevErrors&quot; to &quot;On&quot; on the MS CRM server as per the below microsoft article &lt;a href=&quot;http://support.microsoft.com/kb/857192&quot; target=&quot;_blank&quot;&gt;http://support.microsoft.com/kb/857192&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/2154467585053421205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/04/ms-crm-40-how-to-view-detailed-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/2154467585053421205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/2154467585053421205'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/04/ms-crm-40-how-to-view-detailed-error.html' title='MS CRM 4.0 How to view detailed Error Message'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08278449749575295602</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-1539539907180364596</id><published>2012-03-25T01:20:00.000+05:30</published><updated>2012-03-25T01:20:49.725+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS Excel"/><title type='text'>How to create a dropdown or picklist column with a list of values in ms excel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;Say we would like to create a drop down column in excel sheet with a list of predefined values. Create a list of predefined values in a new sheet and select the list of values and right click and select Name a Range..and give some name say &quot;MyCustomList&quot;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;Now click on the column on which you would like to create a dropdown.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;Select Data on the top menu and go to Data Validation -&amp;gt; Data Validation. In the validation criteria, select list in the allow section and give the Source as the name of the range you have chosen like&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp;=MyCustomList&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;Click ok to see the dropdown column with the list of values defined in the range. If you want to remove the dropdown then under Data validation, choose Allow Any value.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/1539539907180364596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/how-to-create-dropdown-or-picklist.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/1539539907180364596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/1539539907180364596'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/how-to-create-dropdown-or-picklist.html' title='How to create a dropdown or picklist column with a list of values in ms excel'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-2432824732080116250</id><published>2012-03-25T01:13:00.001+05:30</published><updated>2012-03-25T01:13:38.261+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM 4.0"/><category scheme="http://www.blogger.com/atom/ns#" term="MS Excel"/><title type='text'>MS CRM 4.0 Enrich Data - Update MS CRM Records using Excel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
By using native data import feature in MS CRM 4.0, we have the ability to update the existing data apart from creating new records. This is called Data Enrichment which is the new feature brought up in MSCRM 4.0. This can be done by exporting your data into an Excel Sheet. In general, when we export the data to a static excel sheet, you find the excel sheet columns start from B instead of A. This column A is in hidden state which holds the GUID of existing record.&lt;br /&gt;
If you are so curious, you can unhide the column A to see the GUID. Please follow the steps in this&amp;nbsp;&lt;a href=&quot;http://wwwdotdinesh.blogspot.in/2012/03/ms-excel-how-to-view-hidden-columns.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;link&lt;/a&gt; to unhide the excel columns.&lt;br /&gt;
&lt;br /&gt;
Make your changes to the data in the same excel sheet and save it as a .CSV file. Now, re-import the data using standard data import wizard. This time when you upload the file, you will be pointed to a new checkbox option &lt;b&gt;&#39;Enrich data by updating existing records rather than creating new records&#39;. &lt;/b&gt;This option is used to update the changes you made for the existing records instead of creating new ones.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/2432824732080116250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-40-enrich-data-update-ms-crm.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/2432824732080116250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/2432824732080116250'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-40-enrich-data-update-ms-crm.html' title='MS CRM 4.0 Enrich Data - Update MS CRM Records using Excel'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-6120451989752738865</id><published>2012-03-25T01:11:00.001+05:30</published><updated>2012-03-25T01:11:34.378+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS Excel"/><title type='text'>MS Excel How to view hidden columns</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
You can unhide any column in MS Excel by using the following steps.&lt;br /&gt;
1. Select all the columns using Ctrl+A&lt;br /&gt;
2. Point the cursor on any column and right click and Unhide. That&#39;s it. Now you can see all the hidden columns in the excel sheet.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/6120451989752738865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-excel-how-to-view-hidden-columns.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/6120451989752738865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/6120451989752738865'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-excel-how-to-view-hidden-columns.html' title='MS Excel How to view hidden columns'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-4611786386257250706</id><published>2012-03-24T17:51:00.001+05:30</published><updated>2012-04-04T23:01:31.099+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><category scheme="http://www.blogger.com/atom/ns#" term="Scribe"/><title type='text'>Scribe Integration with MS CRM Mapping Picklist field in DTS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;1. Open up your DTS file and select your source and target fields and click Datalink&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;2. Now, Right click on the target field and Edit Data Formula.. Click on calculated variable and put the source field like S1 and point the dropdown to String&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;3 Next, insert this calculated variable in the formula and voila!&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;4. This maps your source picklist field with text values to the target picklist fields &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/4611786386257250706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/scribe-dts-how-to-map-picklist-field-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/4611786386257250706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/4611786386257250706'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/scribe-dts-how-to-map-picklist-field-of.html' title='Scribe Integration with MS CRM Mapping Picklist field in DTS'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-4094519253981876491</id><published>2012-03-24T17:43:00.001+05:30</published><updated>2012-03-25T01:16:29.014+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><category scheme="http://www.blogger.com/atom/ns#" term="Scribe"/><title type='text'>Scribe Integration with MS CRM Map Lookup field in DTS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1. Open DTS file and select your source field and targte lookup field and click DataLink&lt;br /&gt;
2. Right click on the target lookup field and click on Edit Data Formula..&lt;br /&gt;
3. Use DBLookup function as&lt;br /&gt;
&lt;br /&gt;
Syntax:&amp;nbsp;DBLOOKUP( TextSourceField, &quot;connection&quot;, &quot;table&quot;, &quot;lookup_field&quot;, &quot;substitution_field&quot; )&lt;br /&gt;
Where&amp;nbsp;connection = &quot;T&quot; for Scribe versions below 7.0 and&amp;nbsp;connection = &quot;Adapter for Dynamics CRM&quot; for Scribe 7.0 and later.&lt;br /&gt;
Example for an Account lookup field&lt;br /&gt;
DBLOOKUP( S1, &quot;Adapter for Dynamics CRM&quot;, &quot;account&quot;, &quot;name&quot;, &quot;accountid&quot; )&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/4094519253981876491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/scribe-dts-map-lookup-field-for-ms-crm.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/4094519253981876491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/4094519253981876491'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/scribe-dts-map-lookup-field-for-ms-crm.html' title='Scribe Integration with MS CRM Map Lookup field in DTS'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-488290723555633955</id><published>2012-03-11T23:46:00.000+05:30</published><updated>2012-03-25T01:17:30.630+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflows"/><title type='text'>MS CRM Workflows Waiting and Failed - How to check the error details</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
1. Open Advanced Find and point the entity to System Jobs&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
2. Add the filter criteria as defined below:&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp; SystemJobName Equals your_customworkflow_name&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp; ErrorCode ContainsData &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
3. Edit the columns and include MessageName, ErrorCode&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
4. Click Find to get the list of records that got failed in running the custom workflow with a&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp; detailed error message&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/488290723555633955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-workflows-waiting-and-failed-how.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/488290723555633955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/488290723555633955'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-workflows-waiting-and-failed-how.html' title='MS CRM Workflows Waiting and Failed - How to check the error details'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-7885257498521849924</id><published>2012-03-11T23:42:00.002+05:30</published><updated>2012-03-25T01:18:03.176+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><title type='text'>MS CRM Page Limit - Increase Number of Records Per Page more than 250</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,Verdana,Arial,sans-serif;&quot;&gt;The default Page limit for MS CRM is 50. This can be increased to 250 using Tools -&amp;gt; Options from the main menu. This is the maximum value in MS CRM 4.0.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,Verdana,Arial,sans-serif;&quot;&gt;Sometimes you might want to view records more than 250 which can be used to run the bulk edit feature or run a workflow on more than 250 records which saves time.&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,Verdana,Arial,sans-serif;&quot;&gt;To display a count more than 250, you can modify the PagingLimit value in the database for a particular user using the below query.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; display: inline ! important; float: none; font-family: &#39;Trebuchet MS&#39;,Verdana,Arial,sans-serif; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;UPDATE UserSettingsBase SET PagingLimit=500 WHERE SystemUserId = Guid of the SystemUser&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; display: inline ! important; float: none; font-family: &#39;Trebuchet MS&#39;,Verdana,Arial,sans-serif; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/7885257498521849924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-page-limit-increase-number-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/7885257498521849924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/7885257498521849924'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-page-limit-increase-number-of.html' title='MS CRM Page Limit - Increase Number of Records Per Page more than 250'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-2419013885018890198</id><published>2012-03-10T13:08:00.001+05:30</published><updated>2012-03-25T01:18:23.156+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><title type='text'>MS CRM 4.0 Timeout Issue - Timeout period elapsed prior to completion of the operation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;b&gt;Error: &quot;The timeout period elapsed prior to completion of the operation or the server is not responding&quot;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You can come across the timeout issue in MS CRM in one of the following scenarios:&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
1. when installing the update rollup for MS CRM&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
2. when importing the customization files&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
3. when running advanced find query that runs more than the expected time to get the results&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
4. when importing New Organization&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
By default, the oledb timeout is set to 30 seconds in MS CRM. It is obvious to increase this value to meet your requirements. To accomplish this, you can modify the OLEDBTimeout and ExtendedTimeout values which is briefly described in the below article:&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;a href=&quot;http://wwwdotdinesh.blogspot.in/2012/03/ms-crm-40-oledbtimeout-and.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Increase MS CRM Timeout&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/2419013885018890198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-40-update-rollup-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/2419013885018890198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/2419013885018890198'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-40-update-rollup-installation.html' title='MS CRM 4.0 Timeout Issue - Timeout period elapsed prior to completion of the operation'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-6198599559896958786</id><published>2012-03-10T12:59:00.001+05:30</published><updated>2012-03-25T01:18:46.113+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><title type='text'>MS CRM 4.0 - Set OLEDBTimeout and the ExtendedTimeout registry subkeys</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
To set the values of OLEDBTimeout and ExtendedTimeout, you have to login to the MS CRM server as administrator.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;OLEDBTimeout&lt;/b&gt;:&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
1. Start, Run, type regedit, and then click OK.&lt;br /&gt;
2. Locate the following registry subkey:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM&lt;br /&gt;
3. Right-click MSCRM, point to New, and then click DWORD Value to create a new DWORD value.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
4. Rename the DWORD value to the following value: OLEDBTimeout. The default OLEDB&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout value is 30 seconds&lt;br /&gt;
5. Right-click the DWORD value, and then click Modify. In the Edit DWORD Value dialog&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&amp;nbsp; &amp;nbsp; box, type 86400 in the Value data box, click Decimal in the Base option, and then click&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; OK.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ExtendedTimeout:&lt;/b&gt;&lt;br /&gt;
1. Right-click MSCRM, point to New, and then click DWORD Value to create a new DWORD value.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
2. Rename the DWORD value to the following value: ExtendedTimeout&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
3. Right-click the DWORD value, and then click Modify. In the Edit DWORD Value dialog&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp; box, type 1000000 in the Value data box, and then click OK. You can type a value that is&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp; larger than 1,000,000. However, do not type a value that is larger than 2,147,483,647.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp; This is hexadecimal 0x7FFFFFFF.&lt;br /&gt;
&lt;br /&gt;
If this key already exists, note down the current value. Once you are done with the task like import or the upgrade of Microsoft Dynamics CRM, revert the value to its original value or delete the key if it doesn&#39;t exist previously.&lt;br /&gt;
&lt;br /&gt;
Restart IIS to take these values into effect.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/6198599559896958786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-40-oledbtimeout-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/6198599559896958786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/6198599559896958786'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-40-oledbtimeout-and.html' title='MS CRM 4.0 - Set OLEDBTimeout and the ExtendedTimeout registry subkeys'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-1016515064655742716</id><published>2012-03-09T13:56:00.008+05:30</published><updated>2012-03-25T01:19:19.805+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><category scheme="http://www.blogger.com/atom/ns#" term="MS Excel"/><title type='text'>MS CRM 4.0 Export To Excel - Export Records more than 10000</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;In real time scenario, there are situations where you would like to import huge date from MSCRM to Excel. But, there is a limitation in the export to excel feature that, it imports a maximum of 10,000 records by default. To import all the data we need to update the column value of &#39;MaxRecordsForExportToExcel&#39;&amp;nbsp;in the database.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;1. Open SQL Server Management Studio&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;2. Open your MS CRM 4.0 Organization Database (OrganizationName_MSCRM)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;3. Check the current limit by using the below query&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; Select&amp;nbsp;MaxRecordsForExportToExcel From&amp;nbsp;OrganizationBase&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;4. Update the&amp;nbsp;MaxRecordsForExportToExcel column in&amp;nbsp;OrganizationBase to the desired&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; value.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; Update OrganizationBase Set MaxRecordsForExportToExcel=50000&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;5. Reset the IIS Server&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/1016515064655742716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-40-export-to-excel-export.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/1016515064655742716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/1016515064655742716'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-40-export-to-excel-export.html' title='MS CRM 4.0 Export To Excel - Export Records more than 10000'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-5339233866933752539</id><published>2012-03-08T13:16:00.000+05:30</published><updated>2012-03-25T01:19:45.427+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><title type='text'>MS CRM - Hide or Collapse Form Assistant</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
1. Open the MS CRM Entity Form from Customizations&lt;br /&gt;
2. Go to Display Tab&lt;br /&gt;
3. Uncheck the below items based on your requirement&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Enable Form Assistant&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Expanded by Default&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/5339233866933752539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-hide-or-collapse-form-assistant.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/5339233866933752539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/5339233866933752539'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-hide-or-collapse-form-assistant.html' title='MS CRM - Hide or Collapse Form Assistant'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-3670127362296538542</id><published>2012-03-08T11:59:00.001+05:30</published><updated>2012-03-25T01:20:10.487+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><category scheme="http://www.blogger.com/atom/ns#" term="Plugins"/><title type='text'>MS CRM Debugging Custom Plugin Code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Follow the steps to succesfully start debugging of your custom plugin code in MSCRM.&lt;br /&gt;
&lt;br /&gt;
1.&amp;nbsp;Place the DLL and PDB files in the CRM installed path. By default, it points to following path C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly&lt;br /&gt;
If you are unable to paste the files, then reset the IIS and CRMAsyncService and try.&lt;br /&gt;
2. Register the workflow to Disk instead of Database using PluginRegister tool&lt;br /&gt;
3.&amp;nbsp;After sucessfully placing those files, open the code on the server using Visual Studio and put a break point and press Ctrl+Alt+P that opens &#39;Attach to process&#39; window.&lt;br /&gt;
Check these 2 fields&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 1. Show processes from all users&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 2. Show processes in all sessions&lt;br /&gt;
&lt;br /&gt;
4. Now, select w3wp.exe and click on Attach. If you are trying to debug a workflow, then attach it to&lt;br /&gt;
&amp;nbsp; &amp;nbsp; CrmAsynService.exe&lt;br /&gt;
5. Open the crm window and run the functionality that triggers the custom plugin and see the debugger works for you.&lt;br /&gt;
6. Reset IIS if you are unable to debug and try again.&lt;br /&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/3670127362296538542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-debugging-custom-plugin-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/3670127362296538542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/3670127362296538542'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-debugging-custom-plugin-code.html' title='MS CRM Debugging Custom Plugin Code'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-4363739762479416010</id><published>2012-03-07T17:06:00.000+05:30</published><updated>2012-03-25T01:43:47.474+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SSRS"/><title type='text'>MS CRM Reports - Email Subscription and Scheduling</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;Once you are done with creating a report in ms crm, the next probable step is to subscribe the report inorder to automatically send the report to a particular emailaddress at particular intervals. We use the Report Manager Subscriptions for this automation purpose.&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;Inorder to create a subscription, follow the below steps:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;1. Open the Report Manager from the browser using the below url -&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; http://reportingserver/reports&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; here, ReportingServerName should be replaced by the name of your server on which &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; SSRS is installed and which is pointed by MS CRM during the installation process.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;2. Open the folder where the name of the folder is same as your CRM Organization name&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;3. Open your specific report. If it is insisting for credentials then you need to update the&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; DataSource in the Properties tab to automatically supply the credentials.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;4.In the Properties tab, under General, give appropriate name to the report which can be&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;displayed when this report has been sent as an attachment from the subscription process.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;By default, this is having a GUID value.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;5. Go to Data Sources. Best practice is to point to a Shared data source with the following&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; properties.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; Connection type: Microsoft SQL Server&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; Connection string: Data Source=SQLServerName; Initial Catalog=DatabaseName&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; Connect using:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Credentials stored securely in the report server&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Provide the windows credentials that are having necessary privileges to run the report&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Check the Use as Windows credentials when connecting to the data source.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;6. Apply it&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;7. Go to Subscriptions and click on New Subscription.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;Provide the necessary fields like To,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; Reply-To, Subject..&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;8. Check Include Report and Select required Render Format&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;9. Select Schedule and click Ok&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;You can test the subscription by scheduling this for &quot;Once&quot; in Select Scehdule and verify if the report is getting delivered in the way it is required.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;If you come across any error during the delivery, most of the times it happens with the credentials. The credentials you supplied do not have enough privileges to run the report. so, try with admin credentials to confirm this and provide the credentials with updated privileges.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/4363739762479416010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-reports-subscription-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/4363739762479416010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/4363739762479416010'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-crm-reports-subscription-and.html' title='MS CRM Reports - Email Subscription and Scheduling'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-5562261561393947848</id><published>2012-03-01T16:47:00.003+05:30</published><updated>2012-03-25T01:21:21.533+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflows"/><title type='text'>MS CRM Debugging Custom Workflow code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Follow the steps to succesfully start debugging of your custom workflow code in MSCRM.&lt;br /&gt;
&lt;br /&gt;
1.&amp;nbsp;Place the DLL and PDB files in the CRM installed path. By default, it points to following path C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly&lt;br /&gt;
If you are unable to paste the files, then reset the IIS and&amp;nbsp; MicrosoftCRMAsynchronous&amp;nbsp;service&amp;nbsp;and try.&lt;br /&gt;
2. Register the workflow to Disk instead of Database using PluginRegister tool &lt;br /&gt;
3.&amp;nbsp;After sucessfully placing those files, Reset MicrosoftCRMAsynchronous service from windows services&lt;br /&gt;
4. Open the code on the server using Visual Studio and put a break point and press Ctrl+Alt+P that opens &#39;Attach to process&#39; window.&lt;br /&gt;
Check these 2 fields&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 1. Show processes from all users&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 2. Show processes in all sessions&lt;br /&gt;
&lt;br /&gt;
5. Now, select CrmAsynService.exe and click on Attach. If you are trying to debug a plugin, then attach it with w3wp.exe&lt;br /&gt;
6. Open the crm window and run the functionality that triggers the custom workflow and see the debugger works for you.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/5562261561393947848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/debugging-custom-workflows-in-ms-crm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/5562261561393947848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/5562261561393947848'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/debugging-custom-workflows-in-ms-crm.html' title='MS CRM Debugging Custom Workflow code'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-8573646495693406265</id><published>2012-03-01T16:05:00.000+05:30</published><updated>2012-03-25T01:23:51.455+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>ms sql query against null values - ansi_nulls is ON</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
We use the below query to check against null values&lt;br /&gt;
&lt;i style=&quot;line-height: 1.5em;&quot;&gt;select * from table_name where column_name is null&amp;nbsp;&lt;/i&gt;&lt;span style=&quot;line-height: 1.5em;&quot;&gt;which returns the records whose values are null for that particular column.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
&lt;span style=&quot;line-height: 1.5em;&quot;&gt;But, the below query&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 1.5em;&quot;&gt;will not yield any result eventhough there are records which contains null values.&lt;/span&gt;&lt;i style=&quot;line-height: 1.5em;&quot;&gt;select * from table_name where column_name = null&amp;nbsp;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
In the same way&lt;br /&gt;
&lt;i style=&quot;line-height: 1.5em;&quot;&gt;select * from table_name where column_name != null&lt;/i&gt;&lt;span style=&quot;line-height: 1.5em;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 1.5em;&quot;&gt;will also produce no results.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
This is because, ansi_nulls is set to ON by default in SQL.&lt;span style=&quot;line-height: 1.5em;&quot;&gt;To make the above query work use&lt;/span&gt;&lt;i style=&quot;line-height: 1.5em;&quot;&gt;&amp;nbsp;set ansi_nulls off&lt;/i&gt;&lt;span style=&quot;line-height: 1.5em;&quot;&gt;Now we get the same results with the following queries &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
&lt;i&gt;select * from table_name where column_name = null&amp;nbsp;&lt;/i&gt;and&lt;br /&gt;
&lt;i style=&quot;line-height: 1.5em;&quot;&gt;select * from table_name where column_name != null&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/8573646495693406265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-sql-query-against-null-values.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/8573646495693406265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/8573646495693406265'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/ms-sql-query-against-null-values.html' title='ms sql query against null values - ansi_nulls is ON'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-7441382469107770543</id><published>2012-03-01T15:54:00.000+05:30</published><updated>2012-03-25T01:24:27.484+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><title type='text'>Unable to access ms crm after the Import of Organization</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
In general, when we access ms crm through web browser using &amp;nbsp;http://MyCrmServer:Port,&lt;span style=&quot;line-height: 1.5em;&quot;&gt;&amp;nbsp;it automatically points to the default organization as http://MyCrmServer:Port/DefaultOrganizationName/loader.aspx&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
If we import an organization in crm, then we need to consider the following cases.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
Case-1: If the installed MS CRM is a Professional Edition&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
Here Professional addition supports only one organization. So, as soon as we import an organization the old organization gets deleted and new organization becomes the default organization. So if we access http://MyCrmServer:Port, it points to the new organization.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
Case-2:&amp;nbsp; If the installed MS CRM is an&amp;nbsp;Enterprise Edition&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
Enterprise edition supports for multiple organizations. So, if we import an organization, both the organizations are present and the new organization will not become the default organization. So, to access the new organization the url is&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
http://MyCrmServer:Port/NewOrganizationName&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
Even if we set the new organization as default it is unable to resolve.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
If we no more need the old organization then simply by disabling&amp;nbsp; and deleteing it makes the new organization default and everything works fine with this url&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Sans Unicode&#39;, Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 1.2em; margin-top: 1.2em;&quot;&gt;
http://MyCrmServer:Port&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/7441382469107770543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/unable-to-access-ms-crm-after-import-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/7441382469107770543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/7441382469107770543'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/03/unable-to-access-ms-crm-after-import-of.html' title='Unable to access ms crm after the Import of Organization'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-2704963485081464930</id><published>2012-02-23T15:44:00.003+05:30</published><updated>2012-03-25T01:27:03.256+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><category scheme="http://www.blogger.com/atom/ns#" term="Plugins"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflows"/><title type='text'>Get the Context instance of ms crm workflow and plugin</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;To get the context of ms crm is the first phase every MS CRM developer come across when going to develop a custom workflow or plugin. The context instance of workflow or plugin gives us the details of the entity on which entity record this workflow is running which helps us to fetch more details to lead the custom logic.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;//Workflow&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;[CrmWorkflowActivity(&quot;My Test Workflow&quot;)]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;public partial class MyTestWorkflow : SequenceActivity&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #region Designer generated code&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;#endregion&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; protected override ActivityExecutionStatus Execute(ActivityExecutionContext context)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IContextService contextService = (IContextService)context.GetService(typeof(IContextService)); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IWorkflowContext workflowContext = contextService.Context;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Guid entityID = (Guid)context.OutputParameters.Properties[&quot;id&quot;];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;//Plugin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;public class Plugin:IPlugin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; public void Execute(IPluginExecutionContext context)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DynamicEntity entityInstance;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (context.InputParameters.Properties.Contains(&quot;Target&quot;) &amp;amp;&amp;amp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;context.InputParameters.Properties[&quot;Target&quot;] is DynamicEntity)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;entityInstance= (DynamicEntity)context.InputParameters.Properties[&quot;Target&quot;];&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; }&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/2704963485081464930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/context-instance-of-ms-crm-workflow-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/2704963485081464930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/2704963485081464930'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/context-instance-of-ms-crm-workflow-and.html' title='Get the Context instance of ms crm workflow and plugin'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-3413103223692827004</id><published>2012-02-23T15:01:00.003+05:30</published><updated>2012-03-25T01:26:40.563+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><title type='text'>MS CRM Retrieve and RetrieveMultiple methods do not work on Custom or Dynamic Entities</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;RetrieveMultiple do not work to retrieve data from custom entities and it ends with the runtime exception if we try to get the records using this method.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;Exception: Error in XML document. The specified type was not recognized.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;This is because RetrieveMultiple works on strongly typed entities only. When we make use of SDK&#39;s we return custom entities as dynamic entities which are not strongly typed. In order to retrieve the Dynamic Entity, we should use Execute method as shown in the below code.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;RetrieveMultipleRequest req = new RetrieveMultipleRequest();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;req.Query = queryExpression;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;req.ReturnDynamicEntities = true;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;RetrieveMultipleResponse resp = (RetrieveMultipleResponse)_service.Execute(req);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;if (resp != null &amp;amp;&amp;amp; resp.BusinessEntityCollection.BusinessEntities.Count &amp;gt; 0)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; Guid columnID=Guid.Empty;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; dynEntity = (DynamicEntity)resp.BusinessEntityCollection.BusinessEntities[0];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; if (
dynEntity.Properties.Contains(&quot;new_columnid&quot;))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;columnID = ((Lookup)dynEntity.Properties[&quot;
new_columnid&quot;]).Value;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;If we use crm webservices instead of sdk, w&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;e can make use of RetrieveMultiple without any issues.&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/3413103223692827004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/retrieve-or-retrievemultiple-methods-do.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/3413103223692827004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/3413103223692827004'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/retrieve-or-retrievemultiple-methods-do.html' title='MS CRM Retrieve and RetrieveMultiple methods do not work on Custom or Dynamic Entities'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-53361875254137430</id><published>2012-02-23T14:47:00.001+05:30</published><updated>2012-03-25T01:27:43.678+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><title type='text'>Dynamically update or assign the owner of an entity in MS CRM 4.0</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;In general we use the Update method to update the fields in MSCRM. But, we cannot update the owner of an entity using update method. To update the owner, we have to make use of AssignRequest.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif; line-height: 115%;&quot;&gt;AssignRequest
req = new AssignRequest();&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;SecurityPrincipal assignee =
new SecurityPrincipal();&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif; line-height: 115%;&quot;&gt;assignee.Type =
SecurityPrincipalType.User; //User or Queue&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;assignee.PrincipalId = ownerID; //crm userid to whom we assign&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif; line-height: 18px;&quot;&gt;&lt;br /&gt;// Request changes depending on the entity. For account, it is TargetOwnedAccount&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif; line-height: 115%;&quot;&gt;TargetOwnedLead target = new
TargetOwnedLead();&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;target.EntityId = leadID; //Id of the lead record whose owner has to be updated&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif; line-height: 115%;&quot;&gt;req.Assignee = assignee;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;req.Target = target;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif; line-height: 115%;&quot;&gt;_service.Execute(req); //_service is the crm service&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/53361875254137430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/dynamically-update-or-assign-owner-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/53361875254137430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/53361875254137430'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/dynamically-update-or-assign-owner-of.html' title='Dynamically update or assign the owner of an entity in MS CRM 4.0'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-7995973781985792076</id><published>2012-02-22T19:54:00.001+05:30</published><updated>2012-03-25T01:28:08.499+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><title type='text'>Add new column in search criteria of MS CRM 4.0</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Search in MS CRM is a handy option to easily search records of a particular entity. But, sometimes we cannot find the records if we search based on certain fields. For example, you would like to search the list of Opportunities whose Potential Customer is XYZ and entered it in the search text box in Opportunities view and ended with no &amp;nbsp;results even there are Opportunities for that Potential Customer. This is due to the fields that are being used by the search criteria to search Opps. You need to add the Potential Customer field in the Find columns of Search criteria.&lt;br /&gt;
In order to add new search column in search criteria, follow the below steps:&lt;br /&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Open Entity from Customizations&lt;/li&gt;
&lt;li&gt;Under Forms and Views, open Quick Find View&lt;/li&gt;
&lt;li&gt;Add Find Columns&lt;/li&gt;
&lt;li&gt;Check the fields that you would like to include in the search criteria, in this case check the Potential Customer field&lt;/li&gt;
&lt;li&gt;Save and Close the view&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Publish the entity&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/7995973781985792076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/add-new-column-in-search-criteria-of-ms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/7995973781985792076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/7995973781985792076'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/add-new-column-in-search-criteria-of-ms.html' title='Add new column in search criteria of MS CRM 4.0'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2068131345422670839.post-792514607754272396</id><published>2012-02-22T14:26:00.002+05:30</published><updated>2012-03-25T01:28:31.511+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM"/><title type='text'>MS CRM - Update manager for crm user</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;,sans-serif;&quot;&gt;Once we are done with creating an MS CRM User, then the Manager field becomes read only. I n order to update the Manager field, Open the user and go to Actions menu and click on Change Manager...&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wwwdotdinesh.blogspot.com/feeds/792514607754272396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/update-manager-for-user-in-ms-crm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/792514607754272396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2068131345422670839/posts/default/792514607754272396'/><link rel='alternate' type='text/html' href='http://wwwdotdinesh.blogspot.com/2012/02/update-manager-for-user-in-ms-crm.html' title='MS CRM - Update manager for crm user'/><author><name>Dinesh Vastadu</name><uri>http://www.blogger.com/profile/12577878153510911056</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>