当我在asp.net中注册我的详细信息时,显示此错误“无法使用前导..退出顶层目录上方". [英] when I registeration my details in asp.net display this error "Cannot use a leading .. to exit above the top directory"

查看:88
本文介绍了当我在asp.net中注册我的详细信息时,显示此错误“无法使用前导..退出顶层目录上方".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生,

我已经完成了项目,但是当我使用文件上传控件将我的详细信息注册到图像上传中时,最终显示错误...

不能使用前导..退出顶层目录"

如何解决此错误:

在插入和更新时间时发生此错误
请告诉我什么问题.


我在Google中被搜索,但无法获得明确的解决方案

作者:mohan

Dear sir,

I have finished my project but finally display error when I registered my details with my image upload using file upload control...

"Cannot use a leading .. to exit above the top directory"

How to solve this error:

while inserting and updating time this error occurred
please tell me what is problem.


I am searched in google but i cant get clear solution

by mohan

推荐答案

此问题可能是由于页面引用了比当前页面路径高一级的文件夹路径中所需的内容.即./../content可能会有些混乱.下面的链接中有关于此问题的讨论以及建议的解决方案.

http://forums.asp.net/t/980453.aspx [
This issue could be due to the page is referring a content that is required in a folder path one level up from the current page path. i.e there could be some mess with the ./../content . There is a discussion about this issue and the suggested solution in the link below.

http://forums.asp.net/t/980453.aspx[^]

You could try if that works for you.

If not, definitely you may need to provide more information with code to get in detailed about the issue.


这篇关于当我在asp.net中注册我的详细信息时,显示此错误“无法使用前导..退出顶层目录上方".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