During the development process of an ASP.NET website, we face an issue of comparing date values entered by user and validating them so that no logical error occurs. This case mostly happens when we have two date values to be supplied and the first value for sure must be less than the second one. As... Continue Reading →
Cannot use a leading .. to exit above the top directory
When you use relative paths incorrectly in ASP.NET an exception will be thrown of the following error message: "Cannot use a leading .. to exit above the top directory". This usually occurs when you write a static url or generate a dynamic one with many upward levels back to the root directory like "../../". So,... Continue Reading →