<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Pradeep Anchan's Blog</title><subtitle type="html">Today is the first day of the rest of my life......</subtitle><id>http://blogs.msdn.com/pmanchan/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/pmanchan/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2007-02-13T13:35:00Z</updated><entry><title>SharePoint Upgrade failed with following error. "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding"</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2009/09/08/sharepoint-upgrade-failed-with-following-error-timeout-expired-the-timeout-period-elapsed-prior-to-completion-of-the-operation-or-the-server-is-not-responding.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2009/09/08/sharepoint-upgrade-failed-with-following-error-timeout-expired-the-timeout-period-elapsed-prior-to-completion-of-the-operation-or-the-server-is-not-responding.aspx</id><published>2009-09-08T13:16:00Z</published><updated>2009-09-08T13:16:00Z</updated><content type="html">&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;I have come across this scenario several times while troubleshooting the cases where Upgrade process fails with the below error logged in the upgrade.log file:&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P lang=en-IN style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;[AddSearchToLinks] [3.0.77.0] [DEBUG] [6/12/2009 10:11:48 PM]: &lt;SPAN style="FONT-WEIGHT: bold"&gt;Executing SQL DDL Script.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P lang=en-IN style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;[SPContentDatabaseSequence] [ERROR] [6/12/2009 10:41:53 PM]: Action 3.0.77.0 of &lt;SPAN style="FONT-WEIGHT: bold"&gt;Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence failed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P lang=en-IN style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;[SPContentDatabaseSequence] [ERROR] [6/12/2009 10:41:53 PM]: &lt;SPAN style="FONT-WEIGHT: bold"&gt;Timeout expired.&amp;nbsp; The timeout period elapsed prior to completion of the operation or the server is not responding.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P lang=en-IN style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;[SPContentDatabaseSequence] [ERROR] [6/12/2009 10:41:53 PM]:&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;&lt;SPAN lang=en-US&gt;In the above error, we see that the "&lt;/SPAN&gt;&lt;SPAN lang=en-IN style="FONT-WEIGHT: bold"&gt;Executing SQL DDL Script&lt;/SPAN&gt;&lt;SPAN lang=en-IN&gt;" has been initiated. If you look at the timestamp, it is &lt;/SPAN&gt;&lt;SPAN lang=en-IN style="FONT-WEIGHT: bold"&gt;6/12/2009 10:11:48 PM&lt;/SPAN&gt;&lt;SPAN lang=en-IN&gt;.&amp;nbsp;In the next frame, we see the Timeout error at &lt;/SPAN&gt;&lt;SPAN lang=en-IN style="FONT-WEIGHT: bold"&gt;6/12/2009 10:41:53 PM. &lt;/SPAN&gt;&lt;SPAN lang=en-IN&gt;The timeout has happened exactly after 30 minutes (That's the timeout period for the thread in the upgrade process to wait)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P lang=en-IN style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P lang=en-IN style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;When I looked into the SQL server,&amp;nbsp;I could see that there was a blocking SPID.&lt;/P&gt;
&lt;P lang=en-IN style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;&lt;SPAN lang=en-IN&gt;You can use the Activity Monitor in the SQL management studio or simply query the &lt;/SPAN&gt;&lt;SPAN lang=en-US&gt;sys.sysprocesses table in the master database as shown below to see if there is any blocking SPIDs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P lang=en-IN style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-WEIGHT: bold; FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Use master&lt;/P&gt;
&lt;P style="FONT-WEIGHT: bold; FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;select * from sys.sysprocesses&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;In this particular case, the blocking SPID was coming from a 3rd party Antivirus scanner. After we killed it explicitly, the upgrade continued and completed successfully.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;&lt;SPAN style="FONT-WEIGHT: bold; TEXT-DECORATION: underline"&gt;Important Note:&lt;/SPAN&gt; The solution above of killing the blocking SPID was allowed in the above specific scenario. This may not be always viable as it depends on what that SPID is doing and whom does it belong. So, in case you see similar issue, it totally depends on your situation and environment how to proceed on it.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Cheers,&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Pradeep&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9892493" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author></entry><entry><title>Build to Build (B2B) Upgrade of the SharePoint environment – Part 3</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2009/09/08/build-to-build-b2b-upgrade-of-the-sharepoint-environment-part-3.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2009/09/08/build-to-build-b2b-upgrade-of-the-sharepoint-environment-part-3.aspx</id><published>2009-09-08T12:09:00Z</published><updated>2009-09-08T12:09:00Z</updated><content type="html">&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;In this blog post, we will discuss some tips and techniques around the B2B upgrade process.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri; TEXT-DECORATION: underline"&gt;Detaching and attaching the Content Database:&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Many times during the upgrade process, we may see errors that are specific to one or two content databases especially when you have several content databases and of large size in the farm. In these scenarios, we can detach the specific content database, do the upgrade by running configuration wizard on the farm and then attach the database back. When we attach it back, the content database will be upgraded. Of course, we can encounter the same error, but it will be easier to troubleshoot and also the entire farm will not be down while&amp;nbsp;we are&amp;nbsp;finishing the upgrade of that content database.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Below is the command for detaching the content database:&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;&lt;STRONG&gt;stsadm -o deletecontentdb -url &lt;EM&gt;&amp;lt;url&amp;gt;&lt;/EM&gt; -databasename &lt;EM&gt;&amp;lt;name of the database&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;The command for attaching back the content database:&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;&lt;STRONG&gt;stsadm -o addcontentdb -url &lt;EM&gt;&amp;lt;url&amp;gt;&lt;/EM&gt; -databasename &lt;EM&gt;&amp;lt;name of the database&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri; TEXT-DECORATION: underline"&gt;Orphan entries:&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;If you encounter any error in upgrade log that indicates orphan entries, for example, "Cannot insert the value NULL into column 'ScopeId'", "The system cannot find the path specified" at the Microsoft.SharePoint.Library.SPRequestInternalClass.GetSiteQuota() method etc, we can check for the existence of orphan entries.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;To check for Orphans, use the below command:&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;&lt;STRONG&gt;stsadm -o databaserepair -url &lt;EM&gt;&amp;lt;url&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt; -databasename &lt;EM&gt;&amp;lt;name of content database&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;To remove/delete the orphan entries, we can run the following command:&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;&lt;STRONG&gt;stsadm -o databaserepair -url &lt;EM&gt;&amp;lt;url&amp;gt;&lt;/EM&gt; -databasename &lt;EM&gt;&amp;lt;name of content database&amp;gt;&lt;/EM&gt; -deletecorruption&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;&lt;U&gt;The upgrade process seems to be hung:&lt;/U&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Sometimes, depending on the size and the state of the content database, it may take quite a long time for the upgrade process to complete. We should NOT assume it is hung and we should NOT cancel the upgrade process. We need to verify if there is any CPU utilization on the WFE or the SQL box. We can also use SQL Profiler to monitor and check if there is any activity going on the SQL server for the SharePoint databases. We can also keep monitoring the upgrade.log to see if we are progressing or it is really hung/blocked.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Cancelling the upgrade process explicitly in between could leave the farm in a corrupted state. If you are running the upgrade process on the production environment, and if it seems like hung, you can contact Microsoft support line to open a &lt;SPAN style="COLOR: black"&gt;support case for assistance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;&lt;STRONG&gt;While concluding&lt;/STRONG&gt;,&amp;nbsp;&lt;U&gt;I want to stress on the point&lt;/U&gt;, always test the upgrade on a test environment before doing it on the production environment. Take a Full farm backup from SharePoint level and also take SQL level backup of all the SharePoint databases before doing anything on the production farm. Take the backup of any customizations you have done. Also, make sure that you plan some maintenance window as it may take quite a long time for the upgrade to finish depending on the size and state of the databases and just in case if we encounter any problem, we have enough time to troubleshoot it.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Hope it helps :)&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9892480" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author></entry><entry><title>Build to Build (B2B) Upgrade of the SharePoint environment – Part 2</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2009/09/01/build-to-build-b2b-upgrade-of-the-sharepoint-environment-part-2.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2009/09/01/build-to-build-b2b-upgrade-of-the-sharepoint-environment-part-2.aspx</id><published>2009-09-01T08:24:00Z</published><updated>2009-09-01T08:24:00Z</updated><content type="html">&lt;P&gt;&lt;BR&gt;In this post, we will discuss few troubleshooting techniques when the upgrade fails to complete.&lt;/P&gt;
&lt;P&gt;The first tool you have in hand is the upgrade.log file. When we run the Configuration Wizard, a file called upgrade.log file will be created, by default in the path C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS\&lt;/P&gt;
&lt;P&gt;As a tip, always make sure you rename the previous upgrade.log file to something so that it creates a new one. Otherwise, it will append to the existing file, making it huge and not very convenient to search for errors. &lt;/P&gt;
&lt;P&gt;If the upgrade fails, search for the errors or exceptions in the upgrade.log file. This should give us an idea on what the problem is and the troubleshooting steps will depend on it. We could then use the well known search engines like BING and search for the error and exceptions that we see.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Some of the basic and common issues and possible solutions are listed in KB 944267. Please go through and see if it matches with the error/scenario you have come across. &lt;A href="http://support.microsoft.com/?id=944267" mce_href="http://support.microsoft.com/?id=944267"&gt;http://support.microsoft.com/?id=944267&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;BR&gt;I am listing more scenarios and the possible solution here:&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;1.&lt;BR&gt;Behavior/Symptoms:&lt;BR&gt;===================&lt;BR&gt;The Configuration Wizard Fails at step 8 with the following message:&lt;/P&gt;
&lt;P&gt;"Failed to start service SPSearchServiceInstance on this server after completing upgrade. Please start it manually"&lt;/P&gt;
&lt;P&gt;In the Upgarde.log file, you may see one of the following errors:&lt;/P&gt;
&lt;P&gt;[SPManager] [ERROR] [7/6/2009 5:57:56 PM]: Upgrade [SPSearchDatabase Name=WSS_Search_SPWEB Parent=SPDatabaseServiceInstance] failed.&lt;BR&gt;[SPManager] [ERROR] [7/6/2009 5:57:56 PM]: The service did not start due to a logon failure&lt;/P&gt;
&lt;P&gt;Resolution:&lt;BR&gt;===========&lt;BR&gt;The logon username and password may be out of sync (If the password has changed) for the Service Account of the Windows SharePoint Services Search Service.&lt;/P&gt;
&lt;P&gt;Go to Central Administration Site -&amp;gt; Services on Server -&amp;gt; Windows SharePoint Services Search, and reset the password for the user.&lt;BR&gt;From the windows services panel, restart the Windows SharePoint Services Search service.&lt;/P&gt;
&lt;P&gt;Re-run the configuration wizard by running the following the command&lt;/P&gt;
&lt;P&gt;psconfig -cmd upgrade -inplace b2b -force&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Additional Note: Refer the KB 934838 to learn how to update the service accounts and passwords for SharePoint.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. &lt;BR&gt;Behavior/Symptoms:&lt;BR&gt;=================&lt;BR&gt;The Configuration Wizard Fails with the following message:&lt;/P&gt;
&lt;P&gt;"Value cannot be null." Parameter name: connectionString&lt;/P&gt;
&lt;P&gt;Resolution:&lt;BR&gt;===========&lt;BR&gt;Check if the following registry key exists in the registry:&lt;/P&gt;
&lt;P&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB&lt;/P&gt;
&lt;P&gt;"dsn"="&amp;lt;connection string goes here....&amp;gt;"&lt;/P&gt;
&lt;P&gt;If dsn doesn't exist, then we can add it manually as a work around and re-run the Configuration Wizard using the following command:&lt;/P&gt;
&lt;P&gt;psconfig -cmd upgrade -inplace b2b -wait -force&lt;/P&gt;
&lt;P&gt;Below is a sample that can be added. &lt;/P&gt;
&lt;P&gt;"dsn" = "Data Source=&amp;lt;db server name&amp;gt;;Initial Catalog=&amp;lt;config db name&amp;gt;;Integrated Security=;Enlist=False"&lt;/P&gt;
&lt;P&gt;However, this is just a quick work around step. If registry keys related to SharePoint are missing, we cannot really say if this is the only key missing and how many places has it been tampered. So, the best approach is to disconnecting the machine from the farm and then re-adding it back using the Configuration Wizard. &lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Important Note: Serious problems might occur if you modify the registry incorrectly. Therefore, please make sure that you back up the registry before you modify it. Then, you can restore the registry if a problem occurs.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. &lt;BR&gt;Behavior/Symptoms:&lt;BR&gt;=================&lt;BR&gt;The Configuration Wizard Fails with the following message in the PSCDiagnostics log file:&lt;BR&gt;&amp;nbsp;&lt;BR&gt;Failed to secure the SharePoint resources.&lt;/P&gt;
&lt;P&gt;An exception of type System.ArgumentException was thrown. Additional exception information: Cannot apply security settings to resource &lt;/P&gt;
&lt;P&gt;C:\WINDOWS\System32\drivers\etc\HOSTS as it does not exist.&lt;/P&gt;
&lt;P&gt;System.ArgumentException: Cannot apply security settings to resource &lt;/P&gt;
&lt;P&gt;C:\WINDOWS\System32\drivers\etc\HOSTS as it does not exist.&lt;BR&gt;at &lt;BR&gt;Microsoft.SharePoint.PostSetupConfiguration.ResourceAccess.ValidateResourceName(Stri&lt;BR&gt;ng name)&lt;BR&gt;at Microsoft.SharePoint.PostSetupConfiguration.ResourceAccess..ctor(String &lt;BR&gt;resourceType, String resourceName, Int32 securityGroup, String permissions)&lt;BR&gt;at Microsoft.SharePoint.PostSetupConfiguration.SecurityTask.SecureResources()&lt;BR&gt;at Microsoft.SharePoint.PostSetupConfiguration.SecurityTask.Run()&lt;BR&gt;at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Resolution:&lt;BR&gt;===========&lt;BR&gt;This is pretty straight forward error message and the HOSTS file will be missing from "C:\WINDOWS\System32\drivers\etc\".&lt;BR&gt;We can simply copy a HOSTS file from another machine from the path "C:\WINDOWS\System32\drivers\etc\" and change or add the entries as needed and then re-run the command to perform the upgrade.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4.&lt;BR&gt;Behavior/Symptoms:&lt;BR&gt;=================&lt;BR&gt;The Configuration Wizard Fails at step 4 with the following message:&lt;/P&gt;
&lt;P&gt;An exception of type Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException was thrown. &lt;/P&gt;
&lt;P&gt;Additional exception information: An update conflict has occurred, and you must re-try this action. The object DiagnosticsService Parent=SPFarm &lt;BR&gt;Name=&amp;lt;config DB&amp;gt; is being updated by Domain\User, in the w3wp process, on machine &amp;lt;machine name&amp;gt;. View the tracing log for more information about the conflict. &lt;/P&gt;
&lt;P&gt;Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action. The object DiagnosticsService Parent=SPFarm Name=&amp;lt;config DB&amp;gt; is being updated by Domain\User, in the w3wp process, on machine &amp;lt;machine name&amp;gt;. View the tracing log for more information about the conflict.&lt;BR&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Resolution:&lt;BR&gt;===========&lt;BR&gt;Clear the config cache. Refer KB 939308 for the steps for clearing the cache.ini&lt;/P&gt;
&lt;P&gt;Re-run the following command to perform the upgrade:&lt;/P&gt;
&lt;P&gt;psconfig -cmd upgrade -inplace -b2b -force -wait&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5.&lt;BR&gt;Behavior/Symptoms:&lt;BR&gt;==================&lt;BR&gt;The Configuration Wizard Fails with the following message:&lt;/P&gt;
&lt;P&gt;Failed to upgrade SharePoint Products and Technologies&lt;/P&gt;
&lt;P&gt;An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown. &lt;/P&gt;
&lt;P&gt;Additional exception information: Failed to upgrade SharePoint Products and Technologies.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Observed following error message from the upgrade.log file.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[SPIisWebSiteWssSequence] [ERROR] [7/10/2009 10:19:58 PM]: Action 3.1.3.0 of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed.&lt;BR&gt;[SPIisWebSiteWssSequence] [ERROR] [7/10/2009 10:19:58 PM]: The system cannot find the path specified.&lt;BR&gt;[SPIisWebSiteWssSequence] [ERROR] [7/10/2009 10:19:58 PM]: at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)&lt;/P&gt;
&lt;P&gt;at System.DirectoryServices.DirectoryEntry.Bind()&lt;BR&gt;at System.DirectoryServices.DirectoryEntry.get_AdsObject()&lt;BR&gt;at System.DirectoryServices.PropertyValueCollection.PopulateList()&lt;BR&gt;at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, &lt;BR&gt;String propertyName)&lt;BR&gt;at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)&lt;BR&gt;at Microsoft.SharePoint.Administration.SPIisApplicationPool.get_PeriodicRestartMemory()&lt;BR&gt;at Microsoft.SharePoint.Administration.SPProvisioningAssistant.EnableMemoryBasedAppPoolRecycling(SPIisApplicationPool local)&lt;BR&gt;at Microsoft.SharePoint.Administration.SPProvisioningAssistant.EnableMemoryBasedAppPoolRecycling(String applicationPoolId)&lt;BR&gt;at Microsoft.SharePoint.Upgrade.EnableMemoryBasedAppPoolRecycling.Upgrade()&lt;BR&gt;at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Resolution:&lt;BR&gt;=========&lt;BR&gt;Check if the Application Pools are missing in the IIS manager or if the SharePoint Sites are pointed manually to different application Pools. The system administrators might have changed the application pools of the web application as part of the administration tasks. &lt;/P&gt;
&lt;P&gt;Note: Since SharePoint stores the Web Application and Application pool settings in its configuration database, Change or deleting the Application pool manually from IIS manager leaves orphan entries in the configuration database. This could impact (For example, the above upgrade issue) later while SharePoint looks into IIS metabase for the Application pools. We can use the SPS Farm reports to view the list of all Web Applications and their associated application pools. The SharePoint Central Administration site doesn't provide any UI to change or delete the application pools. &lt;/P&gt;
&lt;P&gt;There is couple of ways to handle the situation. &lt;/P&gt;
&lt;P&gt;1. Create/Modify the Application pools manually in IIS manager to bring everything back to how it was before someone changed it. This could be tedious if there are too many.&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;2. We can delete the web application (Of course, WITHOUT deleting the content DB) in question and re-create it and attach the existing content DB. This will clear the orphan entry.&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;3. Stop and restart the "Windows SharePoint Services Web Application" service on the WFE. This step will remove and recreate all the application pools and web applications on that WFE, including the missing ones as per what is present in SharePoint configuration datbase.&lt;/P&gt;
&lt;P&gt;Imp Note: Make sure you backup the IIS Metabase before trying the above step.&lt;/P&gt;
&lt;P&gt;4. Use the object model to programmatically change the web application's associations with the Application pools.&lt;BR&gt;My colleague Vijay has a good blog post on this option. Please refer it for the details and the sample code.&lt;/P&gt;
&lt;P&gt;Change the application pool associated with a web application in SharePoint. &lt;BR&gt;&lt;A href="http://blogs.msdn.com/vijgang/archive/2009/07/21/change-the-application-pool-associated-with-a-web-application-in-sharepoint.aspx" mce_href="http://blogs.msdn.com/vijgang/archive/2009/07/21/change-the-application-pool-associated-with-a-web-application-in-sharepoint.aspx"&gt;http://blogs.msdn.com/vijgang/archive/2009/07/21/change-the-application-pool-associated-with-a-web-application-in-sharepoint.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;And then re-run the following command to perform the upgrade:&lt;/P&gt;
&lt;P&gt;psconfig -cmd upgrade -inplace -b2b -force -wait&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;In the Part 3 of this blog, I will discuss some more tips and issues on the same topic. Continue to have fun :)&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9889697" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author></entry><entry><title>Build to Build (B2B) Upgrade of the SharePoint environment – Part 1</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2009/08/19/build-to-build-b2b-upgrade-of-the-sharepoint-environment-part-1.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2009/08/19/build-to-build-b2b-upgrade-of-the-sharepoint-environment-part-1.aspx</id><published>2009-08-19T13:49:00Z</published><updated>2009-08-19T13:49:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;BR&gt;Applying Hot fixes, Cumulative updates (CU) or Service Packs (SP) for WSS 3.0 and MOSS 2007 and then upgrading the databases is a very common scenario. W&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;e troubleshoot issues around these areas quite frequently at Microsoft GTSC. I have heard these questions several times from our customers “Which machine do I start running the psconfig wizard in my farm” and “Should we install both WSS and MOSS binaries” etc…. &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;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;So, I am listing the simple instructions with some recommendations for &lt;/SPAN&gt;B2B (Build to Build) Upgrade of the SharePoint environment in Part 1 of this blog post.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;U&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Here are the steps:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;FONT face=Calibri size=3&gt;1. Take a Full SharePoint backup of the entire farm using Central Administration Site. For more information on taking Full backup from SharePoint level, see &lt;/FONT&gt;&lt;A href="http://technet.microsoft.com/en-us/library/cc262946.aspx" mce_href="http://technet.microsoft.com/en-us/library/cc262946.aspx"&gt;&lt;FONT face=Calibri color=#800080 size=3&gt;http://technet.microsoft.com/en-us/library/cc262946.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&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: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;Note:&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt; It is also recommended that you take frequent SQL level backups of the SharePoint databases as part of your disaster recovery plan.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;2. On each machine on your farm, install the binaries (Hot fixes, &lt;/SPAN&gt;Cumulative updates or Service Packs&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;). In the end of the installation of binaries, you will be prompted to run the Configuration Wizard. &lt;B style="mso-bidi-font-weight: normal"&gt;&lt;I style="mso-bidi-font-style: normal"&gt;Do not&lt;/I&gt;&lt;/B&gt; run the wizard at this stage.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;Note:&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt; If you are running MOSS, make sure you install the binaries for both WSS and MOSS. I have seen several cases where people install only WSS update binaries and run the configuration wizard. This is not recommended. If your farm is running only on WSS, then install only WSS binaries.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;3. Go to the machine in the farm where you have the &lt;B style="mso-bidi-font-weight: normal"&gt;Central Administration Site&lt;/B&gt; hosted. Run the “SharePoint Products and Technologies Configuration Wizard”. When you initiate the Configuration process, you are shown a message box to run upgrade wizard on all servers in your farm. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Click on OK button. Let the Wizard complete. This may take several minutes to several hours depending on the size and the content of the SharePoint databases.&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: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;4. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;Go to any other machine in the farm and run the “SharePoint Products and Technologies Configuration Wizard”. If it prompts, click Ok and continue to let it finish. &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: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; We can also upgrade using&amp;nbsp;the command line tool. The command is as follows: &lt;BR&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;psconfig –cmd upgrade –inplace b2b –wait –force&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;5. Repeat the step&amp;nbsp;4 on all other machines in the farm one by one. If everything goes fine, the upgrade would be completed.&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: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Hope this helps!&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: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;FONT face=Calibri&gt;In the&amp;nbsp;Part 2 of this blog, I will discuss some troubleshooting stuff related to B2B upgrade. Till then, have fun &lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN style="FONT-FAMILY: Wingdings; mso-ansi-language: EN; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Cheers,&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: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Pradeep&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: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9875398" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author></entry><entry><title>Kick start - My web blog</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2009/08/18/kick-start-my-web-blog.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2009/08/18/kick-start-my-web-blog.aspx</id><published>2009-08-19T06:03:00Z</published><updated>2009-08-19T06:03:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-outline-level: 5"&gt;&lt;B&gt;&lt;I&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Thank you for visiting&amp;nbsp;my Blog!&lt;BR&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; BACKGROUND: white; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&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;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; BACKGROUND: white; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Although my blog was opened&amp;nbsp;a couple of years ago, wasn't very active. I&amp;nbsp;have now decided to actively blog and share my experiences and ideas. I am working at Microsoft as a Support Escalation Engineer in SharePoint team. I have had plenty of experience on ASP.NET/IIS too. So, I would be concentrating (But not limited) mainly on SharePoint, ASP.NET and IIS. I welcome all your comments, questions&amp;nbsp;and appreciate you valued feedback and suggestions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; BACKGROUND: white; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; BACKGROUND: white; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Have fun :)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; BACKGROUND: white; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; BACKGROUND: white; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Pradeep Anchan&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; BACKGROUND: white; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9874990" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author></entry><entry><title>The SSL is not working on the IIS 5.0 web server. We are not able to browse using https. SSLDiag tool shows "#WARNING:Failed to read schannel data" and "#WARNING: AcquireCredentialsHandle failed with error -2146893051(0x80090305)"  </title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2007/08/16/the-ssl-is-not-working-on-the-iis-5-0-web-server-we-are-not-able-to-browse-using-https-ssldiag-tool-shows-warning-failed-to-read-schannel-data-and-warning-acquirecredentialshandle-failed-with-error-2146893051-0x80090305.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2007/08/16/the-ssl-is-not-working-on-the-iis-5-0-web-server-we-are-not-able-to-browse-using-https-ssldiag-tool-shows-warning-failed-to-read-schannel-data-and-warning-acquirecredentialshandle-failed-with-error-2146893051-0x80090305.aspx</id><published>2007-08-16T13:18:00Z</published><updated>2007-08-16T13:18:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;ENVIRONMENT:&lt;BR&gt;==============&lt;BR&gt;Windows 2000 Server SP4, IIS 5.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;We are unable to browse the site if we enable SSL.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;When we browse using https, it fails with generic "Page cannot be displayed" error.&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: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;SSLDiag tool shows&amp;nbsp;"#WARNING:Failed to read schannel data" and "#WARNING: AcquireCredentialsHandle failed with error -2146893051(0x80090305)" error.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;SOLUTION:&lt;BR&gt;==========&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;-&amp;nbsp;Install MS04-011 patch. Download it from &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=0692C27E-F63A-414C-B3EB-D2342FBB6C00&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=0692C27E-F63A-414C-B3EB-D2342FBB6C00&amp;amp;displaylang=en&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: 'Calibri','sans-serif'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4412875" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author><category term="MS04-011" scheme="http://blogs.msdn.com/pmanchan/archive/tags/MS04-011/default.aspx" /><category term="cquireCredentialsHandle failed with error -2146893051(0x80090305)" scheme="http://blogs.msdn.com/pmanchan/archive/tags/cquireCredentialsHandle+failed+with+error+-2146893051_2800_0x80090305_2900_/default.aspx" /><category term="Failed to read schannel data" scheme="http://blogs.msdn.com/pmanchan/archive/tags/Failed+to+read+schannel+data/default.aspx" /></entry><entry><title>AJAX 1.0: "Microsoft JScript runtime error: '0.cells' is null or not an object" error in AJAX enabled ASP.NET page.</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2007/08/16/ajax-1-0-microsoft-jscript-runtime-error-0-cells-is-null-or-not-an-object-error-in-ajax-enabled-asp-net-page.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2007/08/16/ajax-1-0-microsoft-jscript-runtime-error-0-cells-is-null-or-not-an-object-error-in-ajax-enabled-asp-net-page.aspx</id><published>2007-08-16T13:14:00Z</published><updated>2007-08-16T13:14:00Z</updated><content type="html">&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CAUSE:&lt;BR&gt;&lt;BR&gt;- The DIV contained an UpdatePanel with the id “MultiView”. Inside the &lt;BR&gt;ContentTemplate of the UpdatePanel there was a asp:menu Control.&lt;BR&gt;- The Menu Control has these items:&lt;BR&gt;&amp;lt;Items&amp;gt;&lt;BR&gt;&amp;lt;asp:MenuItem Text="Notes" Value="0" &amp;gt;&amp;lt;/asp:MenuItem&amp;gt;&lt;BR&gt;&amp;lt;asp:MenuItem Text="Attachment" Value="1"&amp;gt;&amp;lt;/asp:MenuItem&amp;gt;&lt;BR&gt;&amp;lt;asp:MenuItem Text="Histroy" Value="2"&amp;gt;&amp;lt;/asp:MenuItem&amp;gt;&lt;BR&gt;&amp;lt;/Items&amp;gt;&lt;BR&gt;&lt;BR&gt;- Upon Clicking on any of the above three Menu items , we get “0.cells is null or &lt;BR&gt;not an element” .&lt;BR&gt;- Since the menu Control is not supported in a Partial page Update Scenario , We &lt;BR&gt;will not be able to make the asp:menu control work from &lt;BR&gt;within an UpdatePanel. &lt;BR&gt;&lt;BR&gt;WORK AROUND:&lt;BR&gt;The only workaround is to remove the asp:menu Control from within the &lt;BR&gt;ContentTemplate of the UpdatePanel.&lt;BR&gt;&lt;BR&gt;- Further reference about controls compatible with the UpdatePanel .&lt;BR&gt;&lt;A href="http://www.asp.net/ajax/documentation/live/overview/UpdatePanelOverview.aspx"&gt;http://www.asp.net/ajax/documentation/live/overview/UpdatePanelOverview.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4412803" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author><category term="MenuItem" scheme="http://blogs.msdn.com/pmanchan/archive/tags/MenuItem/default.aspx" /><category term="'0.cells' is null or not an object" scheme="http://blogs.msdn.com/pmanchan/archive/tags/_2700_0.cells_2700_+is+null+or+not+an+object/default.aspx" /><category term="AJAX" scheme="http://blogs.msdn.com/pmanchan/archive/tags/AJAX/default.aspx" /></entry><entry><title>The operation has timed out. System.Net.WebResponse GetWebResponse(System.Net.WebRequest) at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2007/08/16/the-operation-has-timed-out-system-net-webresponse-getwebresponse-system-net-webrequest-at-system-web-services-protocols-webclientprotocol-getwebresponse-webrequest-request.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2007/08/16/the-operation-has-timed-out-system-net-webresponse-getwebresponse-system-net-webrequest-at-system-web-services-protocols-webclientprotocol-getwebresponse-webrequest-request.aspx</id><published>2007-08-16T13:09:00Z</published><updated>2007-08-16T13:09:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;We get the following error when a .NET based Windows Service makes a call to ASP.NET Webservice to upload the file.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;The operation has timed out&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;System.Net.WebResponse GetWebResponse(System.Net.WebRequest) &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at&amp;nbsp; System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) at&amp;nbsp; System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at&amp;nbsp; ImageX.Services.RemoteUpload.Client.RemoteUploadWebService.RemoteUploadWebService.InsertFile(String&amp;nbsp; Physician_ID, String fileName, Byte[] pdfFile, String fType) at&amp;nbsp; ImageX.Services.RemoteUpload.Client.ixRemoteUploadWindowsService.ProcessQueue() &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Calibri size=3&gt;We are able to upload small files around 4 MB but bigger file fails.&lt;/FONT&gt; 
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;SOLUTION:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;==========&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;- We need to increase the timeout setting of the web service proxy class before making the call to the web service.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;Example: &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localhost.Service1 ws = new localhost.Service1();&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ws.Timeout = 300000;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ws.HelloWorld();&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;The Timeout is set in milliseconds for synchronous calls to the XML Web service. The default is 100000 milliseconds. Setting the Timeout property to Timeout.Infinite indicates that the request does not time out; however, the Web server can still cause the request to time out on the server side.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;NOTE:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;======&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;- In these kind of scenarios we also need to increase the maxRequestLength in the web.config file for the webservice to match the size of the upload file.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;- Also we need to make sure to set the maxconnection setting in the config file for the Windows service/application to appropriate number depending on the way requests are made to the webservice.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;More Information:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;==============&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;Improving Web Services Performance&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/ms998562.aspx"&gt;&lt;FONT face=Calibri size=3&gt;http://msdn2.microsoft.com/en-us/library/ms998562.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4412770" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author><category term="web service timeout" scheme="http://blogs.msdn.com/pmanchan/archive/tags/web+service+timeout/default.aspx" /><category term="System.Web.Services.Protocols.WebClientProtocol.GetWebResponse" scheme="http://blogs.msdn.com/pmanchan/archive/tags/System.Web.Services.Protocols.WebClientProtocol.GetWebResponse/default.aspx" /></entry><entry><title>Unable to create and debug ASP.NET web application using Visual Studio 2005 on IIS 7.0</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2007/02/22/unable-to-create-and-debug-asp-net-web-application-using-visual-studio-2005-on-iis-7-0.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2007/02/22/unable-to-create-and-debug-asp-net-web-application-using-visual-studio-2005-on-iis-7-0.aspx</id><published>2007-02-22T12:28:00Z</published><updated>2007-02-22T12:28:00Z</updated><content type="html">&lt;FONT size=1&gt;
&lt;P&gt;&amp;nbsp;When we try to create ASP.NET web application using Visual Studio 2005 on Windows Vista running IIS 7.0, we may get the&amp;nbsp;following error:&lt;/P&gt;
&lt;P&gt;"Unable to create the Web 'http://localhost/&amp;lt;website&amp;gt;'. The Web server does not appear to have the FrontPage server extensions installed."&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This happens since&amp;nbsp;Visual Studio 2005 IDE uses the IIS metabase APIs to create and configure applications in IIS. So, we must install the metabase compatibility component for IIS 7.0&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Here are the&amp;nbsp;steps:&lt;/P&gt;
&lt;P&gt;1. Install the metabase compatibility component for IIS. &lt;/P&gt;
&lt;P&gt;a. Open the Control Panel and click on Programs and Features. In the left pane, click Turn Windows features on or off.&lt;/P&gt;
&lt;P&gt;b. Expand Internet Information Services. Expand Web Management Tools and then expand IIS 6 Management Compatibility.&lt;/P&gt;
&lt;P&gt;c. Select the IIS Metabase and IIS 6 Configuration Compatibility check box.&lt;/P&gt;
&lt;P&gt;d. Click OK to start the installation process.&lt;/P&gt;
&lt;P&gt;2. Explicitly run Visual Studio as administrator.&lt;/P&gt;
&lt;P&gt;We must run Visual Studio 2005 in the context of an administrator account before we can develop web applications on Windows Vista. By default, Windows runs applications in a limited-privilege user account even when you are logged on to the computer as an administrator. &lt;/P&gt;
&lt;P&gt;To run Visual Studio 2005 with administrative privileges in Windows Vista, click Start -&amp;gt; All Programs. Then, right-click on Microsoft Visual Studio 2005, and then click Run as administrator.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy web programming!!!!!&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1740654" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author></entry><entry><title>How to retrieve the HTML response within a ASP.NET Page</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2007/02/22/how-to-retrieve-the-html-response-within-a-asp-net-page.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2007/02/22/how-to-retrieve-the-html-response-within-a-asp-net-page.aspx</id><published>2007-02-22T12:23:00Z</published><updated>2007-02-22T12:23:00Z</updated><content type="html">&lt;FONT size=1&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a simple way to do it. We can implement this by overriding the Render method of the Page class.&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;protected override void Render(HtmlTextWriter writer)&lt;/P&gt;
&lt;P&gt;{ &lt;/P&gt;
&lt;P&gt;System.Text.StringBuilder sb = new System.Text.StringBuilder();&lt;/P&gt;
&lt;P&gt;System.IO.StringWriter sw = new System.IO.StringWriter(sb);&lt;/P&gt;
&lt;P&gt;HtmlTextWriter htmlWriter = new HtmlTextWriter(sw);&lt;/P&gt;
&lt;P&gt;base.Render(htmlWriter);&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//The HTML output is stored in the string object. Use it the way you want.&lt;/P&gt;
&lt;P&gt;string PageHTML = sb.ToString(); &lt;/P&gt;
&lt;P&gt;writer.Write(PageHTML);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ADDITIONAL INFORMATION:&lt;/P&gt;
&lt;P&gt;========================&lt;/P&gt;
&lt;P&gt;We can also add or modify the response content in this method.&lt;/P&gt;
&lt;P&gt;Check http://msdn2.microsoft.com/en-us/library/system.web.ui.control.render.aspx for details about Render method.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1740622" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author></entry><entry><title>How to retrieve the HTML response generated by ASP.NET pages using HTTP module</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2007/02/22/how-to-retrieve-the-html-response-generated-by-asp-net-pages-using-http-module.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2007/02/22/how-to-retrieve-the-html-response-generated-by-asp-net-pages-using-http-module.aspx</id><published>2007-02-22T12:12:00Z</published><updated>2007-02-22T12:12:00Z</updated><content type="html">&lt;FONT size=1&gt;
&lt;P&gt;Many developers come up with this question: How to retrieve the HTML response generated by ASP.NET pages?&lt;BR&gt;&lt;BR&gt;We can implement this by writing a HTTP module. We need to create a custom Stream object and set the Filter property of the Response object to this Stream object so that all HTTP output sent by Write passes through the filter.&lt;BR&gt;&lt;BR&gt;I am writing a&amp;nbsp;sample code here. Tune it according to your requirement:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT size=1&gt;
&lt;P&gt;using System;&lt;/P&gt;
&lt;P&gt;using System.IO;&lt;/P&gt;
&lt;P&gt;namespace MySamples&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;public class ResponseCapture : System.Web.IHttpModule&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;private System.Web.HttpApplication app;&lt;/P&gt;
&lt;P&gt;public ResponseCapture()&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public void Init(System.Web.HttpApplication application)&lt;/P&gt;
&lt;P&gt;{ &lt;/P&gt;
&lt;P&gt;application.BeginRequest += new System.EventHandler(BeginRequest); &lt;/P&gt;
&lt;P&gt;app = application;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public void BeginRequest(Object sender, EventArgs e)&lt;/P&gt;
&lt;P&gt;{ &lt;/P&gt;
&lt;P&gt;ResponseStream mStreamFilter = new ResponseStream(app.Response.Filter);&lt;/P&gt;
&lt;P&gt;app.Response.Filter = mStreamFilter;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public class ResponseStream : System.IO.Stream&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;private System.IO.Stream objStream; &lt;/P&gt;
&lt;P&gt;private long lngLength;&lt;/P&gt;
&lt;P&gt;private long lngPosition; &lt;/P&gt;
&lt;P&gt;private System.IO.StreamWriter objStreamWriter;&lt;/P&gt;
&lt;P&gt;public ResponseStream(System.IO.Stream stream)&lt;/P&gt;
&lt;P&gt;{ &lt;/P&gt;
&lt;P&gt;objStream = stream;&lt;/P&gt;
&lt;P&gt;objStreamWriter = new System.IO.StreamWriter(objStream);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;public override bool CanRead&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;get&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;return false;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public override bool CanSeek&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;get&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;return true;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public override bool CanWrite&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;get&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;return true;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public override long Length&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;get&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;return lngLength;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public override long Position&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;get&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;return lngPosition;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;set&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;lngPosition = value;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public override int Read(Byte[] buffer, int offset, int count)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;throw new NotSupportedException();&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public override long Seek(long offset, System.IO.SeekOrigin direction)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;return objStream.Seek(offset, direction);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public override void SetLength(long length)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;lngLength = length;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public override void Close()&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;objStream.Close();&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public override void Flush()&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;objStream.Flush();&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public override void Write(byte[] buffer, int offset, int count)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;System.Text.UTF8Encoding utf8 = new System.Text.UTF8Encoding(); &lt;/P&gt;
&lt;P&gt;System.Text.StringBuilder strBuffer = new System.Text.StringBuilder(utf8.GetString(buffer));&lt;/P&gt;
&lt;P&gt;// Output is now stored in the strBuffer object. Use it the way you want. I am writing to a text file in this sample.&lt;/P&gt;
&lt;P&gt;WriteToFile(strBuffer); &lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;objStreamWriter.Write(strBuffer.ToString()); &lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public void WriteToFile(System.Text.StringBuilder strBuffer)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;StreamWriter sw = new StreamWriter("c:\\inetpub\\wwwroot\\html.txt");&lt;/P&gt;
&lt;P&gt;sw.Write(strBuffer.ToString().Trim());&lt;/P&gt;
&lt;P&gt;sw.Close(); &lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;public void Dispose()&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Deployment steps:&lt;/P&gt;
&lt;P&gt;=================&lt;/P&gt;
&lt;P&gt;1. Compile the above class to a dll copy it to the target ASP.NET application’s bin directory.&lt;/P&gt;
&lt;P&gt;2. Add the following entry within the &amp;lt;system.web&amp;gt; tag in the web.config file of the target ASP.NET application.&lt;/P&gt;
&lt;P&gt;&amp;lt;httpModules&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;add name="ResponseCap" type="MySamples.ResponseCapture,ResponseCapture" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/httpModules&amp;gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you access a page from the asp.net application, the html.txt file will be created in the "C:\inetpub\wwwroot" location. (This location is just for testing. You can change as you want in the source code)&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1740588" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author></entry><entry><title>ASP.NET Tab is missing in the IIS MMC in the web server running Windows XP Pro x64 Edition with .NET Framework 2.0 (WOW64)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/pmanchan/archive/2007/02/13/asp-net-tab-is-missing-in-the-iis-mmc-in-the-web-server-running-windows-xp-pro-x64-edition-with-net-framework-2-0-wow64.aspx" /><id>http://blogs.msdn.com/pmanchan/archive/2007/02/13/asp-net-tab-is-missing-in-the-iis-mmc-in-the-web-server-running-windows-xp-pro-x64-edition-with-net-framework-2-0-wow64.aspx</id><published>2007-02-13T16:35:00Z</published><updated>2007-02-13T16:35:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;After installing .NET Framework 2.0 on Windows XP Pro x64 Edition, you don't see the ASP.NET Tab in IIS MMC. &lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;This happens if IIS is running in WOW64 mode. &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;In other words, if IIS is running in 32 bit mode on a 64 bit Windows operating system, the ASP.NET tab will not appear in the IIS MMC. This is a known issue. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;To check whether IIS is configured to run 32 bit applications on 64 bit OS, open the command prompt and navigate to C:\Inetpub\AdminScripts folder and run the following command in the command prompt:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;cscript.exe adsutil.vbs get W3SVC/AppPools/Enable32BitAppOnWin64&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&amp;nbsp;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;WORK AROUND:&lt;BR&gt;===============&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;1. If you are planning to run only ASP.NET 2.0 applications and not&amp;nbsp;ASP.NET 1.1 applications, don't run IIS in 32 bit mode on a server running 64 bit Windows operating system.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;To turn off IIS from running 32 bit applications, run the following command&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 “false”&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/o:p&gt;&lt;/SPAN&gt;
&lt;P mce_keep="true"&gt;2. If you need both ASP.NET 1.1 and 2.0 on 64 bit OS, then you have to enable IIS to run 32 bit applications. In this case the ASP.NET tab will be missing in IIS MMC.&lt;/P&gt;
&lt;P mce_keep="true"&gt;To configure the virtual directories to use specifc ASP.NET versions, you will have to use the command line tool.&lt;BR&gt;&lt;BR&gt;aspnet_regiis -s &amp;lt;path of the application&amp;gt; &lt;BR&gt;(Install scriptmaps for this version at the specified path, recursively. Existing &lt;BR&gt;scriptmaps of lower version are upgraded to this version.)&lt;BR&gt;E.g. aspnet_regiis.exe -s W3SVC/1/ROOT/SampleApp1&lt;BR&gt;&lt;BR&gt;OR&lt;BR&gt;&lt;BR&gt;aspnet_regiis -sn &amp;lt;path of the application&amp;gt;&lt;BR&gt;(Install scriptmaps for this version at the specified path, non-recursively. &lt;BR&gt;Existing scriptmaps of lower version are upgraded to this version.)&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Thanks,&lt;/P&gt;
&lt;P mce_keep="true"&gt;Pradeep&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1669119" width="1" height="1"&gt;</content><author><name>pmanchan</name><uri>http://blogs.msdn.com/members/pmanchan.aspx</uri></author></entry></feed>