this is really weird. I am able to upload files and save it in database when working locally on my MVC project (using localhost) but when the project is deployed on the server, i am getting directory not found exception (System.IO.DirectoryNotFound). It lists my local file path in the error log on the server.
I am trying to save the file content using Request.Files collection & its contents as a byte array.
asp.net mvc: read route param inside controller