<?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; Dynamics CRM</title> <atom:link href="http://www.langalaxy.de/tag/dynamics-crm/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>Help to build a new community for Microsoft Dynamics professionals</title><link>http://www.langalaxy.de/2011/09/help-to-build-a-new-community-for-microsoft-dynamics-professionals/</link> <comments>http://www.langalaxy.de/2011/09/help-to-build-a-new-community-for-microsoft-dynamics-professionals/#comments</comments> <pubDate>Thu, 08 Sep 2011 19:42:39 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[Community]]></category> <category><![CDATA[en]]></category> <category><![CDATA[stackexchange.com]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=552</guid> <description><![CDATA[Perhaps you know already the great StackExchange trilogy, consisting of stackoverflow.com, serverfault.com and superuser.com. These are community-driven Q&#38;A sites. The community has the possibility to create new Q&#38;A sites, based on the StackExchange &#8216;application&#8217; through proposals on Area 51 What makes these Q&#38;A sites way better than normal discussion boards is the ability to use [...]]]></description> <content:encoded><![CDATA[<p>Perhaps you know already the great StackExchange trilogy, consisting of <a
href="http://stackoverflow.com">stackoverflow.com</a>, <a
href="http://serverfault.com">serverfault.com</a> and <a
href="http://superuser.com">superuser.com</a>. These are community-driven Q&amp;A sites.</p><p>The community has the possibility to create new Q&amp;A sites, based on the StackExchange &#8216;application&#8217; through proposals on <a
href="http://area51.stackexchange.com/">Area 51</a></p><p>What makes these Q&amp;A sites way better than normal discussion boards is the ability to use them like a big wiki.<br
/> Useful content is pushed by votes of the community and is bubbling up, crap gets filtered out. Already posted information is editable for improving the overall quality.</p><p>The SharePoint community already got it&#8217;s site. <a
href="http://sharepoint.stackexchange.com">sharepoint.stackexchange.com</a> is in public beta since a few months and at the moment it looks like it could become a regular site.</p><p>You may think: why do we need yet another site, there are the MSDN forums, or x, y and z.<br
/> I could not answer this question better than this question explains it already <a
href="http://meta.sharepoint.stackexchange.com/q/199">meta.sharepoint.stackexchange.com/q/199</a>.</p><p>At least in my opinion, the MSDN forums evolved to an award hunting area. Many &#8216;experts&#8217; throw masses of answers on questions, without adding value to it (or even know the answer). Don&#8217;t get me wrong: this is not the majority, but it annoys me very much.  There is also no real way to promote valuable contributions, while devaluating the crap.</p><p>In addition the Creative Commons license guarantees that questions and answers are free to access, free to use and re-use (with attribution), and free to share… forever. So you will automatically create a knowledge base out of your contributions.</p><p>The more I use these sites, the more I miss a site which topic is the <a
href="http://www.microsoft.com/en-us/dynamics/default.aspx">Microsoft Dynamics product range</a>.</p><p><strong>If you are a Microsoft Dynamics professional, I would kindly ask you to support the current <a
href="http://bit.ly/npargZ">proposal for a Microsoft Dynamics Q&amp;A site</a></strong></p><p>In order to support this proposal, the first step we have to achieve is to get it into the commitment stage. Therefore we need 60 followers and votes for sample questions (you can follow the proposal via the link above). If we reach this milestone, the proposal will proceed to the commitment step.</p><p>If you are interested please help to create a new opportunity for your community. You know a colleague, who&#8217;s interested? Great, tell him about the proposal. Spread the word!</p> ]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2011/09/help-to-build-a-new-community-for-microsoft-dynamics-professionals/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Dynamics CRM Blog List</title><link>http://www.langalaxy.de/2009/12/dynamics-crm-blog-list/</link> <comments>http://www.langalaxy.de/2009/12/dynamics-crm-blog-list/#comments</comments> <pubDate>Mon, 28 Dec 2009 12:26:05 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[Blogs]]></category> <category><![CDATA[Community]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=348</guid> <description><![CDATA[A few weeks ago, Ben Riga posted a OPML-file of Dynamics CRM Blogs he is reading. I&#8217;ve merged his list into mine, which I will provide here for download. Dynamics CRM Blog List Update The list was updated with some more blogs. If your blog is missing, please leave a comment and I will update [...]]]></description> <content:encoded><![CDATA[<p>A few weeks ago, <a
href="http://blogs.msdn.com/benriga/archive/2009/12/07/dynamics-crm-blogs.aspx">Ben Riga posted a OPML-file</a> of Dynamics CRM Blogs he is reading. I&#8217;ve merged his list into mine, which I will provide here for download.</p><p><strong>Dynamics CRM Blog List</strong><br
/> <a
class="downloadlink" href="http://www.langalaxy.de/files/crm-blogs.zip" title="Version1.6 heruntergeladen 129 mal" >Dynamics CRM Blog List (129)</a></p><p><strong>Update</strong><br
/> The list was updated with some more blogs. If your blog is missing, please leave a comment and I will update the list.</p> ]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2009/12/dynamics-crm-blog-list/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>0&#215;80044195 The specified language code is not valid for this organization</title><link>http://www.langalaxy.de/2009/12/0x80044195-the-specified-language-code-is-not-valid-for-this-organization/</link> <comments>http://www.langalaxy.de/2009/12/0x80044195-the-specified-language-code-is-not-valid-for-this-organization/#comments</comments> <pubDate>Sun, 13 Dec 2009 15:36:47 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[Hints]]></category> <category><![CDATA[Redeployment]]></category> <category><![CDATA[Support]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=300</guid> <description><![CDATA[Recently I had a problem with a dev system at a customer site. The system was redeployed from the production site without any problems. Everything worked well, until I tried to customize the system. As soon as I tried to create new attributes or new relationships, the system produced an error The language code 1033 [...]]]></description> <content:encoded><![CDATA[<p>Recently I had a problem with a dev system at a customer site. The system was redeployed from the production site without any problems. Everything worked well, until I tried to customize the system. As soon as I tried to create new attributes or new relationships, the system produced an error</p><blockquote><p>The language code 1033 is not a valid language for this organization</p></blockquote><p>I searched the net, but the only things I found was that this error is listed as an error code of Dynamics CRM (see <a
href="http://msdn.microsoft.com/en-us/library/bb930493(loband).aspx">http://msdn.microsoft.com/en-us/library/bb930493(loband).aspx</a>) and a thread in the Dynamics Forums (<a
href="http://social.microsoft.com/Forums/en/crm/thread/70bbbf36-1ecb-443e-852a-bebaa70c7206">http://social.microsoft.com/Forums/en/crm/thread/70bbbf36-1ecb-443e-852a-bebaa70c7206</a>), but sadly without a solution.</p><p>After contacting the Dynamics CRM support team, the cause of this error was found in a matter of minutes. The system was redeployed from an installation with German base language to a system with English base language. This is an <strong>unsupported</strong> scenario.</p><p>Neither there was a warning at the redeployment wizard, nor is this mentioned in the Implementation Guide (at least, I haven&#8217;t found it there). The support engineer provided me following excerpt there this scenario is described as unsupported</p><blockquote><p>The original deployment and the new deployment of Microsoft Dynamics CRM must be the same base language.<br
/> <br
/> <em><strong>NOTE:</strong> Redeployment between different base languages, for example from English to French, is not supported.</em></p></blockquote><p>To bad that this snippet is only included in the course material for the Installation and Deployment exam and not in the Implementation Guide. The only solution was to do a full reinstall of Dynamics CRM with the same base language as the originating system and to do the reployment again.</p><p><strong>Update</strong><br
/> In the meantime I got new feedback from the support engineer (thank you José) who is responsible for my case. Microsoft will document this scenario either with a knowledgebase article or by adding the quoted note to the Implementation Guide.</p> ]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2009/12/0x80044195-the-specified-language-code-is-not-valid-for-this-organization/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> <item><title>RetrieveMultiple Gotchas</title><link>http://www.langalaxy.de/2009/08/retrievemultiple-gotchas/</link> <comments>http://www.langalaxy.de/2009/08/retrievemultiple-gotchas/#comments</comments> <pubDate>Sun, 23 Aug 2009 14:18:57 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[CRM 4]]></category> <category><![CDATA[SDK]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=182</guid> <description><![CDATA[This article is only relevant if you use the assemblies which are provided in the crm sdk The crm webservice provides multiple ways for querying data. One of them uses the QueryExpression for selecting the data. A QueryExpression can be used for retrieving data of any crm entity. However, if you use it to query [...]]]></description> <content:encoded><![CDATA[<p><em>This article is only relevant if you use the assemblies which are provided in the crm sdk</em></p><p>The crm webservice provides multiple ways for querying data. One of them uses the <a
href="http://technet.microsoft.com/en-us/library/bb929258.aspx">QueryExpression</a> for selecting the data.</p><p>A QueryExpression can be used for retrieving data of any crm entity. However, if you use it to query the entities <a
href="http://technet.microsoft.com/en-us/library/bb955732.aspx">activitypointer</a> or <a
href="http://technet.microsoft.com/en-us/library/bb957264.aspx">queueitem</a> your crm webservice proxy will throw an InvalidOperationException with the message <em>There is an error in XML document</em></p><p>So what are you doing wrong? Nothing.</p><p>This problem is (poorly) described in the sdkreadme.htm in the crm sdk.</p><blockquote><p>Possible failure using the CrmService.RetrieveMultiple method found in SdkTypeProxy.dll (32227)</p><p>Calling this method may result in an InvalidOperationException.</p><p>Workaround: Use the CrmService.Execute method with the RetrieveMultiple message instead.</p></blockquote><p>The described workaround leads to the same error. The only way to request data from these entities is to use DynamicEntities.<br
/> This requires a small change at your existing query: you only have to tell the CRM to return the results as DynamicEntities</p><div
class="wp_syntax"><div
class="code"><pre class="csharp" style="font-family:monospace;">RetrieveMultipleRequest request <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> RetrieveMultipleRequest 
<span style="color: #008000;">&#123;</span> 
  Query <span style="color: #008000;">=</span> query, 
  ReturnDynamicEntities <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">true</span> 
<span style="color: #008000;">&#125;</span><span style="color: #008000;">;</span></pre></div></div>]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2009/08/retrievemultiple-gotchas/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>OpenThreadToken failed with hr = 1008</title><link>http://www.langalaxy.de/2009/08/openthreadtoken-failed-with-hr-1008/</link> <comments>http://www.langalaxy.de/2009/08/openthreadtoken-failed-with-hr-1008/#comments</comments> <pubDate>Sun, 23 Aug 2009 10:53:21 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[CRM 4]]></category> <category><![CDATA[SDK]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=183</guid> <description><![CDATA[The crm sdk includes the class CrmImpersonator which allows to execute code with the crm user credentials instead the website credentials. If you have used this class, you may have come into situations in which the constructor has thrown an InvalidOperationException with the message OpenThreadToken failed with hr = 1008. A little research shows, that [...]]]></description> <content:encoded><![CDATA[<p>The crm sdk includes the class <a
href="http://msdn.microsoft.com/de-de/library/cc156363(en-us).aspx">CrmImpersonator</a> which allows to execute code with the crm user credentials instead the website credentials.</p><p>If you have used this class, you may have come into situations in which the constructor has thrown an InvalidOperationException with the message <em>OpenThreadToken failed with hr = 1008</em>. A little research shows, that the most common reason of this exception is that the CrmImpersonator only works if your website is executed in the context of the crm.</p><p>But even if the application runs in the context of crm there is a gotcha which leads to this exception. If you use a generic handler in your application and you are creating a new instance of the CrmImpersonator in the constructor of this handler, it will throw the same exception. See this example for reference</p><div
class="wp_syntax"><div
class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&#91;</span>WebService<span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">Namespace</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;http://tempuri.org/&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#93;</span>
<span style="color: #008000;">&#91;</span>WebServiceBinding<span style="color: #008000;">&#40;</span>ConformsTo <span style="color: #008000;">=</span> WsiProfiles<span style="color: #008000;">.</span><span style="color: #0000FF;">BasicProfile1_1</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#93;</span>
<span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">class</span> Handler1 <span style="color: #008000;">:</span> IHttpHandler, IDisposable
<span style="color: #008000;">&#123;</span>
  <span style="color: #0600FF; font-weight: bold;">private</span> CrmImpersonator _impersonator<span style="color: #008000;">;</span>
