Closed Bug 281175 Opened 20 years ago Closed 20 years ago

Firefox prompt me to download .aspx file when accessing it through localhost (IIS)!

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: svdelle, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

I've installed ASP.NET and IIS. I can access a ASP.NET page (.aspx suffix) fine 
with Opera and IE, but not with Firefox.
Firefox displays the file-download-dialog to let me save the file to disk. In 
other words Firefox do not recognize ASP.NET applications ...

Reproducible: Always

Steps to Reproduce:
1. Type http://localhost/test.aspx
2. Press Enter
Actual Results:  
3. File download dialog appears, asking me to download test.aspx

Expected Results:  
Displayed the page!

I've been developing ASP.NET for some time now (so my setup works fine), and 
never had problems until using Firefox ...
You ASP.NET application probably sends out some weird headers, e.g. a wrong
Content-Type header.

Try installing the LiveHTTPheaders extension in Firefox and see what headers it
sends:
http://livehttpheaders.mozdev.org/
>In other words Firefox do not recognize ASP.NET applications 

That is not only true for Firefox, it's also true for IE, Opera ...
They al get only the html output of your script (they never see asp).

Configure your server to send the correct mime-type and it should work.
Reopen this bug if you are sure that your server sends the correct mime type and
if you attach a packet trace (Ethreal) or a mozilla http log.

-> invalid (and never a blocker for our development)
Severity: blocker → normal
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.