Thanks for your help!
I'm getting this error when I try to upload the picture file in LINQ chapter.
"
Quote:
|
The SaveAs method is configured to require a rooted path, and the path 'cd267bc1-a0ce-434c-bd50-0ca592d95b7b\ced06f37-df6c-4714-9679-a99c925da209.jpg' is not rooted."
|
I really don't understand this - my 'Pics' folder is I think at the root of the website. I went to the head of Solution Explorer, clicked on the website name and got a new folder 'Pics'. Isn't that at the root?
The website (PRI) is folded into wwroot.
This piece of code was highlighted in the error message:
[fileUpload1.SaveAs(System.IO.Path.Combine(physical folder, fileName + extension))
/]
?