<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>Nikolais Rant</title>
    <link>http://blogs.phiner.co.nz/</link>
    <description>Stuff n Things</description>
    <language>en-us</language>
    <copyright>Nikolai Blackie</copyright>
    <lastBuildDate>Wed, 07 Sep 2005 23:37:00 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.8.5223.2</generator>
    <managingEditor>nikolai@phiner.co.nz</managingEditor>
    <webMaster>nikolai@phiner.co.nz</webMaster>
    <item>
      <trackback:ping>http://blogs.phiner.co.nz/Trackback.aspx?guid=c3f7fff2-7be8-4204-90e4-95219ea9714a</trackback:ping>
      <pingback:server>http://blogs.phiner.co.nz/pingback.aspx</pingback:server>
      <pingback:target>http://blogs.phiner.co.nz/PermaLink,guid,c3f7fff2-7be8-4204-90e4-95219ea9714a.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.phiner.co.nz/CommentView,guid,c3f7fff2-7be8-4204-90e4-95219ea9714a.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.phiner.co.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=c3f7fff2-7be8-4204-90e4-95219ea9714a</wfw:commentRss>
      <title>Web Application Startup Failures - Access is denied</title>
      <guid>http://blogs.phiner.co.nz/PermaLink,guid,c3f7fff2-7be8-4204-90e4-95219ea9714a.aspx</guid>
      <link>http://blogs.phiner.co.nz/PermaLink,guid,c3f7fff2-7be8-4204-90e4-95219ea9714a.aspx</link>
      <pubDate>Wed, 07 Sep 2005 23:37:00 GMT</pubDate>
      <description>&lt;p&gt;&lt; add assembly = &lt;
* &gt;
   If you are getting "Parser Error Message: Access is denied: 'Some Assembly'." and
   "Source Error: / &gt;" sometimes when you are running your web applications it maybe
   because of index server. Here are some tips to sort it... Easiest being stopping Index
   Server. 
&lt;/p&gt;
&lt;p&gt;
   &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;329065" target="#"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;329065&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
   Care of &lt;a href="http://blogs.wwwcoder.com/deepak/archive/2004/10/14/885.aspx" target="#"&gt;http://blogs.wwwcoder.com/deepak/archive/2004/10/14/885.aspx&lt;/a&gt; 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.phiner.co.nz/aggbug.ashx?id=c3f7fff2-7be8-4204-90e4-95219ea9714a" /&gt;</description>
      <comments>http://blogs.phiner.co.nz/CommentView,guid,c3f7fff2-7be8-4204-90e4-95219ea9714a.aspx</comments>
      <category>Computers - .NET</category>
    </item>
    <item>
      <trackback:ping>http://blogs.phiner.co.nz/Trackback.aspx?guid=7caf799e-c138-4ef8-9adc-db629fb6e1c2</trackback:ping>
      <pingback:server>http://blogs.phiner.co.nz/pingback.aspx</pingback:server>
      <pingback:target>http://blogs.phiner.co.nz/PermaLink,guid,7caf799e-c138-4ef8-9adc-db629fb6e1c2.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.phiner.co.nz/CommentView,guid,7caf799e-c138-4ef8-9adc-db629fb6e1c2.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.phiner.co.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=7caf799e-c138-4ef8-9adc-db629fb6e1c2</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <title>Virtual Server 2005 Playtime</title>
      <guid>http://blogs.phiner.co.nz/PermaLink,guid,7caf799e-c138-4ef8-9adc-db629fb6e1c2.aspx</guid>
      <link>http://blogs.phiner.co.nz/PermaLink,guid,7caf799e-c138-4ef8-9adc-db629fb6e1c2.aspx</link>
      <pubDate>Fri, 02 Sep 2005 01:51:00 GMT</pubDate>
      <description>&lt;p&gt;
   Well I am about to begin my journey into VS.NET 2005 and SQL Server 2005 using Virtual
   Server to host my development environment. Here is a quick tip just incase you have
   some issues getting the server up and running. 
&lt;/p&gt;
&lt;p&gt;
   When attempting to fire up the Virtual Machine Remote Control (VMRC) Server and you
   keep getting 'Virtual Server could not start the VMRC server. Another server may be
   using the selected TCP/IP port.' run the following command to check which application
   is hogging the tcp/ip port 5900 
