<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Extensibility</title><link>http://forums.iis.net/1042.aspx</link><description>Problems developing a IIS 7 module using Native or Managed code - come here for help from the experts.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: IIS 7 WMI buggy</title><link>http://forums.iis.net/thread/1877410.aspx</link><pubDate>Fri, 22 Aug 2008 00:38:40 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1877410</guid><dc:creator>sergeia</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1877410.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1877410</wfw:commentRss><description>&lt;p&gt;We don&amp;#39;t have any way to deliver fixes besides shipping service pack or new release of OS. I hope you understand that there is lot of process involved besides debugging and coding fixes.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--Sergei&lt;/p&gt;</description></item><item><title>Re: IIS 7 WMI buggy</title><link>http://forums.iis.net/thread/1877407.aspx</link><pubDate>Thu, 21 Aug 2008 23:26:20 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1877407</guid><dc:creator>Matibo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1877407.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1877407</wfw:commentRss><description>&lt;p&gt;Are there any solutions out there to fix this problem yet?&lt;/p&gt;
&lt;p&gt;I have the same problem!&lt;/p&gt;
&lt;p&gt;thx for any suggestions!&lt;/p&gt;
&lt;p&gt;Matt&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: IIS 7 WMI buggy</title><link>http://forums.iis.net/thread/1874255.aspx</link><pubDate>Thu, 17 Jul 2008 06:40:07 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1874255</guid><dc:creator>martin07</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1874255.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1874255</wfw:commentRss><description>&lt;p&gt;RE: fix for binding issue, what sort of timeframe are we looking at for a patch?&lt;br /&gt;&lt;br /&gt;Will it be a part of windows update or will I need to wait until sp1 or R2?&lt;/p&gt;</description></item><item><title>Re: IIS 7 WMI buggy</title><link>http://forums.iis.net/thread/1874237.aspx</link><pubDate>Wed, 16 Jul 2008 22:22:07 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1874237</guid><dc:creator>sergeia</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1874237.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1874237</wfw:commentRss><description>&lt;p&gt;You could use winrm with any server local tool that works for you. You could find more information on winrm &lt;a class="" title="here" href="http://blogs.msdn.com/powershell/archive/2007/10/30/winrm-exe.aspx"&gt;here&lt;/a&gt;&amp;nbsp;or &lt;a class="" title="here" href="http://www.microsoft.com/technet/scriptcenter/newswire/winrm.mspx"&gt;here&lt;/a&gt;. You could use appcmd as your server side tool, Information on appcmd is available on &lt;a class="" title="TechNet" href="http://technet2.microsoft.com/windowsserver2008/en/library/ec52c53b-6aff-4d76-995e-3d222588bf321033.mspx?mfr=true"&gt;TechNet&lt;/a&gt; and on this site. If you still cannot get functionality that you need, write script agains AppHost APIs and execute it remotely through winrm. IIS7 doesn&amp;#39;t have XML kind of APIs, and we don&amp;#39;t recommend direct modifications unless you know exactly what are you doing. Configuration is much more than XML configuration files.&lt;/p&gt;
&lt;p&gt;You also could install CTP2 of Powershell, CTP2 of IIS7 Powershell provider and use Powershell remotely. It is probably the most advanced way of dealing with IIS7 administration remotely.&lt;/p&gt;
&lt;p&gt;I already fixed issue with bindings, thanks for pointing to it.&lt;/p&gt;
&lt;p&gt;--Sergei&lt;/p&gt;</description></item><item><title>Re: IIS 7 WMI buggy</title><link>http://forums.iis.net/thread/1874135.aspx</link><pubDate>Wed, 16 Jul 2008 10:23:26 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1874135</guid><dc:creator>martin07</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1874135.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1874135</wfw:commentRss><description>&lt;p&gt;After a couple of weeks of banging my head against the wall i&amp;#39;ve decided to manually edit the applicationHost.config file to implement the broken functionality.&lt;/p&gt;
&lt;p&gt;Which brings me to a question: is there any sort of high-level xml api that is designed to work with the structure used in the IIS config files?&lt;br /&gt;(And allows accessing the files directly?)&lt;br /&gt;&lt;br /&gt;As the format is the same structure as the one used by System.Configuration I thought there would be something derived from that but I haven&amp;#39;t found anything yet.&lt;/p&gt;
&lt;p&gt;(I can&amp;#39;t use the Microsoft.Web.Administration api because it won&amp;#39;t let me specify a custom admin login like WMI does...I wish I could!)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: IIS 7 WMI buggy</title><link>http://forums.iis.net/thread/1873395.aspx</link><pubDate>Tue, 08 Jul 2008 03:18:41 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1873395</guid><dc:creator>martin07</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1873395.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1873395</wfw:commentRss><description>&lt;p&gt;For the second one.&lt;br /&gt;Notes: the class returned by getsection has invalid keys which means they can&amp;#39;t be used to get the class directly (which is needed to update it) below.&lt;br /&gt;&lt;br /&gt;If you look at the keys from GetSection the Path property is &amp;quot;MACHINE/WEBROOT/APPHOST/test3.com&amp;quot; and the Location property is empty.&lt;br /&gt;&lt;br /&gt;The actual class on the other hand (when I find it using CIM Studio) has Path as &amp;quot;MACHINE/WEBROOT/APPHOST&amp;quot; and Location as &amp;quot;test3.com&amp;quot;&lt;br /&gt;&lt;br /&gt;I can edit the values to fix it but that is clearly a hack, so the bug should get fixed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;===================================================&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Setup options&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; cInfo &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; ConnectionOptions&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;cInfo.Timeout = TimeSpan.FromSeconds(10)&lt;/p&gt;
&lt;p&gt;cInfo.Authentication = AuthenticationLevel.PacketPrivacy&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Setup path&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; sScope &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; ManagementScope(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;\\.\root\WebAdministration&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, cInfo)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;sScope.Connect()&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Get site&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; s &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; ManagementObject(sScope, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; ManagementPath(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Site.Name=&amp;#39;test3.com&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;), &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Nothing&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Get the section as returnedSection&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; inParams &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; ManagementBaseObject = s.GetMethodParameters(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;GetSection&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;inParams(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;SectionName&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;) = &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;AnonymousAuthenticationSection&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; outParams &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; ManagementBaseObject = s.InvokeMethod(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;GetSection&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, inParams, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Nothing&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; returnedSection &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; ManagementBaseObject = outParams(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Section&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Now request the section directly using its keys&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; section &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; ManagementObject(sScope, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; ManagementPath(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;AnonymousAuthenticationSection.Path=&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &amp;amp; returnedSection(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Path&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;) &amp;amp; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;#39;,Location=&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &amp;amp; returnedSection(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Location&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;) &amp;amp; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;), &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Nothing&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;section.Get()&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Changing a property is what causes the updating to fail&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;section(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Username&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;) = &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;test&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;section(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Password&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;) = &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;test&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;section.Put()&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: IIS 7 WMI buggy</title><link>http://forums.iis.net/thread/1873394.aspx</link><pubDate>Tue, 08 Jul 2008 03:07:43 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1873394</guid><dc:creator>martin07</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1873394.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1873394</wfw:commentRss><description>&lt;p&gt;For the first one.&lt;br /&gt;Note that I remove the last element from the array and set it.&lt;br /&gt;&lt;br /&gt;This also works if i create a brand new list of bindings from scratch. The WMI provider internally just adds those bindings on to the bindings in the IIS config.&lt;/p&gt;
&lt;p&gt;=============================&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Setup options&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; cInfo &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; ConnectionOptions&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;cInfo.Timeout = TimeSpan.FromSeconds(10)&lt;/p&gt;
&lt;p&gt;cInfo.Authentication = AuthenticationLevel.PacketPrivacy&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Setup path&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; sScope &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; ManagementScope(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;\\.\root\WebAdministration&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, cInfo)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;sScope.Connect()&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Get site&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; s &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; ManagementObject(sScope, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; ManagementPath(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Site.Name=&amp;#39;test3.com&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;), &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Nothing&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Get existing bindings&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; bindings() &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; ManagementBaseObject = s.Properties(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Bindings&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;).Value&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Delete the last 1&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ReDim&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Preserve&lt;/font&gt;&lt;font size="2"&gt; bindings(bindings.Length - 2)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39;Assign the new bindings&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;s.Properties(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Bindings&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;).Value = bindings&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;s.Put()&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: IIS 7 WMI buggy</title><link>http://forums.iis.net/thread/1873367.aspx</link><pubDate>Mon, 07 Jul 2008 18:26:03 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1873367</guid><dc:creator>sergeia</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1873367.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1873367</wfw:commentRss><description>&lt;p&gt;Martin, could you post more context? May be snippet of code that you are using.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sergei&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>IIS 7 WMI buggy</title><link>http://forums.iis.net/thread/1873356.aspx</link><pubDate>Mon, 07 Jul 2008 15:17:40 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1873356</guid><dc:creator>martin07</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1873356.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1873356</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m now convinced that the new IIS 7 WMI provider is full of bugs!&lt;br /&gt;I can&amp;#39;t seem to implement any sort of advanced functionality without it breaking on me...&lt;br /&gt;(Which is probably why the only examples&amp;nbsp;available are for very simple tasks!)&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using System.Management in VB.NET by the way....&lt;/p&gt;
&lt;p&gt;A couple of examples:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Unable to update&amp;nbsp;the &amp;quot;Bindings&amp;quot; property of the Site object &lt;br /&gt;(And perhaps other objects as well)&lt;br /&gt;&lt;/strong&gt;If I remove an item from the array and update it with .Put(). it doesn&amp;#39;t return any errors but then again it doesn&amp;#39;t remove the binding either,&amp;nbsp;it just stays the same.&lt;br /&gt;&lt;br /&gt;Adding items seems to work ok.&lt;br /&gt;&lt;br /&gt;What is stranger is that if I remove an element and add a new one&lt;br /&gt;For example from:&lt;br /&gt;&lt;br /&gt;*:80:test1&lt;br /&gt;*:80:test2&lt;br /&gt;&lt;br /&gt;to:&lt;br /&gt;&lt;br /&gt;*:80:test1&lt;br /&gt;*:80:test3&lt;br /&gt;&lt;br /&gt;and then update it, the resulting bindings&amp;nbsp;become&lt;br /&gt;&lt;br /&gt;*:80:test1&lt;br /&gt;*:80:test2&lt;br /&gt;*:80:test3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Classes returned by GetSection have different Location and Path key properties to the same classes returned via either a query or GetInstances().&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;These Location and Path keys should be fixed so that&amp;nbsp;I can actually use them to get an updateably instance of a class.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Is there someone at Microsoft I should be contacting directly about this?&amp;nbsp;Someone on the IIS team perhaps?&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>