My site has an option to download a file. When a user clicks on the download button, it calls an action method which returns a file result. This method works in local but not in the server. In the server all other pages works except this. It returns 404 error (Error code 0x80070002).
I tried by adding "runAllManagedModulesForAllRequests = true"
and defining extensionless handlers in web.config. But didn't work. Does anyone got a solution?
User contributions licensed under CC BY-SA 3.0