&lt;/p&gt;
&lt;p&gt;
   From Steve Radich blog &lt;a href="http://www.aspdeveloper.net/tiki-view_blog_post.php?blogId=4&amp;postId=8" target="#"&gt;Permalink&lt;/a&gt;
   &lt;br&gt;
   To display the listening ports on a server you can do (From a command prompt):&lt;br&gt;
   &lt;br&gt;
   netstat -ano | find ""&lt;br&gt;
   &lt;br&gt;
   For example the newsgroup post is about virtual server which uses port 5900. You could
   do:&lt;br&gt;
   &lt;br&gt;
   netstat -ano | find "5900"&lt;br&gt;
   &lt;br&gt;
   This would return something like:&lt;br&gt;
   &lt;br&gt;
   TCP 0.0.0.0:5900 0.0.0.0:0 LISTENING 320 
   &lt;br&gt;
   &lt;br&gt;
   You can then launch Task Manager and find that task ID. If Task Manager doesn't show
   the process id column then you can (in task manager) go to View - Select Columns -
   PID (Process Identifier). 
   &lt;br&gt;
   &lt;br&gt;
   Thanks Steve 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.phiner.co.nz/aggbug.ashx?id=7caf799e-c138-4ef8-9adc-db629fb6e1c2" /&gt;</description>
      <comments>http://blogs.phiner.co.nz/CommentView,guid,7caf799e-c138-4ef8-9adc-db629fb6e1c2.aspx</comments>
      <category>Computers - .NET;Computers - General</category>
    </item>
    <item>
      <trackback:ping>http://blogs.phiner.co.nz/Trackback.aspx?guid=e8a59747-a31e-47ae-b885-f9a992e4c90b</trackback:ping>
      <pingback:server>http://blogs.phiner.co.nz/pingback.aspx</pingback:server>
      <pingback:target>http://blogs.phiner.co.nz/PermaLink,guid,e8a59747-a31e-47ae-b885-f9a992e4c90b.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.phiner.co.nz/CommentView,guid,e8a59747-a31e-47ae-b885-f9a992e4c90b.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.phiner.co.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=e8a59747-a31e-47ae-b885-f9a992e4c90b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      If your trying to get the WSE 2.0 samples setup then you will find these links most
      helpful. I have been using these to get the “AsymmetricEncryption“ sample
      up and running on Windows 2000 Professional.
   </p>
        <p>
          <a href="http://pluralsight.com/blogs/aaron/archive/2004/07/13/1623.aspx">http://pluralsight.com/blogs/aaron/archive/2004/07/13/1623.aspx</a>
        </p>
        <p>
          <a href="http://hyperthink.net/blog/PermaLink,guid,d453be63-5389-450b-8bae-81113fa188f4.aspx">http://hyperthink.net/blog/PermaLink,guid,d453be63-5389-450b-8bae-81113fa188f4.aspx</a>
        </p>
        <p>
      I also found that on Windows 2000 Professional that there is no "Other People Store"
      and the advice to use IE to import the Public Portion of the Server key does not work.
      To get around this I simply added the “Server Public.cer“ to “Current
      User\Personal“ and the samples work as is with no code changes.
   </p>
        <p>
      If you attempt to import the public portion cert “Server Public.cer“ to
      another location i.e. “Current User\Trusted People“ you will get
      policy errors such as “WSE405: A satisfactory subset of policy assertions that
      could be enforced for the outgoing message could not be found.“. This is basically
      caused due to the fact that the certificate specified in your policyCache.config can
      not be found.
   </p>
        <p>
      Another handy tip is to ensure you have diagnostics policy tracing set to on,
      this will generate a “SendPolicy.webinfo“ file in your client bin directory
      with details of any errors. It will provide you with handy information such as:
   </p>
        <p>
          <font face="Courier New" color="#008000" size="1">&lt;wset:message action="http://stockservice.contoso.com/wse/samples/2003/06/StockQuoteRequest"
      messageId="uuid:e8c0df94-bc61-4430-bcc6-a97fd4018192" appDomain="AsymEncryptPolicyClient.exe"
      time="2005-08-18T11:21:53.1093750+12:00"&gt;<br />
      &lt;wset:compile qname="wsp:Policy" wsu:Id="#Encrypt-X.509" usage="Required" canEnforce="false"&gt;<br />
      &lt;wset:compile qname="wssp:Confidentiality" usage="Required" canEnforce="false"&gt;<br />
      &lt;wset:annotation&gt;ISecurityTokenManager.PermitsPolicyEnforcementTokenCaching
      is set to true in the token manager registered for this token type. A token will be
      loaded from the token manager and cached for subsequent message enforcement.&lt;/wset:annotation&gt;<br />
      &lt;wset:annotation&gt;Invoking ISecurityTokenManager.LoadTokenFromSecurityTokenAssertion
      from the token manager registered for this token type.&lt;/wset:annotation&gt;<br />
      &lt;wset:annotation&gt;Could not find a security token.&lt;/wset:annotation&gt;<br />
      &lt;wset:annotation&gt;Looking for a satisfactory token in the current message's token
      collection...&lt;/wset:annotation&gt;<br />
      &lt;wset:annotation&gt;Looking for a satisfactory token in policy enforcement token
      cache...&lt;/wset:annotation&gt;<br />
      &lt;wset:annotation&gt;ISecurityTokenManager.PermitsPolicyEnforcementTokenCaching
      is set to true in the token manager registered for this token type. Attempting to
      use the previously cached token...&lt;/wset:annotation&gt;<br />
      &lt;wset:annotation&gt;Invoking ISecurityTokenManager.LoadTokenFromSecurityTokenAssertion
      from the token manager registered for this token type.&lt;/wset:annotation&gt;<br />
      &lt;wset:annotation&gt;Could not find a security token.&lt;/wset:annotation&gt;<br />
      &lt;/wset:compile&gt;<br />
      &lt;/wset:compile&gt;<br />
      &lt;/wset:message&gt;</font>
        </p>
        <img width="0" height="0" src="http://blogs.phiner.co.nz/aggbug.ashx?id=e8a59747-a31e-47ae-b885-f9a992e4c90b" />
      </body>
      <title>Installing the WSE 2.0 Sample Certificates </title>
      <guid>http://blogs.phiner.co.nz/PermaLink,guid,e8a59747-a31e-47ae-b885-f9a992e4c90b.aspx</guid>
      <link>http://blogs.phiner.co.nz/PermaLink,guid,e8a59747-a31e-47ae-b885-f9a992e4c90b.aspx</link>
      <pubDate>Wed, 17 Aug 2005 23:14:00 GMT</pubDate>
      <description>&lt;p&gt;
   If your trying to get the WSE 2.0 samples setup then you will find these links most
   helpful. I have been using these to get the &amp;#8220;AsymmetricEncryption&amp;#8220; sample
   up and running on Windows 2000 Professional.
