My RadMenu was working fine with the Rad Controls. After upgrading it to Prometheus, I get the error only on Production Server that -
[HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.]
System.Web.Util.UrlPath.ReduceVirtualPath(String path) +3644954
System.Web.Util.UrlPath.ReduceVirtualPath(String path) +3644992
System.Web.Util.UrlPath.Reduce(String path) +84
System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +355
System.Web.UI.Control.ResolveUrl(String relativeUrl) +235
Telerik.Web.UI.RadMenuItem.RenderImage(HtmlTextWriter writer) +90
Telerik.Web.UI.RadMenuItem.RenderContents(HtmlTextWriter writer) +80
My RadMenu ImageUrl refers to ~/images/icons folder. And I checked the whole site - there is no reference to "../" for css. I had a css that was referencing images as "../" - and it was working fine. I even took that CSS out - still its giving this error.
So, what could be wrong?
-Piyush
Cannot use a leading .. to exit above the top directory.
[HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.]
System.Web.Util.UrlPath.ReduceVirtualPath(String path) +3644954
System.Web.Util.UrlPath.ReduceVirtualPath(String path) +3644992
System.Web.Util.UrlPath.Reduce(String path) +84
System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +355
System.Web.UI.Control.ResolveUrl(String relativeUrl) +235
Telerik.Web.UI.RadMenuItem.RenderImage(HtmlTextWriter writer) +90
Telerik.Web.UI.RadMenuItem.RenderContents(HtmlTextWriter writer) +80
My RadMenu ImageUrl refers to ~/images/icons folder. And I checked the whole site - there is no reference to "../" for css. I had a css that was referencing images as "../" - and it was working fine. I even took that CSS out - still its giving this error.
So, what could be wrong?
-Piyush