<p>I have a problem with IIS 6.0 ceasing to work for an ASP.NET application after installing Service Pack 1 for <code>.NET 3.5</code>.</p>

<p>I have 2 identical virtual dedicated servers. Installing SP1 on the first had no adverse effect. Installing it on the second caused ASP.NET pages to start returning 404 page not found.</p>

<p>Static .html pages working okay on both servers.</p>

<p>Has anybody else experienced this?</p>

[{'answer_id': 15031, 'author': 'John Sheehan', 'author_id': 1786, 'author_profile': 'https://Stackoverflow.com/users/1786', 'pm_score': 0, 'selected': False, 'text': '<p>Is CustomErrors in your web.config set to On or RemoteOnly? If so, what do you get when you change it to Off?</p>\n'}, {'answer_id': 15038, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': '<p>I\'ve seen various people with this problem recently. <a href="http://msmvps.com/blogs/omar/archive/2008/06/30/deploy-asp-net-mvc-on-iis-6-solve-404-compression-and-performance-problems.aspx" rel="nofollow noreferrer">This link</a> might help.</p>\n\n<p>And <a href="http://randomtech.blogspot.com/2007/05/http-404-error-in-iis-6-on-new-aspnet.html" rel="nofollow noreferrer">this one</a>.</p>\n\n<p>And a few others.</p>\n'}, {'answer_id': 15043, 'author': 'John Smithers', 'author_id': 1069, 'author_profile': 'https://Stackoverflow.com/users/1069', 'pm_score': -1, 'selected': False, 'text': "<p>No-one did before, so I'll point to the trivial solution:<br>\nHave you already de-installed the Service Pack and re-installed it again (or the whole framework)?</p>\n\n<p>Edit: @Kev:<br>\nEasy explanation: He said the update works on one machine, but not on the other. I had similar problems in the past and re-installing helped to solve some of them. And it is trivial to do.<br>\nThat's my approach:<br>\n1. trivial<br>\n2. easy<br>\n3. headache  </p>\n\n<p>You are right, on productive systems you must be careful, but that's his decision. And because it is a virtual server, maybe it is easy for him to copy it and try as a test environment first.</p>\n"}, {'answer_id': 15098, 'author': 'Dale Ragan', 'author_id': 1117, 'author_profile': 'https://Stackoverflow.com/users/1117', 'pm_score': 3, 'selected': True, 'text': '<p>This is broad problem, so let\'s start by asking some troubleshooting questions:</p>\n\n<blockquote>\n  <ul>\n  <li>Based on your description, the ASP.NET runtime is not catching your request and processing the aspx files.  You may need to register the asp.net pipeline with IIS again using ASPNET_REGIIS -i.</li>\n  <li>Have you made sure that the app_offline.htm file has been removed\n  from the directory of the application?\n  I have had this happen before after an\n  update.</li>\n  <li>Have you setup <a href="http://www.fiddlertool.com/fiddler/" rel="nofollow noreferrer">fiddler</a> for instance to follow the request to see what is\n  exactly being requested?</li>\n  <li>Make sure ASP.NET is enabled in the IIS Administration Console under "Web\n  Service Extensions."  <a href="http://www.dotnetjunkies.com/WebLog/photos/davetrux/images/295487/original.aspx" rel="nofollow noreferrer">Make sure everything is set to allowed for your different versions of the framework.</a></li>\n  </ul>\n</blockquote>\n\n<p>Well, let\'s start with those and hopefully we can guide you to the problem.</p>\n'}, {'answer_id': 15104, 'author': 'Brian G Swanson', 'author_id': 1795, 'author_profile': 'https://Stackoverflow.com/users/1795', 'pm_score': 0, 'selected': False, 'text': "<p>I have not had this exact error with .NET 3.5 SP1, but have seen similar occur in the past.  Typically it can be resolved by opening a command prompt, going to the appropriate .NET folder and running ASPNET_REGIIS -i.  In the case of .NET 3.5 there wasn't an update to the main bits of the framework, so you'd actually go to the .NET 2.0 folder, which on my machine can be found at:</p>\n\n<p>\\Windows\\Microsoft.Net\\framework\\v2.0.50727</p>\n\n<p>Running the ASPNET_REGIIS -i will re-register all the ASP.NET libraries with IIS, and should be the equivalent of a re-install of the framework on a given machine (as far as IIS is concerned)</p>\n"}, {'answer_id': 15183, 'author': 'Guy', 'author_id': 1463, 'author_profile': 'https://Stackoverflow.com/users/1463', 'pm_score': 0, 'selected': False, 'text': "<p>Just to clarify. The last (4th) point given by Dale was the problem. During the installation of SP1 the Status for ASP.NET and WebDAV became set to Prohibited under Web Service Extensions.</p>\n\n<p>Why the installation of SP1 changed this setting on one server and not the other is a mystery that I wouldn't mind (but not expect) an answer to...</p>\n\n<p>The second link provided by CodingTheWheel also had the answer so I'm also going to mark this as an answer.</p>\n"}]
['https://Stackoverflow.com/questions/14963', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1463/']