<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Trace.WriteLine(_blogTitle); &#187; Tracing</title> <atom:link href="http://www.langalaxy.de/tag/tracing/feed/" rel="self" type="application/rss+xml" /><link>http://www.langalaxy.de</link> <description>Random output</description> <lastBuildDate>Fri, 28 Oct 2011 17:20:03 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Why OptimizeOrgImport is not always an optimization</title><link>http://www.langalaxy.de/2010/07/why-optimizeorgimport-is-not-always-an-optimization/</link> <comments>http://www.langalaxy.de/2010/07/why-optimizeorgimport-is-not-always-an-optimization/#comments</comments> <pubDate>Mon, 12 Jul 2010 20:18:17 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[CRM 4]]></category> <category><![CDATA[Hints]]></category> <category><![CDATA[Import]]></category> <category><![CDATA[Tracing]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=447</guid> <description><![CDATA[Update Rollup 8 introduced an improved organization import process which speeds up the organization import. You have to enable the optimized import process by adding the DWORD key OptimizeOrgImport with value 1 to the registry hive of Dynamics CRM (see the detailed description http://support.microsoft.com/kb/977867) Recently, I had a problem during an import of an organization [...]]]></description> <content:encoded><![CDATA[<p>Update Rollup 8 introduced an improved organization import process which speeds up the organization import.</p><p>You have to enable the optimized import process by adding the <em>DWORD</em> key <em>OptimizeOrgImport</em> with value <em>1</em> to the registry hive of Dynamics CRM (see the detailed description <a
href="http://support.microsoft.com/kb/977867/">http://support.microsoft.com/kb/977867</a>)</p><p>Recently, I had a problem during an import of an organization which failed with following error</p><blockquote><p>Message: Exception during import of organization (Name=&#8217;<em><orgname></orgname></em>&#8216;, Id=3e58a0cc-c277-df11-b2c1-0050569473db):<br
/> System.Data.SqlClient.SqlException: A row with a duplicate key cannot be added to the object ‘dbo.SystemUserOrganizations’-object with unique index ‘SystemUserOrganizations_CrmUserId’</p></blockquote><p>The organization which I tried to import was a backup of an organization which was created in the same deployment. The import runs successful on every other deployment. With help of the Microsoft Support, we identified the cause of the issue: the OptimizeOrgImport key.</p><p>The knowledgebase article for <em><a
href="http://support.microsoft.com/kb/977867">OptimizeOrgImport</a></em> contains following passage:</p><blockquote><p>When you use the registry entry OptimizeOrgImport and have the value of this entry set to 1, you cannot import the same organization database more than one time.<br
/> If you want to import the same organization database more than one time, you must do one of the following things:</p><ul><li>Set OptimizeOrgImport = 0 and use the normal import process.</li><li>Delete the organization, and then import the organization again.</li></ul></blockquote><p>This passage is a little bit misleading, as the optimized import process fails already at the first time, if the organization was created in the same deployment. In order to import a backup of an organization into the originating deployment, you have to deactivate <em>OptimizeOrgImport</em>.</p> ]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2010/07/why-optimizeorgimport-is-not-always-an-optimization/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Common errors on organization import</title><link>http://www.langalaxy.de/2010/02/common-errors-on-organization-import/</link> <comments>http://www.langalaxy.de/2010/02/common-errors-on-organization-import/#comments</comments> <pubDate>Sun, 21 Feb 2010 19:55:16 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[CRM 4]]></category> <category><![CDATA[Debugging]]></category> <category><![CDATA[Import]]></category> <category><![CDATA[Redeployment]]></category> <category><![CDATA[Tracing]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=371</guid> <description><![CDATA[When you import organizations into an existing environment, there is the possibility that the import could fail. This post should help you to solve the most common issues. With large organizations, the most likely problem is that the import process runs into a timeout when it updates the user mapping. Update Rollup 8 contains a [...]]]></description> <content:encoded><![CDATA[<p>When you import organizations into an existing environment, there is the possibility that the import could fail. This post should help you to solve the most common issues.</p><p>With large organizations, the most likely problem is that the import process runs into a timeout when it updates the user mapping. Update Rollup 8 contains a fix for this problem which has to be enabled manually. See <a
href="http://xrm.ascentium.com/blog/crm/Post768.aspx">http://xrm.ascentium.com/blog/crm/Post768.aspx</a>.</p><p>Another common issue is that the import fails with the following error</p><blockquote><p>ExecuteNonQuery requires an open and available Connection. The connection&#8217;s current state is closed.</p></blockquote><p>This error is likely caused by an issue in the .NET 2 Framework. See this article of the EMEA CRM Support team for a description<br
/> <a
href="http://blogs.msdn.com/emeadcrmsupport/archive/2009/10/12/error-while-importing-an-organization-executenonquery-requires-an-open-and-available-connection.aspx">http://blogs.msdn.com/emeadcrmsupport/archive/2009/10/12/error-while-importing-an-organization-executenonquery-requires-an-open-and-available-connection.aspx</a></p><p>Another cause of this issue are reports which could not be published to the report server by any reason. For example, reports which are spiced up with custom assemblies cannot be published without the referenced assemblies. The import will fail when it tries to publish such a report. In this case enable the tracing, which generates a trace file for the mmc-console. With help of this file you can identify the report which is making problems. To solve the issue, you can either delete it directly from the database (unsupported) or you delete it prior to the backup of the originating system. After the successful import, you can import the problematic report again.</p><p>See this thread in the CRM Deployment forum for further description <a
href="http://social.microsoft.com/Forums/en/crmdeployment/thread/1336bb5d-a119-44e3-83dd-1f557edccc31">http://social.microsoft.com/Forums/en/crmdeployment/thread/1336bb5d-a119-44e3-83dd-1f557edccc31</a></p> ]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2010/02/common-errors-on-organization-import/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CRM log file locations</title><link>http://www.langalaxy.de/2009/09/crm-log-file-locations/</link> <comments>http://www.langalaxy.de/2009/09/crm-log-file-locations/#comments</comments> <pubDate>Tue, 08 Sep 2009 20:16:57 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[CRM 4]]></category> <category><![CDATA[Debugging]]></category> <category><![CDATA[Logs]]></category> <category><![CDATA[Tracing]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=235</guid> <description><![CDATA[Every part of a Microsoft Dynamics CRM implementation produces some log output. In addition to the standard logging, you could enable tracing for nearly every CRM component for debugging purposes. This post shows where you can find these log and trace files. For enabling the generation of trace files see http://support.microsoft.com/kb/907490. Please keep in mind [...]]]></description> <content:encoded><![CDATA[<p>Every part of a Microsoft Dynamics CRM implementation produces some log output. In addition to the standard logging, you could enable tracing for nearly every CRM component for debugging purposes.</p><p>This post shows where you can find these log and trace files. For enabling the generation of trace files see <a
href="http://support.microsoft.com/kb/907490">http://support.microsoft.com/kb/907490</a>. Please keep in mind that although the article says that you can configure the folder in which the trace files are generated via <em>TraceDirectory</em>, the location is hard coded in the applications. You can set a value, but it will be ignored.</p><p><strong>Outlook Client</strong></p><ul><li>Standard log files %APPDATA%\Microsoft\MSCRM\Logs</li><li>Autoupdate log files %APPDATA%\Microsoft\MSCRM\AutoUpdate</li><li>Trace files %APPDATA%\Microsoft\MSCRM\Traces</li></ul><p><em>Note: Since Update Rollup 7, these paths are switched to the %LOCALAPPDATA% folder in order to have a smaller roaming profile.</em></p><p><strong>E-Mail Router</strong></p><ul><li>You can configure the log file path. See <a
href="http://blogs.msdn.com/benlec/archive/2008/03/25/how-to-implement-logging-for-the-microsoft-crm-4-0-e-mail-connector.aspx">http://blogs.msdn.com/benlec/archive/2008/03/25/how-to-implement-logging-for-the-microsoft-crm-4-0-e-mail-connector.aspx</a> for reference</li></ul><p><strong>Data Migration Manager</strong></p><ul><li>Trace files %APPDATA%\Microsoft\MSCRM\Traces</li></ul><p><strong>CRM Server</strong></p><ul><li>Trace files {Install dir of application}\Trace</li><li>Setup log files, Deployment Manager, &#8230; %APPDATA%\Microsoft\MSCRM\Logs</li></ul><p><strong>Event log</strong><br
/> In addition to the log files, there is also useful information in the application event log. With the installation of CRM you get following new event sources</p><ul><li>MSCRMCallout</li><li>MSCRMDeletionService</li><li>MSCRMDeployment</li><li>MSCRMEmail</li><li>MSCRMKeyArchiveManager</li><li>MSCRMKeyGenerator</li><li>MSCRMKeyService</li><li>MSCRMLocatorService</li><li>MSCRMPerfCounters</li><li>MSCRMPlatform</li><li>MSCRMReporting</li><li>MSCRMTracing</li><li>MSCRMWebService</li></ul><p><strong>Update</strong><br
/> Added note for Outlook Client log paths for version Rollup 7 or higher</p> ]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2009/09/crm-log-file-locations/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Howto: Debugging CRM errors</title><link>http://www.langalaxy.de/2009/08/howto-debugging-crm-errors/</link> <comments>http://www.langalaxy.de/2009/08/howto-debugging-crm-errors/#comments</comments> <pubDate>Mon, 24 Aug 2009 19:03:27 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[Debugging]]></category> <category><![CDATA[HowTo]]></category> <category><![CDATA[Support]]></category> <category><![CDATA[Tracing]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=200</guid> <description><![CDATA[Today I had a service call with a customer who got an error on creating appointments. The error message was General Failure in Scheduling Engine A quick search in the internet revealed that this error message is not an unknown one (at least for Dynamics CRM 3) http://ronaldlemmen.blogspot.com/2007/05/error-when-creating-new-appointment.html http://support.microsoft.com/default.aspx/kb/917010/en-us Because the description of the articles [...]]]></description> <content:encoded><![CDATA[<p>Today I had a service call with a customer who got an error on creating appointments. The error message was <em>General Failure in Scheduling Engine</em></p><p>A quick search in the internet revealed that this error message is not an unknown one (at least for Dynamics CRM 3)</p><ul><li><a
href="http://ronaldlemmen.blogspot.com/2007/05/error-when-creating-new-appointment.html">http://ronaldlemmen.blogspot.com/2007/05/error-when-creating-new-appointment.html</a></li><li><a
href="http://support.microsoft.com/default.aspx/kb/917010/en-us">http://support.microsoft.com/default.aspx/kb/917010/en-us</a></li></ul><p>Because the description of the articles were not suitable for the customers environment and the CRM system is a newer one ( Dynamics CRM 4), we had to dig further.</p><p>We enabled the tracing on the crm application server and set the TraceCategories to *:Error which writes only the message with TraceLevel  Error to the trace file.</p><p>The generated trace file contained following error<br
/> <code>...<br
/> Crm Exception: Message: SecLib::CrmCheckPrivilege failed. Returned hr = -2147220960 on UserId: bcf9bb2e-6070-de11-a4a6-000c29abeb6c and PrivilegeId: b5f2ee06-d359-4495-bbda-312aae1c6b1e, ErrorCode: -2147220960<br
/> ...<br
/> MessageProcessor fail to process message 'Book' for 'appointment'.<br
/> ...<br
/> </code></p><p>A quick search for the name of the denied privilege showed that the security role of the user doesn&#8217;t give him the right to share appointments. Apparently, this right is needed for <em>creating</em> an appointment. After adjusting the security role the error was gone and the customer was happy.</p> ]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2009/08/howto-debugging-crm-errors/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 383/392 objects using disk: basic

Served from: www.langalaxy.de @ 2012-02-07 02:55:02 -->
