Unable display images in the browser when running aspx pages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shana
    New Member
    • Oct 2006
    • 20

    Unable display images in the browser when running aspx pages

    Hi frnds,

    Actually my prob is that when I am dragging image control in the aspx page and
    setting the image url to image stored in App Data... The image is not displayed even in the design time.....
    Can any tell me what is causing the prob... and how to rectify it.. I am using Visual
    Studio 2005 and the IIS v6 and the Internet Explorer 6.0..
  • Shaileshsharma
    New Member
    • Jun 2007
    • 26

    #2
    I have done this work many time but naver face this problem.check propery of image carefully.

    Shailesh Kumar

    Comment

    • kenobewan
      Recognized Expert Specialist
      • Dec 2006
      • 4871

      #3
      Display your stored app data as a test that the url is correct. HTH.

      Comment

      • viswarajan
        New Member
        • Jun 2007
        • 10

        #4
        Here we go...

        I dont understand why you have placed the Image file inside the App_Data Directory.

        App_Data -- This folder is reserved for databases (for example, Microsoft Access .mdb files) and is preconfigured with appropriate permissions for the run-time user account.

        try out with the seperate folder for accessing the Image..

        Thanks

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          Well my post for this topic seems to have been removed since yesterday...
          but yes, App_Data is a special folder and you should not be storing your images there. Make say an "images" folder if need be and store them there and see if they show up.

          Comment

          Working...