<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Experience is what you get when you don’t get what you want.</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/nitgupta/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/nitgupta/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 05:51:07 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Visual Round Trip Analyzer</title>
      <link>https://docs.microsoft.com/archive/blogs/nitgupta/visual-round-trip-analyzer</link>
      <pubDate>Mon, 30 Aug 2010 00:14:08 GMT</pubDate>
      <dc:creator><![CDATA[Nitgupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitgupta/2010/08/30/visual-round-trip-analyzer/</guid>
      <description><![CDATA[Recently I got introduced to this amazing tool by one of my colleagues and I just want to make sure...]]></description>
      <content:encoded><![CDATA[<p>Recently I got introduced to this amazing tool by one of my colleagues and I just want to make sure I do my bit in spreading&#160; the awareness about this tool.</p>  <p>VRTA is one tool which can help you analyzing and improving the performance of your web site. VRTA examines the communications protocol, identifying the causes of excessive round-trips, and recommending solutions. Performance engineers, testers, developers, operations personnel should use VRTA to conduct their web performance analysis.</p>  <p>In the background VRTA tool captures the NETMON traces and does an automated analyses on the HTTP traffic captured during the collection phase.</p>  <p>VRTA provides a lot of recommendations which can help in improving the website’s end user response time but in this blog I will focus on couple of key points which I found very useful.</p>  <p><strong>Feature number 1</strong></p>  <p>VRTA tool lets you know the Average Compressibility of your website contents even when the contents are not served compressed from the web server. Isn't that cool feature..?</p>  <p>How does VRTA does this?</p>  <p>The VRTA tool compresses every file and then compares the new file size to the original downloaded. The ratio is shown Original KB / compressed KB.</p>  <p>Here is the snapshot of VRTA showing Average Compressibility.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/44/metablogapi/2474.vrta1_2.gif" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-44-metablogapi/2474.vrta1_5F00_2.gif"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="vrta1" border="0" alt="vrta1" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/44/metablogapi/2867.vrta1_thumb.gif" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-44-metablogapi/2867.vrta1_5F00_thumb.gif" width="240" height="150" /></a>&#160;&#160; </p>  <p><strong>Feature number 2</strong></p>  <p>VRTA does a quick analyses on the captured network traces to find out the data packet loss during the communication between client and the server. To do such kind of checks one needs to have an in depth knowledge of analyzing the network traces but using VRTA this can be done automatically.</p>  <p>Recently I have used the VRTA tool to find out the reason of intermittent &quot;Page cannot be displayed” error messages showing up on the client browsers. This issue turned out to be related to packet loss. </p>  <p>Here is a snapshot of the rule which analyze the network traces against the packet loss. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/44/metablogapi/6560.image_2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-44-metablogapi/6560.image_5F00_2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/44/metablogapi/0702.image_thumb.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-44-metablogapi/0702.image_5F00_thumb.png" width="244" height="154" /></a>&#160;</p>  <p>You can download VRTA from the below URL.</p>  <p><a title="https://www.microsoft.com/downloads/details.aspx?FamilyID=119f3477-dced-41e3-a0e7-d8b5cae893a3&amp;displaylang=en" href="https://www.microsoft.com/downloads/details.aspx?FamilyID=119f3477-dced-41e3-a0e7-d8b5cae893a3&amp;displaylang=en">https://www.microsoft.com/downloads/details.aspx?FamilyID=119f3477-dced-41e3-a0e7-d8b5cae893a3&amp;displaylang=en</a></p>]]></content:encoded>
    </item>
    <item>
      <title>ASP.NET 1.1 missing under IIS7 on Windows 2008 x64 server</title>
      <link>https://docs.microsoft.com/archive/blogs/nitgupta/asp-net-1-1-missing-under-iis7-on-windows-2008-x64-server</link>
      <pubDate>Thu, 11 Mar 2010 07:58:05 GMT</pubDate>
      <dc:creator><![CDATA[Nitgupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitgupta/2010/03/11/asp-net-1-1-missing-under-iis7-on-windows-2008-x64-server/</guid>
      <description><![CDATA[In case you are wondering why ASP.NET 1.1 is not listed under the .NET framework version drop down...]]></description>
      <content:encoded><![CDATA[<p>In case you are wondering why ASP.NET 1.1 is not listed under the .NET framework version drop down box while creating a new application pool in IIS7 then you should read this blog.</p>  <p>This is what I am actually talking about…</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/nitgupta/WindowsLiveWriter/ASP.1missingunderIIS7onWindows2008x64ser_100C6/image_2.png" original-url="https://blogs.msdn.com/blogfiles/nitgupta/WindowsLiveWriter/ASP.1missingunderIIS7onWindows2008x64ser_100C6/image_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/nitgupta/WindowsLiveWriter/ASP.1missingunderIIS7onWindows2008x64ser_100C6/image_thumb.png" original-url="https://blogs.msdn.com/blogfiles/nitgupta/WindowsLiveWriter/ASP.1missingunderIIS7onWindows2008x64ser_100C6/image_thumb.png" width="244" height="145" /></a> </p>  <p>So I assume that you have already installed .NET framework 1.1 and .NET 1.1 SP1 on the server but if you haven’t then here are the links to download the same. I am sure all of you might be knowing that Windows server 2008 doesn’t have .NET 1.1 pre-installed like the way it was the case with Windows server 2003. And also .NET 1.1 doesn’t have any 64bit version.</p>  <li>Download .NET Fx 1.1 from <a href="https://www.microsoft.com/downloads/details.aspx?familyid=A8F5654F-088E-40B2-BBDB-A83353618B38&amp;displaylang=en">https://www.microsoft.com/downloads/details.aspx?familyid=A8F5654F-088E-40B2-BBDB-A83353618B38&amp;displaylang=en</a> </li>  <li>Download .NET Fx 1.1 SP1 from <a href="https://www.microsoft.com/downloads/details.aspx?familyid=A8F5654F-088E-40B2-BBDB-A83353618B38&amp;displaylang=en">https://www.microsoft.com/downloads/details.aspx?familyid=A8F5654F-088E-40B2-BBDB-A83353618B38&amp;displaylang=en</a>     <p>&#160;</p>    <p>If .NET 1.1 is installed on the server then in IIS7 you should see an application pool with the name “ASP.NET 1.1” . Also under the ISAPI and CGI restriction feature of IIS7 you should see ASP.NET 1.1 extension listed though it might not be allowed by default.</p>    <p>Now if you go to the application pools tree view option and try to create a new application pool , you will not see .NET 1.1 framework option under the drop down box. </p>    <p>There are couple of ways by which you can either configure an existing or a new application pool to run under ASP.NET 1.1 and here are those.</p>    <p><strong>Method 1</strong>.</p>    <p>Open the ApplicationHost.config file located under the C:\windows\system32\inetsrv\config\ folder and just find the application pool name you are looking to run under .NET 1.1. Suppose the Application Pool Name is “TEST”. This is how the “TEST” application pool element should look like under ApplicationHost.config.</p>    <p>&lt;add name=&quot;Test&quot; enable32BitAppOnWin64=&quot;true&quot; managedRuntimeVersion=&quot;v1.1&quot; managedPipelineMode=&quot;Classic&quot; autoStart=&quot;true&quot; /&gt;</p>    <p>A thing to note here is that application pool configured to run under .NET 1.1 framework will only be allowed to have Classic Pipeline.</p>    <p>Following KB article illustrates this. <a title="https://support.microsoft.com/kb/949353" href="https://support.microsoft.com/kb/949353">https://support.microsoft.com/kb/949353</a></p>    <p><strong>Method 2</strong>.</p>    <p>This is more of a polished way of configuring an application pool to run under .NET 1.1 and is also safer as it avoids directly changing configuration under ApplicationHost.config.</p>    <p>Below are the commands using appcmd.exe tool which would do this. </p>    <blockquote>     <p>&#160;&#160;&#160; appcmd set apppool /apppool.name:&quot;TEST&quot; /enable32BitAppOnWin64:true        <br />&#160;&#160;&#160; appcmd set apppool /apppool.name:&quot;TEST&quot; /managedRuntimeVersion=&quot;v1.1&quot;         <br />&#160;&#160;&#160; appcmd set apppool /apppool.name:&quot;TEST&quot; /managedPipelineMode:&quot;Classic&quot;         <br />&#160;&#160;&#160; appcmd set apppool /apppool.name:&quot;TEST&quot; /autoStart:true</p>   </blockquote>    <p>&#160;</p>    <p>Now you should see the TEST application pool is configured to run under .NET 1.1.</p>    <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/nitgupta/WindowsLiveWriter/ASP.1missingunderIIS7onWindows2008x64ser_100C6/image_4.png" original-url="https://blogs.msdn.com/blogfiles/nitgupta/WindowsLiveWriter/ASP.1missingunderIIS7onWindows2008x64ser_100C6/image_4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/nitgupta/WindowsLiveWriter/ASP.1missingunderIIS7onWindows2008x64ser_100C6/image_thumb_1.png" original-url="https://blogs.msdn.com/blogfiles/nitgupta/WindowsLiveWriter/ASP.1missingunderIIS7onWindows2008x64ser_100C6/image_thumb_1.png" width="244" height="130" /></a> </p>    <p>&#160;</p>    <p>Hope this helps!!!</p>    <p></p>    <p></p> </li>]]></content:encoded>
    </item>
    <item>
      <title>SQL server 2008 backup compression and virtual device interface (VDI)</title>
      <link>https://docs.microsoft.com/archive/blogs/nitgupta/sql-server-2008-backup-compression-and-virtual-device-interface-vdi</link>
      <pubDate>Sun, 21 Feb 2010 20:53:31 GMT</pubDate>
      <dc:creator><![CDATA[Nitgupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitgupta/2010/02/21/sql-server-2008-backup-compression-and-virtual-device-interface-vdi/</guid>
      <description><![CDATA[Few days back one of the SQLDBA asked me a question on SQL server 2008 backup compression to which I...]]></description>
      <content:encoded><![CDATA[<p>Few days back one of the SQLDBA asked me a question on SQL server 2008 backup compression to which I didn’t have the ready answers but now with the help of this blog I would like to share the answer with the larger community.…</p>  <p>Question</p>  <p>At most of the sites the full and differential database backups are done using some kind of third party utilities like VERITAS NETBACKUP, SQL LITESPEED and almost all of these utilities relies of SQLVDI interface to take the backup. I would like to know if there is any way we can force backup compression while the backup is triggered from SQLVDI interface. </p>  <p>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</p>  <p>Since there is not much information available regarding backup compression while the backup is triggered from SQLVDI interface, I got in touch with SQL program managers to find out the answer.</p>  <p>The answer to this question is now blogged at our SQLSTORAGEENGINE blog site. <a title="https://blogs.msdn.com/sqlserverstorageengine/archive/2010/02/21/backup-compression-and-virtual-device-interface-vdi.aspx" href="https://blogs.msdn.com/sqlserverstorageengine/archive/2010/02/21/backup-compression-and-virtual-device-interface-vdi.aspx">https://blogs.msdn.com/sqlserverstorageengine/archive/2010/02/21/backup-compression-and-virtual-device-interface-vdi.aspx</a></p>  <p>If in case you need more information on it , do send me an email or leave a comment.</p>  <p>Hope this helps!!!</p>]]></content:encoded>
    </item>
    <item>
      <title>Can’t connect to Oracle from SSIS/DTS packages or Linked Server on x64 environment</title>
      <link>https://docs.microsoft.com/archive/blogs/nitgupta/cant-connect-to-oracle-from-ssisdts-packages-or-linked-server-on-x64-environment</link>
      <pubDate>Tue, 16 Feb 2010 09:09:42 GMT</pubDate>
      <dc:creator><![CDATA[Nitgupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitgupta/2010/02/16/cant-connect-to-oracle-from-ssisdts-packages-or-linked-server-on-x64-environment/</guid>
      <description><![CDATA[Today I came across a very interesting issue where my customer was not able to connect to Oracle 10G...]]></description>
      <content:encoded><![CDATA[<p>Today I came across a very interesting issue where my customer was not able to connect to Oracle 10G from legacy DTS packages or through linked server from SQL server 2005 32bit version installed on Windows 2003 x64 machine.</p>  <p><strong>Environment details:-</strong></p>  <p>Windows 2003 ENT x64 OS, SQL server 2005 ENT SP3 32bit , Oracle 10G client drivers 32bit</p>  <p><strong>Error Messages:-</strong></p>  <p>ORA-12154: TNS:could not resolve the connect identifier specified.</p>  <p>ORA-06413: Connection not open.</p>  <p><strong>Resolution</strong>:-</p>  <p>This is a very unique issue and is related to the bug available in the oracle 10g client drivers but before i jump to the resolution I must say that we still need do the basic troubleshooting regarding oracle connectivity like creating a UDL file or using the ODBC utility to test the oracle connectivity and rule out any mismatched/or faulty oracle client driver installation issue.</p>  <p>In my case I could connect to the remote Oracle database using a UDL file and from the ODBC 32bit utility, it is only from legacy DTS packages and through the linked server from SQL server 2005 I was not able to connect to the Oracle database.</p>  <p>While I didn’t have lot of information on why the error messages are coming up while connecting Oracle database from SQL server, I went to the Oracle support site to see if there were any known issues.</p>  <p>There I found this link which to my luck has the resolution to this issue.</p>  <p><a title="https://forums.oracle.com/forums/thread.jspa?messageID=1943221" href="https://forums.oracle.com/forums/thread.jspa?messageID=1943221">https://forums.oracle.com/forums/thread.jspa?messageID=1943221</a></p>  <p>According to oracle forum mentioned in the above link there is bug in oracle 10g client driver which is causing this issue.</p>  <p>There is a networking bug in the oracle 10g client driver where the networking layer is unable to parse program locations that contain parenthesis in the path to the executable which is attempting to connect to Oracle.</p>  <p>So in my case the location of SQL server 2005 installation is under&#160; <strong>“C:\Program Files (x86)\...&quot;</strong> and as we can see that the path of the SQL binaries has parenthesis , this would cause oracle client driver to fail to connect to oracle database.</p>  <p>Currently the following patches have been released on Windows by Oracle to fix this issue:</p>  <p>   <br /><strong>Windows 32-bit      <br /></strong>9.2.0.7.0 Patch 6: Apply Patch 4928723 or later     <br />10.2.0.1.0 Patch 4: Apply Patch 4923768 or later     <br />10.2.0.2.0 Patch 5: Apply Patch 5383042 or later     <br />10.2.0.3.0: Apply Patch 5337014 or later</p>  <p>   <br /><strong>Windows 64-bit AMD64 and INTEL EM64T</strong>     <br />10.2.0.1.0 Patch 4: Apply Patch 4923787 or later     <br />10.2.0.2.0 Patch 5: Apply Patch 5388871 or later     <br />10.2.0.3.0: Apply Patch 5337014 or later</p>  <p>But while I was on call with the Oracle support professional to get a confirmation regarding this bug, he suggested me to install the following version of oracle 10g client drivers.</p>  <p>10.2.0.4 ( latest Oracle 10G client driver version)</p>  <p>After installing 10.2.0.4 version of Oracle client 10G driver, we were able to connect to oracle from legacy DTS packages and also from the linked servers using SQL server 2005.</p>  <p>Hope this help!!!</p>]]></content:encoded>
    </item>
    <item>
      <title>Using MSSQL server as a backend database for the Application running on Unix/Linux Server</title>
      <link>https://docs.microsoft.com/archive/blogs/nitgupta/using-mssql-server-as-a-backend-database-for-the-application-running-on-unixlinux-server</link>
      <pubDate>Mon, 08 Feb 2010 23:22:10 GMT</pubDate>
      <dc:creator><![CDATA[Nitgupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitgupta/2010/02/08/using-mssql-server-as-a-backend-database-for-the-application-running-on-unixlinux-server/</guid>
      <description><![CDATA[&#160;  Till few days back I was not aware of fact that there is no MS specific driver which would...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Till few days back I was not aware of fact that there is no MS specific driver which would allow non java based application running on UNIX/LINUX platform to connect to the SQL server hosted on Windows.</p>  <p>And I hope that with this blog post I could help few of you folks to know what are the other available options to connect to SQL server from a UNIX/LINUX platform.</p>  <p>First and foremost I would like to highlight that MS has a JDBC driver which could allow Java based application running on UNIX/LINUX platform to connect to SQL server.</p>  <p>The SQL Server JDBC Driver is available to all SQL Server users at no additional charge, and provides access to SQL Server 2000, SQL Server 2005, and SQL Server 2008 from any Java application, application server, or Java-enabled applet. This driver is a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs) available in Java Platform Enterprise Edition 5 (Java EE 5).</p>  <p>For more information on SQL server JDBC driver please click on the following link.</p>  <p><a href="https://msdn.microsoft.com/en-us/data/aa937724.aspx">Microsoft SQL Server JDBC Driver</a>.</p>  <p><strong>Connectivity options for non java based applications running on UNIX/LINUX platform.</strong></p>  <p>In a scenario where customer wants to connect to a SQL server from a PERL/C++ application running on UNIX box, there are few things to consider before the search begins for the appropriate connectivity driver.</p>  <p><strong>Case 1: Interoperating an ODBC DBD Application</strong></p>  <p>If the original C++/PERL application was written using ODBC DBD, then the best migration option is to continue to use this driver. Because ODBC is not database-specific, no changes should need to be made to the application's source code. The only changes that need to be made concern connectivity with the SQL Server database.</p>  <p>The DBD::ODBC module requires a driver manager and a driver to interact with SQL Server. DBD::ODBC is packaged with the Independent ODBC (iODBC) driver manager from OpenLink Software (<a href="https://www.openlinksw.com/">https://www.openlinksw.com/</a>). For more information about this driver, refer to <a href="https://www.freetds.org/userguide/perl.htm#DBD.ODBC">https://www.freetds.org/userguide/perl.htm#DBD.ODBC</a>. Another driver manager, unixODBC, that could be used in an interoperation scenario is available from <a href="https://www.freetds.org/userguide/prepodbc.htm">https://www.freetds.org/userguide/prepodbc.htm</a>.</p>  <p><strong></strong></p>  <p><strong>Case 2: Interoperating an Oracle DBD Application</strong></p>  <p>If the original application was written using the Oracle DBD, there are two possible options that can be evaluated. The recommended option is to replace the Oracle DBD with a Sybase DBD. The second option is to migrate to an ODBC framework similar to the one seen in &quot;Case 1: Interoperating an ODBC DBD Application.&quot; Sybase DBD offers better performance than ODBC.</p>  <p>&#160;</p>  <p><strong>For more information on both Case 1 and Case 2, please click on the following link.</strong></p>  <p><a title="https://technet.microsoft.com/en-us/library/bb497071.aspx" href="https://technet.microsoft.com/en-us/library/bb497071.aspx">https://technet.microsoft.com/en-us/library/bb497071.aspx</a></p>  <p>Hope this helps,</p>]]></content:encoded>
    </item>
    <item>
      <title>NMCAP – A NETMON 3.3 COMMAND LINE CAPTURE TOOL</title>
      <link>https://docs.microsoft.com/archive/blogs/nitgupta/nmcap-a-netmon-3-3-command-line-capture-tool</link>
      <pubDate>Sun, 31 Jan 2010 05:42:45 GMT</pubDate>
      <dc:creator><![CDATA[Nitgupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitgupta/2010/01/31/nmcap-a-netmon-3-3-command-line-capture-tool/</guid>
      <description><![CDATA[This is an informational post to spread awareness about a new command line tool called NMCAP which...]]></description>
      <content:encoded><![CDATA[<p>This is an informational post to spread awareness about a new command line tool called NMCAP which is available with NETMON 3.3. This is really a handy command line tool which can do almost everything that can be done with NETMON 3.3 UI. Despite of being highly capable in capturing all kind of network traffic&#160; NMCAP uses minimal resources on the production systems when compared to NETMON 3.3 UI. </p>  <p>In scenarios where load is something to consider , use NMCAP to capture network data. </p>  <p>Some of the features for NMCAP</p>  <p>—Highest Capture Performance </p>  <p>—/Examples for Help </p>  <p>—Can Run for Days with No Problems </p>  <p>—Circular and Chain Capture Support </p>  <p>—Automatable </p>  <p>Example Usage:    <br />&#160; Example 1: </p>  <p>This example starts capturing all TCP frames and will be saved in a capture file name tcp.cap. If you want to stop capturing, Press Control+C. </p>  <p><strong><em>nmcap /network * /capture tcp /File tcp.cap</em></strong> </p>  <p>&#160; Example 2: </p>  <p>This example starts capturing network frames at 3:17 PM on JAN 31, 2010. ALL the HTTP frames that contains keyword “localhost” in the URI property of the HTTP protocol. The size of the capture file will not exceed 6 megabytes and will create a chained capture files named HTTP.cap, HTTP(1).cap, HTTP(2).cap. If the user presses x at any time during this capture, the program will terminate, otherwise the capture will stop 10 minutes after it has begun. </p>  <p><em><strong>nmcap /network * /startwhen /time 3:17:00PM 01/31/10 /capture contains(HTTP.Request.URI,’localhost') /file HTTP.chn:6M /stopwhen /timeafter 10Min /TerminateWhen /KeyPress x</strong></em> </p>  <p>NMCAP can easily be scriptable in a batch file and this makes the tool highly automatable, even the pre-configured batch files can be provided to the customer to capture the network data from the production servers. </p>  <p>For more information on NMCAP check out the following link.. </p>  <p><a title="https://blogs.technet.com/netmon/archive/2006/10/24/nmcap-the-easy-way-to-automate-capturing.aspx" href="https://blogs.technet.com/netmon/archive/2006/10/24/nmcap-the-easy-way-to-automate-capturing.aspx">https://blogs.technet.com/netmon/archive/2006/10/24/nmcap-the-easy-way-to-automate-capturing.aspx</a> </p>  <p>Hope this helps…..</p>]]></content:encoded>
    </item>
    <item>
      <title>What does it take to monitor servers in workgroup from SCOM</title>
      <link>https://docs.microsoft.com/archive/blogs/nitgupta/what-does-it-take-to-monitor-servers-in-workgroup-from-scom</link>
      <pubDate>Mon, 28 Sep 2009 13:42:41 GMT</pubDate>
      <dc:creator><![CDATA[Nitgupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitgupta/2009/09/28/what-does-it-take-to-monitor-servers-in-workgroup-from-scom/</guid>
      <description><![CDATA[To configure SCOM server to monitor the stand-alone servers in the workgroup , you must follow the...]]></description>
      <content:encoded><![CDATA[<p>To configure SCOM server to monitor the stand-alone servers in the workgroup , you must follow the following steps.</p>  <p>1) First and foremost make sure that you have access to a root certification authority and you must be able to create client and server certificates. If in case you don’t have a root CA available in your network then get one installed preferably on a separate server discounting the RMS or MS server. The root CA could either be a stand-alone or enterprise CA.</p>  <p>2) Now since we have access to a CA, browse to the following URL from the agent managed workgroup computer. <a href="https://certificatio_authority_server/certsrv">https://certificatio_authority_server/certsrv</a>.&#160; </p>  <blockquote>   <p>a. Click download a CA certificate, certificate chain , or CRL.</p>    <p>b. Click Download CA certificate chain.</p> </blockquote>  <p><strong>Tip</strong>:- If in case you are not able to access the above HTTP URL don’t be upset, there is another way out by which you can still be copy the CA certificate chain on the workgroup computer. Just go to the C:\WINDOWS\system32\certsrv directory on the CA server and copy the certnew.p7b file from this folder to the server in the workgroup.</p>  <p>3) Import the above certificate under the trusted root certificate authority. The only thing to remember here is that while opening the certificate MMC, you choose COMPUTER account instead of other two options.</p>  <p>4) At this point of time we need to generate a certificate for the server in the workgroup. There are several ways by which you can generate a certificate but I would recommend you following the steps documented under the following KB article.</p>  <p>To request a certificate from a stand-alone CA</p>  <p><a href="https://technet.microsoft.com/en-us/library/bb735417.aspx">https://technet.microsoft.com/en-us/library/bb735417.aspx</a></p>  <p><strong>Note</strong>:- Please make sure that you also generate a server certificates for the RMS , MS servers as we need to import these certificates under different zones on the servers. The steps would be same to generate the server certificates for RMS, MS, workgroup servers.</p>  <p>5) Now since we have imported both CA certificate chain and server certificate under the respective zone on the workgroup computer , it is time to import the server certificate into another zone using the <strong>MOMCERTIMPORT</strong> tool (\SupportTools\i386) . But before this we need to get the server certificate exported with its private key. And also we need to get the server certificate exported with its private key on the RMS server as well (If you have already done this then you can ignore this). </p>  <p>Following are the steps to do so.</p>  <blockquote>   <p> Click <b>Start</b>, click <b>Run</b>, type mmc, and then press ENTER. </p>    <p> On the <b>File</b> menu, click <b>Add/Remove Snap-in</b>. </p>    <p> Click <b>Add</b>. </p>    <p> Click <b>Certificates</b>, and then click <b>Add</b>. </p>    <p> Select <b>Computer account</b>, and then click <b>Finish</b>. </p>    <p> Select <b>Local computer</b>, click <b>Finish</b>, click <b>Close</b> to close the snap-in list, and then click <b>OK</b> to close the Add/remove snap-in window. </p>    <p> Expand <b>Certificates (local computer)</b>, expand <b>Personal</b>, expand <b>Certificates</b>, and then select a suitable certificate. </p>    <p> Right-click the certificate, point to <b>All tasks</b>, and then click <b>Export</b>. </p>    <p> Click <b>Next</b>. </p>    <p> Select <b>Yes, export private key</b>, and then click <b>Next</b>. </p>    <p> Use the default setting for the file format. </p>    <p> Type a password for the file. </p>    <p> Type a file name, and then click <b>Next</b>. For example, type C:\Workgroup_ComputerName.pfx. </p>    <p> Click <b>Finish</b>. </p> </blockquote>  <p><strong>Note</strong>:- Repeat all these steps on the management server and on the workgroup computer.</p>  <p>6) Install the MOMAgent.msi setup file on the workgroup computer.</p>  <p>7) It’s time to import the exported PFX file on the workgroup servers using MOMCERTIMPORT tool. </p>  <blockquote>   <p>a. Type the following command, and then press ENTER: </p> </blockquote>  <blockquote>   <p><strong>MOMCertImport <i>path_of_the_certificate .pfx_file_that_is_exported_in_step_5</i></strong></p> </blockquote>  <p><i>Note:- One of the most important thing to remember here is that we import the exported certificates using the above commands on the RMS and MS servers.</i></p>  <p>8) Restart the System center management service on the workgroup servers and on the RMS, MS servers. </p>  <p>9) After this if everything has gone according to the plan then you must see the workgroup servers either in pending management or in the agent managed pane under SCOM console. </p>  <p><i>If in case you don’t see the workgroup computer under any of the above panes in SCOM console then it’s time to start with the troubleshooting.</i></p>  <p><strong>Troubleshooting steps:-</strong> </p>  <p>1) Make sure the servers in the workgroup can ping the FQDN of the RMS or MS server which have provided while installing the SCOM agent on the server. </p>  <p>2) Port number 5723 should be opened bi-directional between the RMS, MS &lt;-&gt; workgroup servers. </p>  <p>3) View the operation manager Event logs under the workgroup computer. You should look for the error messages like:- </p>  <p>Event Type:&#160;&#160;&#160; Error    <br />Event Source:&#160;&#160;&#160; ABC Connector     <br />Event Category:&#160;&#160;&#160; None     <br />Event ID:&#160;&#160;&#160; 21016     <br />Date:&#160;&#160;&#160;&#160;&#160;&#160;&#160; 9/27/2009     <br />Time:&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2:52:20 AM     <br />User:&#160;&#160;&#160;&#160;&#160;&#160;&#160; N/A     <br />Computer:&#160;&#160;&#160; ABC     <br />Description:     <br />ABC was unable to set up a communications channel to HOST.HOMEDC.COm and there are no failover hosts.&#160; Communication will resume when HOST.HOMEDC.COm is available and communication from this computer is allowed. </p>  <p>Event Type:&#160;&#160;&#160; Error    <br />Event Source:&#160;&#160;&#160; ABC Connector     <br />Event Category:&#160;&#160;&#160; None     <br />Event ID:&#160;&#160;&#160; 20070     <br />Date:&#160;&#160;&#160;&#160;&#160;&#160;&#160; 9/27/2009     <br />Time:&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2:52:17 AM     <br />User:&#160;&#160;&#160;&#160;&#160;&#160;&#160; N/A     <br />Computer:&#160;&#160;&#160; ABC     <br />Description:     <br />The ABC Connector connected to HOST.HOMEDC.COm, but the connection was closed immediately after authentication occurred.&#160; The most likely cause of this error is that the agent is not authorized to communicate with the server, or the server has not received configuration.&#160; Check the event log on the server for the presence of 20000 events, indicating that agents which are not approved are attempting to connect. </p>  <p><em>Now it’s time to look for the error messages under the RMS or MS servers regarding the communication failure with the above ABC server.</em> </p>  <p>Event Type:&#160;&#160;&#160; Error    <br />Event Source:&#160;&#160;&#160; ABC Connector     <br />Event Category:&#160;&#160;&#160; None     <br />Event ID:&#160;&#160;&#160; 21010     <br />Date:&#160;&#160;&#160;&#160;&#160;&#160;&#160; 9/27/2009     <br />Time:&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2:21:49 AM     <br />User:&#160;&#160;&#160;&#160;&#160;&#160;&#160; N/A     <br />Computer:&#160;&#160;&#160; HOST     <br />Description:     <br />The ABC Connector negotiated the use of mutual authentication with 192.168.1.8:1077, but Active Directory is not available and no certificate is installed. A connection cannot be established. </p>  <p><em>The above error message means that there is no certificate available with the SCOM server on the RMS or MS to authenticate the workgroup server. Make sure you have correctly imported the server certificate using the MOMCERTIMPORT tool on the RMS and MS server.</em></p>]]></content:encoded>
    </item>
    <item>
      <title>What happened to Dr. Watson?</title>
      <link>https://docs.microsoft.com/archive/blogs/nitgupta/what-happened-to-dr-watson</link>
      <pubDate>Sun, 27 Apr 2008 04:02:23 GMT</pubDate>
      <dc:creator><![CDATA[Nitgupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitgupta/2008/04/27/what-happened-to-dr-watson/</guid>
      <description><![CDATA[While I was trying to juggle around various ways of capturing a crash dump on a Windows Vista...]]></description>
      <content:encoded><![CDATA[<p>While I was trying to juggle around various ways of capturing a crash dump on a Windows Vista machine , I got to know a fact about Doctor Watson.</p>  <p>In windows Vista <a href="https://support.microsoft.com/kb/308538" target="_blank">Doctor Watson</a> doesn't really exist!!, which was suppose to be a default debugger program in all the previous version of Windows.</p>  <p>This made me put my thinking cap on to find out what application has replaced Dr. Watson on Vista , many of you might be knowing it but I invested some time not only to find out what application has replaced Dr. Watson on Vista but also how to configure it to take automatic dumps while the application unexpectedly crashes.</p>  <p>Dr. Watson, the system failure or &quot;crash&quot; analysis tool, has been replaced in this version of Windows with <strong>Problem Reports and Solutions</strong>.</p>  <p><strong>Problem Reports and Solutions</strong> helps you check for solutions to hardware and software problems that can occur on your computer. You can set Windows to report problems and check for solutions automatically, or you can choose to check for solutions whenever a problem occurs. Problem descriptions and solutions are saved, so you can view them at any time.</p>  <p>Where does Problem Reports and Solution exist in windows vista.</p>  <p>1) Open Problem Reports and Solutions by clicking the <b>Start</b> button <img title="Picture of the Start button" alt="Picture of the Start button" src="https://windowshelp.microsoft.com/QueryWS/GetOpenContent.aspx?assetID=4f6cbd09-148c-4dd8-b1f2-48f232a2fd33&amp;DocumentSet=en-US&amp;RenderKey=XML" />, clicking <b>Control Panel</b>, clicking <b>System and Maintenance</b>, and then clicking <b>Problem Reports and Solutions</b>.</p>  <p>To find more information on Problems Reports and Solutions program , go to the following link to see the detailed video on it.</p>  <p><strong>How Do I: Create and Analyze a Mini-Dump File in Windows?</strong><a title="https://msdn2.microsoft.com/en-us/visualc/bb738099.aspx" href="https://msdn2.microsoft.com/en-us/visualc/bb738099.aspx">https://msdn2.microsoft.com/en-us/visualc/bb738099.aspx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>SSL handshake between Client IE and the IIS server for a Server Certificate</title>
      <link>https://docs.microsoft.com/archive/blogs/nitgupta/ssl-handshake-between-client-ie-and-the-iis-server-for-a-server-certificate</link>
      <pubDate>Thu, 03 Jan 2008 15:06:00 GMT</pubDate>
      <dc:creator><![CDATA[Nitgupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitgupta/2008/01/03/ssl-handshake-between-client-ie-and-the-iis-server-for-a-server-certificate/</guid>
      <description><![CDATA[The client first authenticates the server using the 
certificate. After authentication, the...]]></description>
      <content:encoded><![CDATA[<div class="section">
<h3 class="sect3-title"><a class="" name="628"></a><a class="" name="wbp11ch10P57"></a></h3>
<p class="first-para">The client first authenticates the server using the 
certificate. After authentication, the client uses public-key encryption to send 
information that is used to created a shared key (the session key). Then the 
session key is used to perform the more efficient symmetrical-key encryption on 
the rest of the data. The shared key is specific to this session and is never 
used again.</p><p class="first-para">The SSL <i class="emphasis">handshake</i> is what brings 
authentication, encryption, and verification together. The following occurs 
during an SSL handshake:</p>
<ol class="orderedlist"><li class="first-listitem">
<p class="first-para">The client sends the server the client's SSL version number, 
cipher settings, randomly generated data, and other information that the server 
needs to communicate with the client using SSL.</p>
</li><li class="listitem">
<p class="first-para">The server sends the client the server's SSL version number, 
cipher settings, randomly generated data, and other information the client needs 
to communicate with the server over SSL. The server also sends its own 
certificate.<a class="" name="629"></a> </p>
</li><li class="listitem">
<p class="first-para">The client authenticates the server as described in the 
Certificate Authorities and Trusts section.</p>
</li><li class="listitem">
<p class="first-para">With the information gathered so far, the client creates a 
premaster secret for the session, encrypts it with the server's public key, and 
sends it to the server.</p>
</li><li class="listitem">
<p class="first-para">Using the premaster secret, the server follows a series of 
steps to create the master secret; this occurs on the client.</p>
</li><li class="listitem">
<p class="first-para">The client and the server use the master secret to create 
the session keys.</p>
</li><li class="listitem">
<p class="first-para">The client sends a message to the server stating that the 
next message will be encrypted with the session key.</p>
</li><li class="listitem">
<p class="first-para">The client sends an encrypted message to the server stating 
that the handshake process is finished.</p>
</li><li class="listitem">
<p class="first-para">The server sends a message to the client stating that the 
next message will be encrypted with the session key.</p>
</li><li class="listitem">
<p class="first-para">The server sends an encrypted message to the client stating 
that the handshake process is finished.</p>
</li><li class="listitem">
<p class="first-para">The process is now finished. The client and the server use 
the session keys to encrypt data with symmetric-key encryption.</p></li></ol>
<p class="last-para"><br></p><p class="last-para">&nbsp;Hope this helps!<br>&nbsp;</p></div>]]></content:encoded>
    </item>
    <item>
      <title>Security Changes in IIS7</title>
      <link>https://docs.microsoft.com/archive/blogs/nitgupta/security-changes-in-iis7</link>
      <pubDate>Tue, 25 Dec 2007 11:40:00 GMT</pubDate>
      <dc:creator><![CDATA[Nitgupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitgupta/2007/12/25/security-changes-in-iis7/</guid>
      <description><![CDATA[All of you are a knowledgeable person who understands the security landscape. Today I would be...]]></description>
      <content:encoded><![CDATA[<P>All of you are a knowledgeable person who understands the security landscape. Today I would be discussing around the Security changes which are implemented new in IIS7.</P>
<P>One of the key changes which I would be talking in this blog post would be <STRONG>Kernel Mode Authentication in IIS7</STRONG>.</P>
<P><STRONG>1) Componentized Architecture</STRONG></P>
<P>In IIS7 all of its features are no longer implemented as a part of server code, they are implemented as individual modules. This modular architecture makes it easier to reduce the attack surface of the web server.</P>
<P>Example:-&nbsp; What if the customer do not want to use BASIC authentication feature on IIS, In IIS6 the only way to turn that feature off was to just *UNCHECK the Checkbox* available under the security configuration of the website.</P>
<P>But in IIS7 since BASIC authentication feature is implemented as a separate module , customer can not only disable the feature but can totally unload the binary used of basic authentication from the process.</P>
<P><STRONG>Benefits:-</STRONG> </P>
<P>a) Reduced Attack Surface with minimal server footprints.</P>
<P>b) Lower Total Cost of Ownership through reduced patching requirements since you only need to patch the module installed.</P>
<P mce_keep="true">&nbsp;</P>
<P><STRONG>2) Configuration Encryption</STRONG></P>
<P>I believe everybody of you by now must be aware of changes made in regards of the Configuration Database for IIS7. In IIS7.0, there is no longer an entity known as the "IIS Metabase". It is conceptually replaced by ApplicationHost.Config.</P>
<P>In IIS6 there were very few properties that were marked as secure properties like AdminACL, AnonymousUserPass, WAMUserPass, UNCPassword.</P>
<P>Since the configuration of IIS6 was stored in the Metabase.xml file, it has no relation with the ASP.NET application configuration which was normally stored either in the Machine.config or Web.config files.</P>
<P>ASP.NET provides a feature where a user can encrypt a particular section of the configuration file using a RSA provider like:- </P>
<P>aspnet_regiis -pe "connectionstrings" -app "/App1" -prov "RsaProtectedConfigurationProvider"</P>
<P>In IIS7 with the existence of delegation feature user can store IIS and application related settings under a one common configuration file that is "web.config" file.</P>
<P>This brings the above encryption feature to the IIS table also, now with the above command IIS related configuration sections can also be encrypted.</P>
<P>Either users can use the default encryption provider that is already defined in the machine.config or can create their own custom encryption key for use in encrypting/decrypting configuration data.</P>
<P>If you are interested in learning in detail regarding this then I would recommend you to go to the link mentioned below.</P>
<P><A href="https://www.iis.net/default.aspx?tabid=2&amp;subtabid=25&amp;i=1066">https://www.iis.net/default.aspx?tabid=2&amp;subtabid=25&amp;i=1066</A></P>
<P mce_keep="true">&nbsp;</P>
<P><STRONG>3) Request Filtering</STRONG></P>
<P>In IIS6 the only way to do the request filtering was either to use "Web Service Extensions" or to install the URL scan on the server.</P>
<P>In IIS7 all the features that was provided by URLScan has been incorporated into a separate module called "Request Filtering Module".</P>
<P>One of the key advantages which we get in IIS7 with the request filtering module is its granular (can be applied differently for each website, Virtual Directory, file) approach where as the setting applied using URLScan were global.</P>
<P><STRONG>List of some of the features provided by Request Filtering Module</STRONG>.</P>
<P>A) File extension restrictions</P>
<P>B) Hidden segments</P>
<P>C) Deny URL sequences</P>
<P>D) Verbs</P>
<P>E) Request limits restrictions</P>
<P>Maximum allowed content length<BR>Maximum URL length<BR>Maximum query string length<BR>Header limits</P>
<P><BR><STRONG>4) Kernel Mode Authentication</STRONG></P>
<P>In IIS7 by default Kerberos authentication happens in Kernel. It might not look to be a very impressive statement but trust me this feature will take care of at least 50% of the issue related to the Kerberos authentication.</P>
<P>Authentication performed in kernel mode allows server applications to run on a different user accounts and most importantly Site Admins don’t have to set the SPN's for each account under the domain. Only HOST SPN's set under the IIS web server machine A/C would be enough.</P>
<P>If you have read my last blog post on Kerberos authentication than you would realize what does kernel Mode Authentication really means when it comes to Kerberos and how much it can help in Kerberos Authentication.</P>
<P>I will talk more about Kernel Mode Authentication in my upcoming blog post.</P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
  </channel>
</rss>