Why I’m getting this error. My variables get the names from request, and also i tried “data.qext” but visual studio give me error.
I got “test.pdf” file in my WebsiteRoot/uploads/files/test.pdf, but still there is an error. Maybe I’m missing something?
Check image for detailed description: http://prntscr.com/7wnid
You can try this method instead of
HttpContext.Current.Server.MapPath:Doing so, there’s no need for an
HttpContext.