Saturday, November 30, 2013

fileupload error(The SaveAs method is configured to require a rooted path, and the path '../../Styles/uploadsDesert.jpg' is not rooted.)

Just gessing here, but:


It sounds like SaveAs requries an absolute path (a path going from a filesystem root or "rooted path"). But you gave it a relative path. Ultimatively every path must be resolved to an absolute path before doign anything with it (relative paths are mostly a convenient way of writing stuff) and SaveAs apparently cannot do that work for you.




Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.


No comments:

Post a Comment