首页 新闻 会员 周边 捐助

帮我看看是什么问题,谢谢!

0
悬赏园豆:10 [已关闭问题]
<SPAN>&nbsp; <H1>Server Error in '/' Application. <HR width="100%" color=silver SIZE=1> </H1> <H2><I>Cannot use a leading .. to exit above the top directory.</I> </H2></SPAN><FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><B>Description: </B>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. <BR><BR><B>Exception Details: </B>System.Web.HttpException: Cannot use a leading .. to exit above the top directory.<BR><BR><B>Source Error:</B> <BR><BR> <TABLE width="100%" bgColor=#ffffcc> <TBODY> <TR> <TD><CODE>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.</CODE> </TD></TR></TBODY></TABLE><BR><B><FONT face=Verdana>Stack Trace:</FONT></B> <BR><BR> <TABLE width="100%" bgColor=#ffffcc> <TBODY> <TR> <TD><CODE><PRE>[HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.] System.Web.Util.UrlPath.ReduceVirtualPath(String path) +3527382 System.Web.Util.UrlPath.Reduce(String path) +84 System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +355 System.Web.UI.Control.ResolveClientUrl(String relativeUrl) +196 System.Web.UI.HtmlControls.HtmlLink.RenderAttributes(HtmlTextWriter writer) +112 System.Web.UI.HtmlControls.HtmlLink.Render(HtmlTextWriter writer) +39 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) +130 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24 System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter writer) +14 System.Web.UI.HtmlControls.HtmlContainerControl.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 writer) +22 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24 System.Web.UI.Control.Render(HtmlTextWriter writer) +7 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) +130 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24 System.Web.UI.Page.Render(HtmlTextWriter writer) +26 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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896</PRE></CODE></TD></TR></TBODY></TABLE></FONT>
Xiao-an的主页 Xiao-an | 初学一级 | 园豆:190
提问于:2008-08-05 09:05
< >
分享
其他回答(1)
0
用google搜索一下"Cannot use a leading .. to exit above the top directory"或者"System.Web.Util.UrlPath.ReduceVirtualPath",你可以找到很多相关的内容。我大概看了一下搜索的结果,这个问题一般是由于URL重写引起的。你的代码是否使用了URL重写功能?
李荫桓 | 园豆:225 (菜鸟二级) | 2008-08-05 11:49
0
意思是说你的路径出现了问题,详细的可以参考一下这个。 http://www.cnblogs.com/hjf1223/archive/2006/08/21/482356.html
金鱼 | 园豆:1090 (小虾三级) | 2008-08-05 15:21
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册