&lt;/p&gt;
&lt;p&gt;
   &lt;a href="http://pluralsight.com/blogs/aaron/archive/2004/07/13/1623.aspx"&gt;http://pluralsight.com/blogs/aaron/archive/2004/07/13/1623.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;a href="http://hyperthink.net/blog/PermaLink,guid,d453be63-5389-450b-8bae-81113fa188f4.aspx"&gt;http://hyperthink.net/blog/PermaLink,guid,d453be63-5389-450b-8bae-81113fa188f4.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
   I also found that on Windows 2000 Professional that there is no "Other People Store"
   and the advice to use IE to import the Public Portion of the Server key does not work.
   To get around this I simply added the &amp;#8220;Server Public.cer&amp;#8220; to &amp;#8220;Current
   User\Personal&amp;#8220; and the samples work as is with no code changes.
&lt;/p&gt;
&lt;p&gt;
   If you attempt to import the public portion cert &amp;#8220;Server Public.cer&amp;#8220; to
   another location i.e. &amp;#8220;Current User\Trusted People&amp;#8220;&amp;nbsp;you will get
   policy errors such as &amp;#8220;WSE405: A satisfactory subset of policy assertions that
   could be enforced for the outgoing message could not be found.&amp;#8220;. This is basically
   caused due to the fact that the certificate specified in your policyCache.config can
   not be found.
&lt;/p&gt;
&lt;p&gt;
   Another handy tip is to ensure you have diagnostics policy&amp;nbsp;tracing set to on,
   this will generate a &amp;#8220;SendPolicy.webinfo&amp;#8220; file in your client bin directory
   with details of any errors. It will provide you with handy information such as:
&lt;/p&gt;
&lt;p&gt;
   &lt;font face="Courier New" color=#008000 size=1&gt;&amp;lt;wset:message action="http://stockservice.contoso.com/wse/samples/2003/06/StockQuoteRequest"
   messageId="uuid:e8c0df94-bc61-4430-bcc6-a97fd4018192" appDomain="AsymEncryptPolicyClient.exe"
   time="2005-08-18T11:21:53.1093750+12:00"&amp;gt;&lt;br&gt;
   &amp;lt;wset:compile qname="wsp:Policy" wsu:Id="#Encrypt-X.509" usage="Required" canEnforce="false"&amp;gt;&lt;br&gt;
   &amp;lt;wset:compile qname="wssp:Confidentiality" usage="Required" canEnforce="false"&amp;gt;&lt;br&gt;
   &amp;lt;wset:annotation&amp;gt;ISecurityTokenManager.PermitsPolicyEnforcementTokenCaching
   is set to true in the token manager registered for this token type. A token will be
   loaded from the token manager and cached for subsequent message enforcement.&amp;lt;/wset:annotation&amp;gt;&lt;br&gt;
   &amp;lt;wset:annotation&amp;gt;Invoking ISecurityTokenManager.LoadTokenFromSecurityTokenAssertion
   from the token manager registered for this token type.&amp;lt;/wset:annotation&amp;gt;&lt;br&gt;
   &amp;lt;wset:annotation&amp;gt;Could not find a security token.&amp;lt;/wset:annotation&amp;gt;&lt;br&gt;
   &amp;lt;wset:annotation&amp;gt;Looking for a satisfactory token in the current message's token
   collection...&amp;lt;/wset:annotation&amp;gt;&lt;br&gt;
   &amp;lt;wset:annotation&amp;gt;Looking for a satisfactory token in policy enforcement token
   cache...&amp;lt;/wset:annotation&amp;gt;&lt;br&gt;
   &amp;lt;wset:annotation&amp;gt;ISecurityTokenManager.PermitsPolicyEnforcementTokenCaching
   is set to true in the token manager registered for this token type. Attempting to
   use the previously cached token...&amp;lt;/wset:annotation&amp;gt;&lt;br&gt;
   &amp;lt;wset:annotation&amp;gt;Invoking ISecurityTokenManager.LoadTokenFromSecurityTokenAssertion
   from the token manager registered for this token type.&amp;lt;/wset:annotation&amp;gt;&lt;br&gt;
   &amp;lt;wset:annotation&amp;gt;Could not find a security token.&amp;lt;/wset:annotation&amp;gt;&lt;br&gt;
   &amp;lt;/wset:compile&amp;gt;&lt;br&gt;
   &amp;lt;/wset:compile&amp;gt;&lt;br&gt;
   &amp;lt;/wset:message&amp;gt;&lt;/font&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.phiner.co.nz/aggbug.ashx?id=e8a59747-a31e-47ae-b885-f9a992e4c90b" /&gt;</description>
      <comments>http://blogs.phiner.co.nz/CommentView,guid,e8a59747-a31e-47ae-b885-f9a992e4c90b.aspx</comments>
      <category>Computers - .NET</category>
    </item>
    <item>
      <trackback:ping>http://blogs.phiner.co.nz/Trackback.aspx?guid=f672a9fa-aee8-460e-a381-4129b600532d</trackback:ping>
      <pingback:server>http://blogs.phiner.co.nz/pingback.aspx</pingback:server>
      <pingback:target>http://blogs.phiner.co.nz/PermaLink,guid,f672a9fa-aee8-460e-a381-4129b600532d.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.phiner.co.nz/CommentView,guid,f672a9fa-aee8-460e-a381-4129b600532d.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.phiner.co.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=f672a9fa-aee8-460e-a381-4129b600532d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      On a course I saw this very cool SysInternals tool being used on the class desktops
      that display the systems configuration information. Very nifty, new and cool, very
      geeky. Check it out.
   </p>
        <p>
          <a href="http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml" target="#">http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml</a>
        </p>
        <img width="0" height="0" src="http://blogs.phiner.co.nz/aggbug.ashx?id=f672a9fa-aee8-460e-a381-4129b600532d" />
      </body>
      <title>Background Configuration Display</title>
      <guid>http://blogs.phiner.co.nz/PermaLink,guid,f672a9fa-aee8-460e-a381-4129b600532d.aspx</guid>
      <link>http://blogs.phiner.co.nz/PermaLink,guid,f672a9fa-aee8-460e-a381-4129b600532d.aspx</link>
      <pubDate>Thu, 21 Apr 2005 05:55:00 GMT</pubDate>
      <description>&lt;p&gt;
   On a course I saw this very cool SysInternals tool being used on the class desktops
   that display the systems configuration information. Very nifty, new and cool, very
   geeky. Check it out.
&lt;/p&gt;
&lt;p&gt;
   &lt;a href=http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml target="#"&gt;http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.phiner.co.nz/aggbug.ashx?id=f672a9fa-aee8-460e-a381-4129b600532d" /&gt;</description>
      <comments>http://blogs.phiner.co.nz/CommentView,guid,f672a9fa-aee8-460e-a381-4129b600532d.aspx</comments>
      <category>Computers - .NET;Computers - General</category>
    </item>
    <item>
      <trackback:ping>http://blogs.phiner.co.nz/Trackback.aspx?guid=8e04638a-e5b7-4e32-86db-13f2959cb5d2</trackback:ping>
      <pingback:server>http://blogs.phiner.co.nz/pingback.aspx</pingback:server>
      <pingback:target>http://blogs.phiner.co.nz/PermaLink,guid,8e04638a-e5b7-4e32-86db-13f2959cb5d2.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.phiner.co.nz/CommentView,guid,8e04638a-e5b7-4e32-86db-13f2959cb5d2.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.phiner.co.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=8e04638a-e5b7-4e32-86db-13f2959cb5d2</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Ok, I fixed the first issue with P&amp;P installation, then I had to deal with this
      next one.....
   </p>
        <font face="Courier New" color="#008000" size="2">
          <ul>
            <li>
         Failed to create instances of performance counter '# of Connections Opened/Sec' -
         Couldn't get process information from remote machine.. 
      </li>
            <li>
         Failed to create instances of performance counter 'Total Command Executions' - Couldn't
         get process information from remote machine.. 
      </li>
            <li>
         Failed to create instances of performance counter 'Average Command Execution Time'
         - Couldn't get process information from remote machine..</li>
          </ul>
        </font>
        <p>
      Well it seems this is a permissions related error and it will cause the DAAB (Data
      Access Block) to fail when attempting to log instrumentation information. I found
      this helpful FAQ via MSDN on adding your process user to the correct security groups.
   </p>
        <p>
          <a href="http://msdn.microsoft.com/netframework/programming/bcl/faq/SystemDiagnosticsProcessFAQ.aspx#Question8">http://msdn.microsoft.com/netframework/programming/bcl/faq/SystemDiagnosticsProcessFAQ.aspx#Question8</a>
        </p>
        <p>
          <a name="Question7">
            <b>How do I use the Process class under a non-admin account?</b>
          </a>
          <br />
          <a name="Answer7">
          </a>From Windows Server 2003, you will get an exception if you try
      to get process performance information under a non-admin account. The workaround is
      to add that account into the Performance Counter Users Group. 
   </p>
        <img width="0" height="0" src="http://blogs.phiner.co.nz/aggbug.ashx?id=8e04638a-e5b7-4e32-86db-13f2959cb5d2" />
      </body>
      <title>Production Deployments of Patterns &amp; Practices Enterprise Libraries Pt 2</title>
      <guid>http://blogs.phiner.co.nz/PermaLink,guid,8e04638a-e5b7-4e32-86db-13f2959cb5d2.aspx</guid>
      <link>http://blogs.phiner.co.nz/PermaLink,guid,8e04638a-e5b7-4e32-86db-13f2959cb5d2.aspx</link>
      <pubDate>Mon, 11 Apr 2005 02:19:00 GMT</pubDate>
      <description>&lt;p&gt;
   Ok, I fixed the first issue with P&amp;amp;P installation, then I had to deal with this
   next one.....
