IIS 6.0 and .NET 2.0

March 27, 2008

So, I’m a server administrator who is in charge of a small closed network running a bunch of Windows servers.  The main product we use is a large web app that requires .NET 2.0 to run.  Now, we’ve never had a problem with this app running on our old Windows 2000 servers, but just recently we upgraded a few to Windows 2003, which runs IIS 6 instead of IIS 5 on Win2k.

After installing the web app on the new IIS 6 servers, I couldn’t get the damn thing to run!  The web page would just error out saying the Page Could Not Be Found.  I tried to figure this thing out for a week.  I emailed the web app developers and asked them and they said that their product worked just fine on IIS 6.  Finally, we found the problem.  It looks like IIS 6, by default, prohibits .NET 2.0 apps from running.  We had to manually go in and allow the .NET 2.0 on IIS 6.

If anyone else is having a similar problem, here’s how to check if .NET 2.0 is enabled:

1.  Open the IIS Management console

2.  There should be at least three items on the left hand side: Application Pools, Web Sites, and Web Service Extensions

3.  Click on the Web Service Extensions.  On the right hand side, you should see a list of things that are prohibited and things that are allowed.  Make sure .NET 2.0 is allowed.

Now the app is up and running just fine.  And I learned something new about IIS that I hadn’t encountered before.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: