IIS 6 does not display the default document (default.aspx)

We have a problem in that IIS no longer serves to find the default document (default.aspx) on a server that previously worked fine. We did not consciously change the configuration of the machine.

Symptoms are that if you go to the root of the application on the computer, it will display a page with asp.net 404 not found with the following text:

Resource is not found.

Description: HTTP 404. [etc.]

Requested URL: / folder / eurl.axd / dd4414e526108f45a561b782d54f3ba2 /

I don't know what eurl.axd is, but it seems to refer to URL support without an extension for ASP.NET 4.0, but the sites in question are ASP.NET 2.0 sites.

Default.aspx is definitely set as the default document (and is at the top of the list) for the site.

If I manually type /folder/default.aspx, then the site works fine, so this is not a problem serving the page, but simply a problem with IIS that does not execute this page by default.

Any ideas on how to fix this will be appreciated as it affects the live server :(

+4
source share
2 answers

OK, I decided it now. It seems like this is really due to the support feature of the unlimited ASP.NET 4.0 URL. Despite the fact that .NET 2.0 sites are running on my sites, they still affect them (perhaps because URL filtering is higher?). I disabled URL support without continuing (see Link), and now it finds the default .aspx pages OK.

For more information, check out this article: http://blogs.msdn.com/b/tmarq/archive/2010/06/18/how-to-disable-the-asp-net-v4-0-extensionless-url -feature-on-iis-6-0.aspx

+8
source
To install and enable ASP.NET: 1> Click Start, and then click Control Panel. 2> Click Add or Remove Programs. 3> Click Add/Remove Windows components. 4> Double-click Application Server, and then click Details. 5> Click to select the ASP.NET check box, and then click OK. 6> Click Next. 7> Click Finish. 
0
source

Source: https://habr.com/ru/post/1432966/


All Articles