Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Hi. Right click in your browser and find the rendered source. You will see the path that is being rendered. Please check this is correct. You may need to follow the advice of @Gabe below and make sure you have used the right path type. Commented May 30, 2013 at 15:30
  • @KingCronus - Hi. Yes, I did check the path by viewing the source of the page. Its like - D:\TestProjects\MyPhotoLibrary\MyPhotoLibrary\App_Data\Images\Jellyfish.jpg. The image exists there. Commented May 30, 2013 at 15:34
  • 1
    There might well be your problem. The browser isn't able to access that address. Change it to something relative to the application root. Commented May 30, 2013 at 15:43
  • Why is your image property a byte array rather than a pointer to a relative path for where the image is stored on disk? Commented May 30, 2013 at 15:49
  • @senfo - I am storing the path in the ImageFile property (file is saved locally on the server as well) and had created the byte array to store the image in the database as well. Commented May 30, 2013 at 16:14