&lt;/p&gt;
&lt;font face="Courier New" color=#008000 size=2&gt; 
&lt;ul&gt;
   &lt;li&gt;
      Failed to create instances of performance counter '# of Connections Opened/Sec' -
      Couldn't get process information from remote machine.. 
   &lt;li&gt;
      Failed to create instances of performance counter 'Total Command Executions' - Couldn't
      get process information from remote machine.. 
   &lt;li&gt;
      Failed to create instances of performance counter 'Average Command Execution Time'
      - Couldn't get process information from remote machine..&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt; 
&lt;p&gt;
   Well it seems this is a permissions related error and it will cause the DAAB (Data
   Access Block) to fail when attempting to log instrumentation information. I found
   this helpful FAQ via MSDN on adding your process user to the correct security groups.
&lt;/p&gt;
&lt;p&gt;
   &lt;a href="http://msdn.microsoft.com/netframework/programming/bcl/faq/SystemDiagnosticsProcessFAQ.aspx#Question8"&gt;http://msdn.microsoft.com/netframework/programming/bcl/faq/SystemDiagnosticsProcessFAQ.aspx#Question8&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;a name=Question7&gt;&lt;b&gt;How do I use the Process class under a non-admin account?&lt;/b&gt;&lt;/a&gt;
   &lt;br&gt;
   &lt;a name=Answer7&gt;&lt;/a&gt;From Windows Server 2003, you will get an exception if you try
   to get process performance information under a non-admin account. The workaround is
   to add that account into the Performance Counter Users Group. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.phiner.co.nz/aggbug.ashx?id=8e04638a-e5b7-4e32-86db-13f2959cb5d2" /&gt;</description>
      <comments>http://blogs.phiner.co.nz/CommentView,guid,8e04638a-e5b7-4e32-86db-13f2959cb5d2.aspx</comments>
      <category>Computers - .NET</category>
    </item>
    <item>
      <trackback:ping>http://blogs.phiner.co.nz/Trackback.aspx?guid=86b5263e-0567-4171-be33-2235d2fa0d1e</trackback:ping>
      <pingback:server>http://blogs.phiner.co.nz/pingback.aspx</pingback:server>
      <pingback:target>http://blogs.phiner.co.nz/PermaLink,guid,86b5263e-0567-4171-be33-2235d2fa0d1e.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.phiner.co.nz/CommentView,guid,86b5263e-0567-4171-be33-2235d2fa0d1e.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.phiner.co.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=86b5263e-0567-4171-be33-2235d2fa0d1e</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Here is a tip for anyone out there searching to deal with errors associated with Patterns
      &amp; Practices Enterprise Library installservices.bat failures. If you are getting
      tonnes of errors like the following in you event log after attempting to deploy to
      your test or production server:
   </p>
        <p>
          <font face="Courier New" color="#008000" size="2">Enterprise Library Instrumentation<br />
      Failed to fire the WMI event 'DataConnectionOpenedEvent'. Exception: System.Exception:
      This schema for this assembly has not been registered with WMI.</font>
        </p>
        <p>
      Basically this caused by the annoying script installservices.bat requiring VS.NET
      installed on your production machine, it doesn't take much to notice what is wrong
      with that statement does it. Anyway, after reading on Tom Hollanders P&amp;P evangalist
      blog you really only need access too installutil to register the common classes with
      WMI. The bat script below should solve your problems, for this to work you need to
      copy all the compiled assemblies from you development “C:\Program
      Files\Microsoft Enterprise Library\bin“ to your production\test servers.
   </p>
        <p>
          <a href="http://blogs.msdn.com/tomholl/archive/2005/02/18/376187.aspx">http://blogs.msdn.com/tomholl/archive/2005/02/18/376187.aspx</a>
        </p>
        <p>
      Also check out some good pointers on Jans blog <a href="http://weblogs.asp.net/jan/archive/2005/02/23/379089.aspx">http://weblogs.asp.net/jan/archive/2005/02/23/379089.aspx</a></p>
        <p>
      Finally someone has actually found something useful on my blog =) But have also pointed
      out some issues, in this batch file you will need to update the base directory to
      C:\Windows for XP and C:\WINNT for Win2K3. Cheers <a href="http://hilton.giesenow.com/" target="_blank">Hilton
      Giesenow</a></p>
        <p>
          <font face="Courier New" color="#008000" size="2">cd C:\WINNT\Microsoft.NET\Framework\v1.1.4322</font>
        </p>
        <p>
          <font face="Courier New" color="#008000" size="2">installutil "C:\Program Files\Microsoft
      Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Common.dll"<br />
      installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Caching.dll"<br />
      installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Configuration.dll"<br />
      installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll"<br />
      installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Data.dll"<br />
      installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll"<br />
      installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Logging.dll"<br />
      installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Security.dll"</font>
        </p>
        <p>
          <font face="Courier New" color="#008000" size="2">PAUSE</font>
        </p>
        <img width="0" height="0" src="http://blogs.phiner.co.nz/aggbug.ashx?id=86b5263e-0567-4171-be33-2235d2fa0d1e" />
      </body>
      <title>Production Deployments of Patterns &amp; Practices Enterprise Libraries</title>
      <guid>http://blogs.phiner.co.nz/PermaLink,guid,86b5263e-0567-4171-be33-2235d2fa0d1e.aspx</guid>
      <link>http://blogs.phiner.co.nz/PermaLink,guid,86b5263e-0567-4171-be33-2235d2fa0d1e.aspx</link>
      <pubDate>Mon, 11 Apr 2005 00:50:00 GMT</pubDate>
      <description>&lt;p&gt;
   Here is a tip for anyone out there searching to deal with errors associated with Patterns
   &amp;amp; Practices Enterprise Library installservices.bat failures. If you are getting
   tonnes of errors like the following in you event log after attempting to deploy to
   your test or production server:
