Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Proble in opening web page [modified]

Proble in opening web page [modified]

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesql-serverdesign
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ais07
    wrote on last edited by
    #1

    Hi There, I have a menu control which I filled using XML.When I run my project from local IIS and click particular menu item from menu control then that page get opened properly.But when I run my project after uploading on web server on net and then click on menu item then that page doesn't get open.It gives me following error.I googled but didn't find proper solution.Can anybody tell me the reason for this error(I am using Asp.Net 2.0 and Sql server 2005). Error:- Server Error in '/' Application. Cannot use a leading .. to exit above the top directory. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Cannot use a leading .. to exit above the top directory. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.] System.Web.Util.UrlPath.ReduceVirtualPath(String path) +3626102 System.Web.Util.UrlPath.Reduce(String path) +84 System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +326 System.Web.UI.Control.ResolveClientUrl(String relativeUrl) +296 System.Web.UI.WebControls.Panel.AddAttributesToRender(HtmlTextWriter writer) +1320211 System.Web.UI.WebControls.Panel.RenderBeginTag(HtmlTextWriter writer) +18 System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +17 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20 System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7 System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.Control.RenderControl(HtmlTextWriter

    A 1 Reply Last reply
    0
    • A ais07

      Hi There, I have a menu control which I filled using XML.When I run my project from local IIS and click particular menu item from menu control then that page get opened properly.But when I run my project after uploading on web server on net and then click on menu item then that page doesn't get open.It gives me following error.I googled but didn't find proper solution.Can anybody tell me the reason for this error(I am using Asp.Net 2.0 and Sql server 2005). Error:- Server Error in '/' Application. Cannot use a leading .. to exit above the top directory. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Cannot use a leading .. to exit above the top directory. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.] System.Web.Util.UrlPath.ReduceVirtualPath(String path) +3626102 System.Web.Util.UrlPath.Reduce(String path) +84 System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +326 System.Web.UI.Control.ResolveClientUrl(String relativeUrl) +296 System.Web.UI.WebControls.Panel.AddAttributesToRender(HtmlTextWriter writer) +1320211 System.Web.UI.WebControls.Panel.RenderBeginTag(HtmlTextWriter writer) +18 System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +17 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20 System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7 System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.Control.RenderControl(HtmlTextWriter

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      This May Help you[^] :-D

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article

      A 1 Reply Last reply
      0
      • A Abhijit Jana

        This May Help you[^] :-D

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article

        A Offline
        A Offline
        ais07
        wrote on last edited by
        #3

        Thanks For Reply Abhijit, I tried that linq yesterday.But my problem remains as it is.

        Life Is Beautiful

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups