Click here to Skip to main content
15,887,952 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted
Comments
OriginalGriff 21-Mar-12 10:39am    
Without the code, we can't help. Somewhere, you are using a path involving ".." which goes above your root directory. Since we don't know where, we can't give you any suggestions.
Use the "Improve question" widget to edit your question and provide better information.

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900