Unable to access a file

Discussion in 'ASP.NET 2.0' started by jgs3, Jun 11, 2007.

  1. I have multipule image files in my directory \games\images. Most display just fine when called from web pages (http://www.prezcon.com/games/images/For_Honor_and_Glory.jpgworks just fine) but a few don't (http://www.prezcon.com/games/images/Pacific_Victory.jpgas example).

    Both above examples show up in a FrontPage listing of the directory and are accessable by FP. The owner shows as the same. The control panel doesn't set permissions down to the file level (or does it?).

    So why does one fileserve up just fineand the other not?

    Jim
     
  2. The image could be corrupt. Try reuploading it.

    Aristotle

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Thanks for the reply. The image is readable in FrontPage BUT to be sure I re-uploaded it and get the same error. There are other image files with the same issue but a majority work just fine. Is it a permissions and/or FrontPage issue?
     
  4. mjp

    mjp

    It's not a server or permissions issue, it's a problemwith the file.

    I right clicked your link to http://www.prezcon.com/games/images/Pacific_Victory.jpgand saved it to my desktop where I can view it in a graphics program, but not ina browser (IE or Firefox). Here's the error from Firefox:

    The image ?file:///C:/Documents%20and%20Settings/000000/Desktop/Pacific_Victory.jpg? cannot be displayed, because it contains errors.

    mjp
    DiscountASP.NET
    <SUB><SUP>http://DiscountASP.NET
     
  5. Very interesting. Thanks for the leed...


    Jim
     

Share This Page