MVC 2 Response not available

Discussion in 'General troubleshooting' started by KennyGolub, May 23, 2012.

  1. I am running into the strangest problem. I have an MVC 2.0 web that compiles and runs fine locally.
    When I upload the site (manually copying the mvc and mvc routing dlls to the bin folder) I get the following error:

    Response is not available in this context.

    This is occurring in the global.asax file under application_start. I know it's saying the response object isn't there, but why? I also know that it has something to do with the site set up and hoops you must jump through to get MVC to work on Winhost, but I'm hoping someone can tell me how to fix it.

    Thanks !!
    Last edited by a moderator: Oct 14, 2015

Share This Page