&nbsp;
  <span style="color: #0600FF; font-weight: bold;">public</span> Handler1<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
  <span style="color: #008000;">&#123;</span>
    _impersonator <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> CrmImpersonator<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
  <span style="color: #008000;">&#125;</span>
&nbsp;
  <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">void</span> ProcessRequest<span style="color: #008000;">&#40;</span>HttpContext context<span style="color: #008000;">&#41;</span>
  <span style="color: #008000;">&#123;</span>
    context<span style="color: #008000;">.</span><span style="color: #0000FF;">Response</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ContentType</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;text/plain&quot;</span><span style="color: #008000;">;</span>
    context<span style="color: #008000;">.</span><span style="color: #0000FF;">Response</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Hello World&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
  <span style="color: #008000;">&#125;</span>
&nbsp;
  <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">bool</span> IsReusable
  <span style="color: #008000;">&#123;</span>
    get<span style="color: #008000;">&#123;</span> <span style="color: #0600FF; font-weight: bold;">return</span> <span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span>
  <span style="color: #008000;">&#125;</span>
&nbsp;
  <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">void</span> Dispose<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
  <span style="color: #008000;">&#123;</span>
    <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>_impersonator <span style="color: #008000;">!=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">&#123;</span>
       _impersonator<span style="color: #008000;">.</span><span style="color: #0000FF;">Dispose</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
       _impersonator <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">;</span>
    <span style="color: #008000;">&#125;</span>
  <span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span></pre></div></div><p>It seems that the thread which processes the request is not properly initialized at this point. The solution of this problem is simple. You have to create the CrmImpersonator in the ProcessRequest method of your handler.</p> ]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2009/08/openthreadtoken-failed-with-hr-1008/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Überarbeiten eines Angebots</title><link>http://www.langalaxy.de/2009/06/uberarbeiten-eines-angebots/</link> <comments>http://www.langalaxy.de/2009/06/uberarbeiten-eines-angebots/#comments</comments> <pubDate>Thu, 18 Jun 2009 17:17:25 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[C#]]></category> <category><![CDATA[CRM 4]]></category> <category><![CDATA[de]]></category> <category><![CDATA[Snippets]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=61</guid> <description><![CDATA[Um über den Webservice eine Revision eines Angebots zu erstellen, muss dieses zuerst mit dem Status &#8216;Überarbeitet&#8217; geschlossen werden. quoteclose qc = new quoteclose&#40;&#41;; qc.quoteid = new Lookup&#40; EntityName.quote.ToString&#40;&#41;, q.quoteid &#41;; &#160; CloseQuoteRequest cqr = new CloseQuoteRequest&#40;&#41;; cqr.QuoteClose = qc; cqr.Status = 7; &#160; service.Execute&#40;cqr&#41;; Danach kann eine neue Revision erzeugt werden ReviseQuoteRequest rqr = [...]]]></description> <content:encoded><![CDATA[<p>Um über den Webservice eine Revision eines Angebots zu erstellen, muss dieses zuerst mit dem Status &#8216;Überarbeitet&#8217; geschlossen werden.</p><div
