<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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/"><channel><title>Benjamin Guinebertière : KB</title><link>http://blogs.msdn.com/benjguin/archive/tags/KB/default.aspx</link><description>Tags: KB</description><dc:language>fr-FR</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How to expand a VHD disk</title><link>http://blogs.msdn.com/benjguin/archive/2007/10/04/how-to-expand-a-vhd-disk.aspx</link><pubDate>Thu, 04 Oct 2007 23:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5278542</guid><dc:creator>benjguin</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/benjguin/comments/5278542.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benjguin/commentrss.aspx?PostID=5278542</wfw:commentRss><description>&lt;P&gt;&lt;EM&gt;NB, MAR 2009: It was brought to my attention (thanks Fernando) that utilities like VHDResizer (&lt;/EM&gt;&lt;A href="http://vmtoolkit.com/files/default.aspx"&gt;&lt;EM&gt;http://vmtoolkit.com/files/default.aspx&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;)&amp;nbsp;may do the job in a simpler way. I did not check myself.&lt;/EM&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I was working on a Virtual PC 2007 virtual machine with a dynamically expanding disk of a maximum of 16 Gb. &lt;/P&gt;
&lt;P&gt;This disk was the C: system drive on the virtual machine and I was running out of virtual space (I had enough space on the hardware host disk). &lt;/P&gt;
&lt;P&gt;A dynamically expanding disk can only grow to its predefined maximum size. The name comes from the fact that if you store 10Mb in a 16Gb dynamically expanding disk, vhd file size will only be ~10 Mb. You'll find much more at &lt;A href="http://support.microsoft.com/kb/825092/en-us" mce_href="http://support.microsoft.com/kb/825092/en-us"&gt;http://support.microsoft.com/kb/825092/en-us&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;So the virtual guest machine had a 15.5 Gb system drive for a maximum of 16Gb. &lt;/P&gt;
&lt;P&gt;Here is what worked for me. &lt;/P&gt;
&lt;P&gt;Let's call C.vhd the file of the 15.5 Gb C: drive. &lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;shut down the guest virtual machine &lt;/LI&gt;
&lt;LI&gt;Create thru the Virtual Disk Wizard a new dynamically expanding disk with a max size of 100 Gb =&amp;gt; this creates Cbis.vhd with an initial size of a few Kb. &lt;/LI&gt;
&lt;LI&gt;close Virtual PC 2007 &lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;use VHDMount (installed it on my Vista machine from the Virtual Server 2005 SP1 installation) to issue the following commands&lt;BR&gt;(if prompted to format a disk, don't do it, if X: or Y: drives don't get created, don't worry) &lt;/DIV&gt;
&lt;OL&gt;
&lt;LI&gt;vhdmount /m /f C.vhd X &lt;/LI&gt;
&lt;LI&gt;vhdmount /m /f CBis.vhd Y &lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;go to Disk Management (Computer, Manage, Disk Management) on the real Vista machine &lt;/DIV&gt;
&lt;OL&gt;
&lt;LI&gt;assign X: to the disk corresponding to C.vhd if it's not already done &lt;/LI&gt;
&lt;LI&gt;format the disk corresponding to CBis.vhd. NTFS, quick formatting is OK &lt;/LI&gt;
&lt;LI&gt;assign Y: to the disk corresponding to Cbis.vhd if it's not already done &lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;Copy all the files from X: to Y: &lt;/DIV&gt;
&lt;OL&gt;
&lt;LI&gt;robocopy X:\ Y:\ /E /COPYALL /R:5 &lt;/LI&gt;
&lt;LI&gt;Fix any remaining copy issues (for instance ACL not authorizing administrators group to read) &lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;go to Disk Management (Computer, Manage, Disk Management) on the real Vista machine &lt;/DIV&gt;
&lt;OL&gt;
&lt;LI&gt;Mark Y: partition as active &lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;Unmount X: and Y: &lt;/DIV&gt;
&lt;OL&gt;
&lt;LI&gt;vhdmount /u All &lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;
&lt;LI&gt;Change the virtual machine .vmc file (with notepad) and replace C.vhd by Cbis.vhd &lt;/LI&gt;
&lt;LI&gt;Restart virtual machine &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Then you can delete C.vhd and keep CBis.vhd. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5278542" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benjguin/archive/tags/KB/default.aspx">KB</category></item><item><title>MSDTC transaction to a SQL cluster on a different domain</title><link>http://blogs.msdn.com/benjguin/archive/2007/09/17/msdtc-transaction-to-a-sql-cluster-on-a-different-domain.aspx</link><pubDate>Tue, 18 Sep 2007 00:12:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4962594</guid><dc:creator>benjguin</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/benjguin/comments/4962594.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benjguin/commentrss.aspx?PostID=4962594</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://support.microsoft.com/default.aspx/kb/827805/en-us"&gt;http://support.microsoft.com/default.aspx/kb/827805/en-us&lt;/a&gt; explains how to test a distributed transaction scenario between 2 SQL Servers without the need to install DTCPing.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Here is a scenario.
&lt;/p&gt;&lt;p&gt;BTS1 server initiates a distributed transaction on VSQL, a SQL instance hosted on a Windows Cluster having the following characteristics:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;SQLN1 is the first node of the cluster
&lt;/li&gt;&lt;li&gt;SQLN2 is the second node
&lt;/li&gt;&lt;li&gt;&lt;div&gt;The cluster has at least the following two cluster groups
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div&gt;SQL group
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Network Name: VSQL
&lt;/li&gt;&lt;li&gt;SQL Server instance resources (disks, SQL, etc.)
&lt;/li&gt;&lt;li&gt;other resources like IP Address
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Cluster group
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Network Name: VCLUST
&lt;/li&gt;&lt;li&gt;MSDTC resource
&lt;/li&gt;&lt;li&gt;other resources like IP Address, quorum disk etc.
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;BTS1 and the cluster are on two different domains. Among other things, they don't share the same DNS. For instance, BTS1 is BTS1.domain1.net and VSQL is VSQL.domain2.net
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;In order to be able to ping VSQL, you can add an entry in BTS1, in its %windir%\system32\drivers\etc\hosts. file like
&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;lt;ip address&amp;gt;    VSQL
&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;If you only do that, you might end up with an error like
&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;The transaction has already been implicitly or explicitly committed or aborted
&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;In order to have the distributed transaction working, you need the following to be true (this can be done with the hosts. file):
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;BTS1 can ping VSQL
&lt;/li&gt;&lt;li&gt;SQLN1 can ping BTS1
&lt;/li&gt;&lt;li&gt;SQLN2 can ping BTS1
&lt;/li&gt;&lt;li&gt;BTS1 can ping VCLUST
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;NB: names must be the netbios names.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Additional information:
&lt;/p&gt;&lt;ul style="margin-left: 47pt"&gt;&lt;li&gt;&lt;a href="http://support.microsoft.com/default.aspx/kb/899191/en-us"&gt;http://support.microsoft.com/default.aspx/kb/899191/en-us&lt;/a&gt; (New functionality in the Distributed Transaction Coordinator service in Windows Server 2003 Service Pack 1 and in Windows XP Service Pack 2)
&lt;/li&gt;&lt;li&gt;&lt;a href="http://support.microsoft.com/default.aspx/kb/827805/en-us"&gt;http://support.microsoft.com/default.aspx/kb/827805/en-us&lt;/a&gt; (MSDTC fails to mutually authenticate when computers do not run in the same domain)
&lt;/li&gt;&lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4962594" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benjguin/archive/tags/KB/default.aspx">KB</category></item><item><title>ISA Server 2004/2006 would prevent local Windows Update</title><link>http://blogs.msdn.com/benjguin/archive/2007/09/14/isa-server-2004-2006-would-prevent-local-windows-update.aspx</link><pubDate>Fri, 14 Sep 2007 15:10:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4909645</guid><dc:creator>benjguin</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/benjguin/comments/4909645.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benjguin/commentrss.aspx?PostID=4909645</wfw:commentRss><description>&lt;p&gt;From an ISA Server computer, when you try to check Microsoft or Windows Update from IE, you get the initial page, but when you want to check updates you get a 0x80072EFD error.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;To avoid that, configure Internet Explorer proxy to the local ISA Server on the &lt;span style="text-decoration:underline"&gt;Internal&lt;/span&gt; IP Address
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Exemple: your ISA Server has an internal address of 192.168.1.1, go to IE LAN Settings and use 192.168.1.1:8080 as web proxy.
&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4909645" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benjguin/archive/tags/Web+Infrastructure/default.aspx">Web Infrastructure</category><category domain="http://blogs.msdn.com/benjguin/archive/tags/KB/default.aspx">KB</category></item><item><title>Sample Behavior of BizTalk Server 2004 SP1 with .NET Framework 2.0 installed</title><link>http://blogs.msdn.com/benjguin/archive/2007/09/14/sample-behavior-of-biztalk-server-2004-sp1-with-net-framework-2-0-installed.aspx</link><pubDate>Fri, 14 Sep 2007 10:05:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4906313</guid><dc:creator>benjguin</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/benjguin/comments/4906313.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benjguin/commentrss.aspx?PostID=4906313</wfw:commentRss><description>&lt;p&gt;On a test environment, we had this exception on one of the two BizTalk Server 2004 SP1 nodes:
&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. Parameter name: ticks
&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This was a BizTalk Server 2004 event in Application event log
&lt;/p&gt;&lt;p&gt;On the other node, they were .NET Framework 2.0 and BizTalk events (meaning that some code was not correctly written from a multithreading perspective).
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;In fact, what happened was that BizTalk Server 2004 was running on top of .NET Framework 2.0 on one node and on top of .NET Framework 1.1 on the other node. So, an orchestration dehydrating on none node and rehydrating on the other node was just serialized with a Framework and deserialized with another Framework.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Here are two KB articles related to that:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://support.microsoft.com/default.aspx/kb/907262/en-us"&gt;http://support.microsoft.com/default.aspx/kb/907262/en-us&lt;/a&gt; (FIX: You receive an error message when you try to transfer data between an application that runs on the .NET Framework 2.0 and an application that runs on the .NET Framework 1.1)
&lt;/li&gt;&lt;li&gt;&lt;a href="http://support.microsoft.com/kb/841405/en-us"&gt;http://support.microsoft.com/kb/841405/en-us&lt;/a&gt; (BizTalk Server 2004 requires the .NET Framework 1.1)
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Excerpt from KB841405:
&lt;/p&gt;&lt;p style="margin-left: 36pt"&gt;&lt;em&gt;To run BizTalk Server 2004 on a computer that also has the .NET Framework 2.0 installed, upgrade the computer that is running BizTalk Server 2004 to BizTalk Server 2004 SP2. BizTalk Server 2004 is only supported on a computer that has the .NET Framework 2.0 installed if BizTalk Server 2004 SP2 is also installed.
&lt;/em&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4906313" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benjguin/archive/tags/BizTalk+Server+2004/default.aspx">BizTalk Server 2004</category><category domain="http://blogs.msdn.com/benjguin/archive/tags/KB/default.aspx">KB</category></item><item><title>Don't remember connection strings syntax? Use a .UDL file.</title><link>http://blogs.msdn.com/benjguin/archive/2007/04/19/don-t-remember-connection-strings-syntax-use-a-udl-file.aspx</link><pubDate>Fri, 20 Apr 2007 01:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2198249</guid><dc:creator>benjguin</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/benjguin/comments/2198249.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benjguin/commentrss.aspx?PostID=2198249</wfw:commentRss><description>&lt;P&gt;Here is a tip&amp;nbsp;I shared yesterday with a customer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to create a connection string and don't remember the syntax, here is a simple way of achieving your goal.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In a file folder or your Windows desktop, create a text file and rename it myCN.udl (only .udl extension is important)&lt;/LI&gt;
&lt;LI&gt;double click the file&lt;/LI&gt;
&lt;LI&gt;Enter the parameters in the UI&lt;/LI&gt;
&lt;LI&gt;Close the UI&lt;/LI&gt;
&lt;LI&gt;Open myCN.udl with notepad: you get your connection string&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2198249" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benjguin/archive/tags/KB/default.aspx">KB</category></item><item><title>SAP .NET Connector must be installed for all users</title><link>http://blogs.msdn.com/benjguin/archive/2007/01/14/sap-net-connector-must-be-installed-for-all-users.aspx</link><pubDate>Sun, 14 Jan 2007 23:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1466452</guid><dc:creator>benjguin</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/benjguin/comments/1466452.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benjguin/commentrss.aspx?PostID=1466452</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;BizTalk Server 2004 and BizTalk Server 2006 SAP Adapter requires and uses the SAP .NET Connector which is distributed by SAP.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;For BizTalk Server 2006, you need SAP .NET Connecter 1.0.3 Runtime.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;It looks like only the user who installed the SAP .NET Connecter 1.0.3 Runtime can use it, and thus use SAP Adapter.&lt;/SPAN&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;BR&gt;If user X installs SAP .NET Connector (thru setupruntime.msi) and user Y tries to generate a schema from Visual Studio 2005, Y gets an error:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;BR&gt;Add Adapter Wizard&lt;BR&gt;------------------------------------------------------&lt;BR&gt;Unable to display adapter user interface.&lt;BR&gt;SAP .Net connector is not installed&lt;BR&gt;------------------------------------------------------&lt;BR&gt;OK&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;In order to solve the problem, you have to install the SAP .NET Connector for all users. As option doesn’t show up in the GUI, you can do it that way&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;msiexec /i SetupRuntime.msi ALLUSERS=1&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1466452" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benjguin/archive/tags/BizTalk+Server+2006/default.aspx">BizTalk Server 2006</category><category domain="http://blogs.msdn.com/benjguin/archive/tags/BizTalk+Server+2004/default.aspx">BizTalk Server 2004</category><category domain="http://blogs.msdn.com/benjguin/archive/tags/KB/default.aspx">KB</category></item><item><title>Application Pool with a domain user account identity</title><link>http://blogs.msdn.com/benjguin/archive/2006/09/21/765231.aspx</link><pubDate>Fri, 22 Sep 2006 01:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:765231</guid><dc:creator>benjguin</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/benjguin/comments/765231.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benjguin/commentrss.aspx?PostID=765231</wfw:commentRss><description>&lt;U&gt;Context&lt;BR&gt;&lt;BR&gt;&lt;/U&gt;Windows Server 2003 / IIS6&lt;BR&gt;- Virtual Directory running under an application pool with a domain user account identity&lt;BR&gt;- Virtual Directory security is set to Integrated authentication only&lt;BR&gt;- Trying to access this virtual directory from a domain user account (same domain as app pool identity account)&lt;BR&gt;&lt;BR&gt;&lt;SPAN style="TEXT-DECORATION: underline"&gt;Symptoms&lt;/SPAN&gt;&lt;BR&gt;From web server, no pb. &lt;BR&gt;From another machine, domain user is challenged for user name and password and fail in 401. HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials&lt;BR&gt;&lt;BR&gt;&lt;SPAN style="TEXT-DECORATION: underline"&gt;Resolution&lt;BR&gt;&lt;/SPAN&gt;Using NTLM only solves the issue&lt;BR&gt;This can be done with the following command (typically from C:\Inetpub\AdminScripts)&lt;BR&gt;&lt;PRE&gt;cscript adsutil.vbs w3svc/NtAuthenticationProviders "NTLM"&lt;/PRE&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=765231" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benjguin/archive/tags/Web+Infrastructure/default.aspx">Web Infrastructure</category><category domain="http://blogs.msdn.com/benjguin/archive/tags/KB/default.aspx">KB</category></item><item><title>UpdateActivity check points are case sensitive</title><link>http://blogs.msdn.com/benjguin/archive/2006/09/07/744779.aspx</link><pubDate>Thu, 07 Sep 2006 21:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:744779</guid><dc:creator>benjguin</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/benjguin/comments/744779.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benjguin/commentrss.aspx?PostID=744779</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;While using BAM API (with BizTalk Server 2006, but I think it would be the same with BizTalk Server 2004), we received an exception like this:&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;o:p&gt;&lt;FONT face=Verdana size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;o:p&gt;&lt;FONT face=Verdana size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;Failed to execute event.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;Exception type: BAMTraceException&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;Source: Microsoft.BizTalk.Bam.EventObservation&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;Target Site: Boolean PersistNoBatches(System.Data.SqlClient.SqlConnection, Int32)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;The following is a stack trace that identifies the location where the exception occured&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;at Microsoft.BizTalk.Bam.EventObservation.DirectEventStream.PersistNoBatches(SqlConnection connection, Int32 timeoutValue)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;at Microsoft.BizTalk.Bam.EventObservation.DirectEventStream.Flush()&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;at (...)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;Additional error information:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Parameter is not valid.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;Exception type: BAMRuntimeException&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;Source: Microsoft.BizTalk.Bam.EventObservation&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;Target Site: Void GetSqlScriptForActivity(System.IO.TextWriter, System.Data.SqlClient.SqlConnection, System.Data.SqlClient.SqlTransaction)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;The following is a stack trace that identifies the location where the exception occured&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;at Microsoft.BizTalk.Bam.EventObservation.BAMTraceFragment.GetSqlScriptForActivity(TextWriter scriptWriter, SqlConnection connection, SqlTransaction transaction)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;at Microsoft.BizTalk.Bam.EventObservation.BAMTraceFragment.PersistQueryable(SqlConnection connection, SqlTransaction transaction, Int32 timeoutValue)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;at Microsoft.BizTalk.Bam.EventObservation.DirectEventStream.PersistNoBatches(SqlConnection connection, Int32 timeoutValue)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;o:p&gt;&lt;FONT face=Verdana size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;o:p&gt;&lt;FONT face=Verdana size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;o:p&gt;&lt;FONT face=Verdana size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;This came from the fact that we called UpdateActivity with a checkpoint name having a invalid case.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;o:p&gt;&lt;FONT face=Verdana size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;Ex: we called &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;es.UpdateActivity("myActivity", activityID, "myCheckpoint", myCheckPointValue)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;while the name of the checkpoint was myCheckPoint (with an upper case P), not myCheckpoint (lower case p).&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;Changing to &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;es.UpdateActivity("myActivity", activityID, "myCheckPoint", myCheckPointValue) &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=FR style="mso-ansi-language: FR"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;solved the problem.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=744779" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benjguin/archive/tags/BizTalk+Server+2006/default.aspx">BizTalk Server 2006</category><category domain="http://blogs.msdn.com/benjguin/archive/tags/BizTalk+Server+2004/default.aspx">BizTalk Server 2004</category><category domain="http://blogs.msdn.com/benjguin/archive/tags/KB/default.aspx">KB</category></item><item><title>Could not reset IIS, IISAdmin wouldn't start</title><link>http://blogs.msdn.com/benjguin/archive/2006/04/07/570925.aspx</link><pubDate>Fri, 07 Apr 2006 19:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:570925</guid><dc:creator>benjguin</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/benjguin/comments/570925.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benjguin/commentrss.aspx?PostID=570925</wfw:commentRss><description>&lt;P&gt;When trying to start IISAdmin, I get&lt;/P&gt;
&lt;P&gt;---------------------------&lt;BR&gt;Services&lt;BR&gt;---------------------------&lt;BR&gt;Windows could not start the IIS Admin Service on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code -2147417831.&lt;BR&gt;---------------------------&lt;BR&gt;OK&amp;nbsp;&amp;nbsp; &lt;BR&gt;---------------------------&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Event log contains&lt;/P&gt;
&lt;P&gt;Description:&lt;BR&gt;The IIS Admin Service service terminated with service-specific error 2147549465 (0x80010119).&lt;/P&gt;
&lt;P&gt;Killed inetinfo.exe with task manager&lt;/P&gt;
&lt;P&gt;OK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=570925" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benjguin/archive/tags/KB/default.aspx">KB</category></item></channel></rss>