I have one issue in my webpage. Actually I have developed asp.net 3.5 website. I have created a webpage named HR.aspx under Sub Directory in my project root directory.
Webpage Location
(ProjectName) >> Department (Subfolder) >> HR (Subfolder) >> HR.aspx
and I have the code in this file to open a file like pdf.
My file location folder is under my project.
File Location
(ProjectName) >> SIPL (SubFolder) >> Department (Subfolder) >> HR (Subfolder) >> HR.pdf
My issue is when I put the HR.aspx page under root directory the file is opening successfully and when I put this page under subfolder (as shown above) it not opening and showing file not found error. I think page not find the path of the file because it is in subfolder. How to overcome this issue. Please help.