&lt;/p&gt;
&lt;p&gt;
   &lt;font face="Courier New" color=#008000 size=2&gt;Enterprise Library Instrumentation&lt;br&gt;
   Failed to fire the WMI event 'DataConnectionOpenedEvent'. Exception: System.Exception:
   This schema for this assembly has not been registered with WMI.&lt;/font&gt;
&lt;/p&gt;
&gt; 
&lt;p&gt;
   Basically this caused by the annoying script installservices.bat requiring VS.NET
   installed on your production machine, it doesn't take much to notice what is wrong
   with that statement does it. Anyway, after reading on Tom Hollanders P&amp;amp;P evangalist
   blog you really only need access too installutil to register the common classes with
   WMI. The bat script below should solve your problems, for this to work you need to
   copy all the compiled assemblies from you&amp;nbsp;development&amp;nbsp;&amp;#8220;C:\Program
   Files\Microsoft Enterprise Library\bin&amp;#8220; to your production\test servers.
&lt;/p&gt;
&lt;p&gt;
   &lt;a href="http://blogs.msdn.com/tomholl/archive/2005/02/18/376187.aspx"&gt;http://blogs.msdn.com/tomholl/archive/2005/02/18/376187.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
   Also check out some good pointers on Jans blog &lt;a href="http://weblogs.asp.net/jan/archive/2005/02/23/379089.aspx"&gt;http://weblogs.asp.net/jan/archive/2005/02/23/379089.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
   Finally someone has actually found something useful on my blog =) But have also pointed
   out some issues, in this batch file you will need to update the base directory to
   C:\Windows for XP and C:\WINNT for Win2K3. Cheers &lt;a href="http://hilton.giesenow.com/" target=_blank&gt;Hilton
   Giesenow&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;font face="Courier New" color=#008000 size=2&gt;cd C:\WINNT\Microsoft.NET\Framework\v1.1.4322&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;font face="Courier New" color=#008000 size=2&gt;installutil "C:\Program Files\Microsoft
   Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Common.dll"&lt;br&gt;
   installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Caching.dll"&lt;br&gt;
   installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Configuration.dll"&lt;br&gt;
   installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll"&lt;br&gt;
   installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Data.dll"&lt;br&gt;
   installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll"&lt;br&gt;
   installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Logging.dll"&lt;br&gt;
   installutil "C:\Program Files\Microsoft Enterprise Library\bin\Microsoft.Practices.EnterpriseLibrary.Security.dll"&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;font face="Courier New" color=#008000 size=2&gt;PAUSE&lt;/font&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.phiner.co.nz/aggbug.ashx?id=86b5263e-0567-4171-be33-2235d2fa0d1e" /&gt;</description>
      <comments>http://blogs.phiner.co.nz/CommentView,guid,86b5263e-0567-4171-be33-2235d2fa0d1e.aspx</comments>
      <category>Computers - .NET</category>
    </item>
  </channel>
</rss>