<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://grounding.co.za/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Neil&amp;#39;s IW Space : IIS</title><link>http://grounding.co.za/blogs/neil/archive/tags/IIS/default.aspx</link><description>Tags: IIS</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>ASP.NET error registering with IIS</title><link>http://grounding.co.za/blogs/neil/archive/2008/02/07/asp-net-error-registering-with-iis.aspx</link><pubDate>Wed, 06 Feb 2008 21:28:00 GMT</pubDate><guid isPermaLink="false">c6974423-eee6-405f-ad43-26e2febcfffe:666</guid><dc:creator>Neil</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://grounding.co.za/blogs/neil/rsscomments.aspx?PostID=666</wfw:commentRss><comments>http://grounding.co.za/blogs/neil/archive/2008/02/07/asp-net-error-registering-with-iis.aspx#comments</comments><description>&lt;p&gt;This is a very common error that people experience when attempting to host an ASP.NET application on a new server. I will be explaining the solution to this problem from a Sharepoint perspective, but the information is relevant to many other scenarios. &lt;/p&gt;
&lt;p&gt;The problem normally occurs on new servers that are being configured to host .NET application for the first time and can be avoided entirely by changing the installation sequence. Many applications required both the .NET framework and IIS to be installed on the server and depending on which one you install first, this problem does not occur. If you install .NET framework before installing IIS then you will not have this problem. Change the sequence around, then you need to read this blog.&lt;/p&gt;
&lt;p&gt;A lot of people experience this problem when attempting to install either WSS or MOSS on a Windows 2003 server. They start by installing the pre-requisites for Sharepoint:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Service pack 1 for Windows Server 2003 
&lt;li&gt;Install IIS 6.0 on the Server 
&lt;li&gt;Install the .NET Framework 3.0 
&lt;li&gt;Install SQL 2000 with sp4 or SQL 2005 with SP2 or SQL 2008&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The next step would be to run the setup.exe from the Sharepoint CD and then they get the following error.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://grounding.co.za/blogs/neil/WindowsLiveWriter/ASP.NETerrorregisteringwithIIS_5A60/ASP%20Error_2.png"&gt;&lt;img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="134" alt="ASP Error" src="http://grounding.co.za/blogs/neil/WindowsLiveWriter/ASP.NETerrorregisteringwithIIS_5A60/ASP%20Error_thumb.png" width="614" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;This problem was caused by the installation sequence I mentioned earlier and if you re-install the .NET framework as the dialogue box suggests, the problem will be resolved, but there is a faster way. There is a command line utility available in the directory where the .NET framework is installed that will fix the problem.&lt;/p&gt;
&lt;p&gt;Open windows explorer and navigate to the following directory: &amp;quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://grounding.co.za/blogs/neil/WindowsLiveWriter/ASP.NETerrorregisteringwithIIS_5A60/aspregiis.jpg"&gt;&lt;img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="456" alt="aspregiis" src="http://grounding.co.za/blogs/neil/WindowsLiveWriter/ASP.NETerrorregisteringwithIIS_5A60/aspregiis_thumb.jpg" width="607" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;In this folder you will find an executable called: &amp;quot;aspnet_regiis.exe&amp;quot; that you need to execute from the command line with a particular switch to re-register the ASP.NET component with IIS 6.0. Open the command line console by selecting start, run and typing cmd and then pressing enter. Navigate to the directory mentioned above and type the following command.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://grounding.co.za/blogs/neil/WindowsLiveWriter/ASP.NETerrorregisteringwithIIS_5A60/Command%20Line_2.png"&gt;&lt;img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="73" alt="Command Line" src="http://grounding.co.za/blogs/neil/WindowsLiveWriter/ASP.NETerrorregisteringwithIIS_5A60/Command%20Line_thumb.png" width="615" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The command syntax is: &amp;quot;aspnet_regiis -i&amp;quot;.&lt;/p&gt;
&lt;p&gt;Once the registration process has been completed. Close the command line and open the IIS management console. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://grounding.co.za/blogs/neil/WindowsLiveWriter/ASP.NETerrorregisteringwithIIS_5A60/IIS%20View.jpg"&gt;&lt;img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="456" alt="IIS View" src="http://grounding.co.za/blogs/neil/WindowsLiveWriter/ASP.NETerrorregisteringwithIIS_5A60/IIS%20View_thumb.jpg" width="607" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Navigate to the folder called &amp;quot;Web Service Extensions&amp;quot; and confirm that the ASP.NET component has been successfully registered with IIS. At this point you can attempt to install Sharepoint again and there should be no problems.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Related Blogs:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" title="Overview of the .NET Platform" href="http://grounding.co.za/blogs/trevor/archive/2008/03/20/overview-of-the-net-platform.aspx"&gt;Overview of the .NET Platform&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" title="Installation Procedure for MOSS" href="http://grounding.co.za/blogs/neil/archive/2007/09/02/installation-procedure-for-moss.aspx"&gt;Installation Procedure for MOSS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" title=".NET 2.0 Framework" href="http://grounding.co.za/blogs/brett/archive/2007/07/15/net-2-0-framework.aspx"&gt;.NET 2.0 Framework&lt;/a&gt;&lt;/p&gt;&lt;img src="http://grounding.co.za/aggbug.aspx?PostID=666" width="1" height="1"&gt;</description><category domain="http://grounding.co.za/blogs/neil/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://grounding.co.za/blogs/neil/archive/tags/.NET/default.aspx">.NET</category><category domain="http://grounding.co.za/blogs/neil/archive/tags/IIS/default.aspx">IIS</category></item></channel></rss>