<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: CRM 4.0 Installation Error - &#8220;registerasyncserviceaction failed&#8221;</title>
	<atom:link href="http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/</link>
	<description></description>
	<pubDate>Wed, 08 Feb 2012 09:42:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Dubi</title>
		<link>http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/#comment-16821</link>
		<dc:creator>Dubi</dc:creator>
		<pubDate>Fri, 02 Oct 2009 03:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/#comment-16821</guid>
		<description>Warning: 
The full performance counter rebuild (http://support.microsoft.com/kb/300956) may take considerable time and may not give a complete rebuild. The long proccess is human error prone, too. If you can't resolve the problem in my short way, do try it or reinstall server. 
Well, first of all, I tried the long way. In the end, counters were still corrupt. I used procmon (microsoft sysinternals tool) to catch the last performance counter registery value before failing.
I found out the full rebuild, didn't rebuild the Windows workflow foundation performance counters. Wow, this is actually the most important module that the crmasync uses!
I saw the counters :
FirstCounter
FirstHelp
LastCounter
LastHelp

Are missing there (I probably deleted them in the long proccess), but their rebuild is not in the system32 dir!

I executed :
C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation&#62;unlodctr perfcounters

Unable to open driver SYSTEM\CurrentControlSet\Services\perfcounters. Status: 2
C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation&#62;lodctr perfcounters.ini

This added the missing counters.
(should try crm repair now).

Generally I believe one should:
1. export the full registery tree of:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
Into a file.

2. Filter out lines that don't have the word performance in their key name.

3. Find empty performance entries and performance entries without the first and last counters.

4. Find their INI file and reload them ( unlodctr , lodctr).

5. Verify that the load created counter entries in registery.


Another point: I noticed that CRM doesn't provide a INI file for rebuilding corrupt perf counters, they use a file called tmp38.tmp . Later I belive they delete it. As if saying : If it's broke, let repair fix it!
Maybe it's a good idea, but I am not sure about it.


Hope this helps;-) 
I wish a WIN internals guru can confirm this... but it doesn't stray from the guide lines of the MS KB.</description>
		<content:encoded><![CDATA[<p>Warning:<br />
The full performance counter rebuild (http://support.microsoft.com/kb/300956) may take considerable time and may not give a complete rebuild. The long proccess is human error prone, too. If you can&#8217;t resolve the problem in my short way, do try it or reinstall server.<br />
Well, first of all, I tried the long way. In the end, counters were still corrupt. I used procmon (microsoft sysinternals tool) to catch the last performance counter registery value before failing.<br />
I found out the full rebuild, didn&#8217;t rebuild the Windows workflow foundation performance counters. Wow, this is actually the most important module that the crmasync uses!<br />
I saw the counters :<br />
FirstCounter<br />
FirstHelp<br />
LastCounter<br />
LastHelp</p>
<p>Are missing there (I probably deleted them in the long proccess), but their rebuild is not in the system32 dir!</p>
<p>I executed :<br />
C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation&gt;unlodctr perfcounters</p>
<p>Unable to open driver SYSTEM\CurrentControlSet\Services\perfcounters. Status: 2<br />
C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation&gt;lodctr perfcounters.ini</p>
<p>This added the missing counters.<br />
(should try crm repair now).</p>
<p>Generally I believe one should:<br />
1. export the full registery tree of:<br />
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services<br />
Into a file.</p>
<p>2. Filter out lines that don&#8217;t have the word performance in their key name.</p>
<p>3. Find empty performance entries and performance entries without the first and last counters.</p>
<p>4. Find their INI file and reload them ( unlodctr , lodctr).</p>
<p>5. Verify that the load created counter entries in registery.</p>
<p>Another point: I noticed that CRM doesn&#8217;t provide a INI file for rebuilding corrupt perf counters, they use a file called tmp38.tmp . Later I belive they delete it. As if saying : If it&#8217;s broke, let repair fix it!<br />
Maybe it&#8217;s a good idea, but I am not sure about it.</p>
<p>Hope this helps;-)<br />
I wish a WIN internals guru can confirm this&#8230; but it doesn&#8217;t stray from the guide lines of the MS KB.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Failure at Microsoft.crm.setup.common.registerasyncserviceAction &#124; Ugh!!'s Greymatter Honeypot</title>
		<link>http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/#comment-9962</link>
		<dc:creator>Failure at Microsoft.crm.setup.common.registerasyncserviceAction &#124; Ugh!!'s Greymatter Honeypot</dc:creator>
		<pubDate>Mon, 09 Mar 2009 14:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/#comment-9962</guid>
		<description>[...] Rebuild Perf Counter strings with &#8220;lodctr /r&#8221;&#160; (wasn&#8217;t getting a Perf Counter error) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Rebuild Perf Counter strings with &#8220;lodctr /r&#8221;&nbsp; (wasn&#8217;t getting a Perf Counter error) [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virtualspy</title>
		<link>http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/#comment-9843</link>
		<dc:creator>Virtualspy</dc:creator>
		<pubDate>Tue, 03 Mar 2009 22:57:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/#comment-9843</guid>
		<description>I had the same problem and it drove me nuts.  What fixed it for me was checking and updating the organization info inside deployment manager.  In my case, I copied the environment to another machine for development purposes and for some reason when I updated the copy it altered the original.</description>
		<content:encoded><![CDATA[<p>I had the same problem and it drove me nuts.  What fixed it for me was checking and updating the organization info inside deployment manager.  In my case, I copied the environment to another machine for development purposes and for some reason when I updated the copy it altered the original.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MSCRMAsyncService (CRM4) &#124; keyongtech</title>
		<link>http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/#comment-8953</link>
		<dc:creator>MSCRMAsyncService (CRM4) &#124; keyongtech</dc:creator>
		<pubDate>Sun, 18 Jan 2009 16:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/#comment-8953</guid>
		<description>[...] MSCRMAsyncService (CRM4)     Dear Duc,  Is the following link helpful ?  http://blog.kazmarek.com/2008/02/06/...action-failed/  Thomas  &#34;Duc, Nguyen&#34; wrote:  &#62; Dear All, &#62; &#62; Anyone know this issue please [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] MSCRMAsyncService (CRM4)     Dear Duc,  Is the following link helpful ?  <a href="http://blog.kazmarek.com/2008/02/06/...action-failed/" rel="nofollow">http://blog.kazmarek.com/2008/02/06/&#8230;action-failed/</a>  Thomas  &quot;Duc, Nguyen&quot; wrote:  &gt; Dear All, &gt; &gt; Anyone know this issue please [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/#comment-1998</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 25 Feb 2008 22:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/#comment-1998</guid>
		<description>also helps to make iisreset before retrying</description>
		<content:encoded><![CDATA[<p>also helps to make iisreset before retrying</p>
]]></content:encoded>
	</item>
</channel>
</rss>

