Runtime analysis

Browse to the source file.

file mapped

There was an error, as shown below due this faulty code
try
{
//FileUpload1.SaveAs("C:\\Uploads\\" + FileUpload1.FileName);
String str_path = "-/upload/" + FileUpload1.FileName;
// FileUpload1.SaveAs(MapPath(str_path) + FileUpload1.FileName);
FileUpload1.SaveAs(MapPath(str_path));

Corrected, if you are using IIS, and may face this error show
below; meaning you can't access this folder due to security setup.
try
{
//FileUpload1.SaveAs("C:\\Uploads\\" + FileUpload1.FileName);
String str_path = "~/upload/" + FileUpload1.FileName;
// FileUpload1.SaveAs(MapPath(str_path) + FileUpload1.FileName);
FileUpload1.SaveAs(MapPath(str_path));

To fix this follow this step

Now get to the property of upload folder using mouse right
click.

does read only blocks,



Now get back to the page and refresh

Now if want to view the files, you may explore to test, since if
have few images associated with this page you may like to add those.

Adding Images


Confirmations of adding chic.png, now add all the images.

Now you may like add a link to open this page.