class="wp_syntax"><div
class="code"><pre class="csharp" style="font-family:monospace;">quoteclose qc <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> quoteclose<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
qc<span style="color: #008000;">.</span><span style="color: #0000FF;">quoteid</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Lookup<span style="color: #008000;">&#40;</span> EntityName<span style="color: #008000;">.</span><span style="color: #0000FF;">quote</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>, q<span style="color: #008000;">.</span><span style="color: #0000FF;">quoteid</span>  <span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
CloseQuoteRequest cqr <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> CloseQuoteRequest<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
cqr<span style="color: #008000;">.</span><span style="color: #0000FF;">QuoteClose</span> <span style="color: #008000;">=</span> qc<span style="color: #008000;">;</span>
cqr<span style="color: #008000;">.</span><span style="color: #0000FF;">Status</span> <span style="color: #008000;">=</span> <span style="color: #FF0000;">7</span><span style="color: #008000;">;</span>
&nbsp;
service<span style="color: #008000;">.</span><span style="color: #0000FF;">Execute</span><span style="color: #008000;">&#40;</span>cqr<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></div></div><p>Danach kann eine neue Revision erzeugt werden</p><div
class="wp_syntax"><div
class="code"><pre class="csharp" style="font-family:monospace;">ReviseQuoteRequest rqr <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ReviseQuoteRequest<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
rqr<span style="color: #008000;">.</span><span style="color: #0000FF;">QuoteId</span> <span style="color: #008000;">=</span> quoteid<span style="color: #008000;">;</span>
rqr<span style="color: #008000;">.</span><span style="color: #0000FF;">ColumnSet</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> AllColumns<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
ReviseQuoteResponse rqresp <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span>ReviseQuoteResponse<span style="color: #008000;">&#41;</span>service<span style="color: #008000;">.</span><span style="color: #0000FF;">Execute</span><span style="color: #008000;">&#40;</span>rqr<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
quote  quoteDraft <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span>quote<span style="color: #008000;">&#41;</span>rqresp<span style="color: #008000;">.</span><span style="color: #0000FF;">BusinessEntity</span><span style="color: #008000;">;</span></pre></div></div>]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2009/06/uberarbeiten-eines-angebots/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Tools for Microsoft CRM 4</title><link>http://www.langalaxy.de/2009/02/tools-for-microsoft-crm-4/</link> <comments>http://www.langalaxy.de/2009/02/tools-for-microsoft-crm-4/#comments</comments> <pubDate>Sat, 21 Feb 2009 13:05:44 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[CRM 4]]></category> <category><![CDATA[en]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=75</guid> <description><![CDATA[Small list of useful tools for crm development http://msdn.microsoft.com/en-us/library/dd442453.aspx http://www.codeplex.com/crmperftoolkit Stunnware Tools for Microsoft Dynamics CRM 4.0]]></description> <content:encoded><![CDATA[<p>Small list of useful tools for crm development</p><ul><li><a
title="http://msdn.microsoft.com/en-us/library/dd442453.aspx" href="http://msdn.microsoft.com/en-us/library/dd442453.aspx">http://msdn.microsoft.com/en-us/library/dd442453.aspx</a></li><li><a
title="http://www.codeplex.com/crmperftoolkit" href="http://www.codeplex.com/crmperftoolkit">http://www.codeplex.com/crmperftoolkit</a></li><li><a
href="http://www.stunnware.com">Stunnware Tools for Microsoft Dynamics CRM 4.0</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2009/02/tools-for-microsoft-crm-4/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Rollup 2 für Microsoft Dynamics CRM 4 verfügbar</title><link>http://www.langalaxy.de/2009/02/rollup-2-fur-microsoft-dynamics-crm-4-verfugbar/</link> <comments>http://www.langalaxy.de/2009/02/rollup-2-fur-microsoft-dynamics-crm-4-verfugbar/#comments</comments> <pubDate>Sat, 21 Feb 2009 12:32:56 +0000</pubDate> <dc:creator>ckeller</dc:creator> <category><![CDATA[Dynamics CRM]]></category> <category><![CDATA[CRM 4]]></category> <category><![CDATA[de]]></category><guid
isPermaLink="false">http://www.langalaxy.de/?p=72</guid> <description><![CDATA[Microsoft hat den zweiten Rollup für CRM 4 veröffentlicht (http://www.microsoft.com/downloads/details.aspx?displaylang=de&#38;FamilyID=aa671769-61e9-45c4-919f-c88199aa4241). Bitte beachten: der Rollup wurde am 8.2 ein zweites Mal veröffentlicht, da die erste Version diverse Fehler enthielt (siehe http://blogs.msdn.com/crm/archive/2009/02/11/update-rollup-2-for-microsoft-dynamics-crm-4-0-more-info.aspx )]]></description> <content:encoded><![CDATA[<p>Microsoft hat den zweiten Rollup für CRM 4 veröffentlicht (<a
title="http://www.microsoft.com/downloads/details.aspx?displaylang=de&amp;FamilyID=aa671769-61e9-45c4-919f-c88199aa4241" href="http://www.microsoft.com/downloads/details.aspx?displaylang=de&amp;FamilyID=aa671769-61e9-45c4-919f-c88199aa4241">http://www.microsoft.com/downloads/details.aspx?displaylang=de&amp;FamilyID=aa671769-61e9-45c4-919f-c88199aa4241</a>).</p><p>Bitte beachten: der Rollup wurde am 8.2 ein zweites Mal veröffentlicht, da die erste Version diverse Fehler enthielt (siehe <a
title="http://blogs.msdn.com/crm/archive/2009/02/11/update-rollup-2-for-microsoft-dynamics-crm-4-0-more-info.aspx" href="http://blogs.msdn.com/crm/archive/2009/02/11/update-rollup-2-for-microsoft-dynamics-crm-4-0-more-info.aspx" target="_blank">http://blogs.msdn.com/crm/archive/2009/02/11/update-rollup-2-for-microsoft-dynamics-crm-4-0-more-info.aspx</a> )</p> ]]></content:encoded> <wfw:commentRss>http://www.langalaxy.de/2009/02/rollup-2-fur-microsoft-dynamics-crm-4-verfugbar/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 597/643 objects using disk: basic

Served from: www.langalaxy.de @ 2012-02-07 02:58:16 -->
