Architecture of my "ImageDemo" application
Technology : ASP.NET Language : C#
Previous architecture: The asp.net pages are stored in the webserver. A folder named ImageRepository is exist in the webserver. I do store the images (browsed, selected, and stored by users) in the ImageRepository. I could access all the attributes and content of the images stored in ImageRepository. I used to display images using Image control of ASP.NET.
New architecture: Instead of storing the images in a folder of the webserver, I do setup a dedicated Files Server with the following credentials(say)
user name : my_name
password : wXy12Apl
I could login to the system, access the folder where I stored the images, read the all attributes of the files. Then I added the file name to a dropdown list,so it will look ;like this

So on the onselectedindexchanged event I tried to display the images using Image control of ASP.NET. But I could not. What will be the problem? I could access all the attributes of the files, but I could not read the content of image.
For eg; When I select first image, the contol looks like

When I select second image, the contol looks like
