Click here to Skip to main content
15,922,533 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone answer...


Error:

html\marlenjobs\userside\clogo\indexrrr.jpg' could not find a path.......
Posted
Updated 23-Feb-12 21:55pm
v2
Comments
Anuja Pawar Indore 24-Feb-12 2:47am    
Why are you using single dot (.) use ~/ it will work

1 solution

C#
string savepath = HttpContext.Current.Server.MapPath("../../userside/clogo/"+fileName );
               uploadlogo.SaveAs(Server.MapPath(savepath))
 
Share this answer
 
Comments
M.Narmatha 24-Feb-12 1:58am    
it exits from top directory

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