SharePoint (MOSS) Install Prerequisites

I was doing a MOSS install, and was running through the prereqs. All were there:

  • Microsoft .NET 2, with service packs
  • Microsoft .NET 3, with service packs
  • IIS Installed, ASP.NET enabled in Application Server portion of Windows 2003 Components

I then ran the MOSS setup and got this error:

Setup is unable to proceed due to the following error(s):

This product requires ASP.NET v2.0 to be set to ‘Allow’ in the list of Internet Information Services (IIS) Web Server Extensions. If it is not available in the list, reinstall ASP.Net v2.0. Correct the issue(s) listed above and re-run setup.

 

Well, with the help of this blog post, I was able to get it working. Here’s the deal: I believe the issue was that IIS (with ASP.NET support in Windows Components) was installed/enabled after the installation of .NET 2 and .NET 3 and their service packs. As a result those frameworks were not registered in IIS.

Enter the aspnet_regiis command. It is found in the following folder(s):

  • C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
  • C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727 – 64-bit Windows only.

I ran the command with an –i switch in the second directory, as this was an x64 box. The MOSS Enterprise setup worked just fine after that. There are dangers to running the –I switch on production boxes here, but since this was a fresh server with nothing on it, the aspnet_regiis –i worked perfectly for me. I did also need to allow .NET extensions in IIS. 

Update

Microsoft .NET 3.5 SP1 gives you .NET 2, .NET 3, and the service packs plus .NET 3.5. It’s a much quicker way to get your SharePoint prereqs.  You should know that .NET 3.5 SP1 is not supported by KnowledgeLake at the current time. 

(August 25, 2008)