Cassini giving a 404 in Firefox/Opera but not IE6

Last post 10-17-2007 4:37 PM by tjrobinson.net. 2 replies.

Sort Posts:

  • Cassini giving a 404 in Firefox/Opera but not IE6

    07-11-2007, 7:03 AM
    • Loading...
    • tjrobinson.net
    • Joined on 01-17-2007, 4:43 AM
    • Reading, England
    • Posts 11

    I'm using Cassini / ASP.NET Development Server 8.0.0.0 to develop a web application using Visual Studio 2005 SP1.

    The problem I'm running into is that some files/images aren't being served to Firefox or Opera, even though they work fine using the same URL and at the same time in IE6.

    For example:

    http://localhost:4521/images/buttons/read-more.gif

    - In IE6 I see an image
    - In Firefox and Opera I get a 404 response

    I've tried all the usual restarts/refreshes/cache clearing but nothing fixes the issue permanently.

    Does Cassini not like requests from non IE browsers?

    Any help or ideas would be much appreciated.

    Thanks,

    Tom
     


     

    Filed under: , , , , ,
  • Re: Cassini giving a 404 in Firefox/Opera but not IE6

    10-15-2007, 1:18 PM
    • Loading...
    • mbentley
    • Joined on 10-15-2007, 5:12 PM
    • Posts 3

    From what I have seen, it may be totally unrelated to Cassini.  I had the same issue, and it turned out that I had some typos and IE was sloppy enough to miss them, and FireFox and Opera were noticing them and getting upset.  In the end, FireFox and Opera were the ones that actually gave the correct response based on what I had typed.

     
    In my case I had some entries in the css file like:

      background_color ="Red"

    and it should have been 
      background_color :"Red"

     
    I would suggest double checking the syntax where you declare the image and don't assume it is correct just because IE says so.

    Good Luck,

    Mark
     

     

    Filed under: , , ,
  • Re: Cassini giving a 404 in Firefox/Opera but not IE6

    10-17-2007, 4:37 PM
    • Loading...
    • tjrobinson.net
    • Joined on 01-17-2007, 4:43 AM
    • Reading, England
    • Posts 11

     Hi Mark,

     Thanks for the suggestion, though I'm pretty sure it wasn't a typo. I copied and pasted the URL directly between the browser address bars, so I could rule out CSS complications.

     
    By the way, I couldn't help noticing that your CSS still looks a bit wrong, it should really be:

    background-color: red;

    Or even:

    background-color: #f00;

    Tom
     

    Filed under:
Page 1 of 1 (3 items)
Microsoft Communities
Page view counter