asp.net mvc 4 - Site returning blank page after deployment -
i'm working on mvc site working fine @ local, when deploy on server, specific page doesn't work (all other pages working perfectly)..it's returning blank page, status code 200 ok. i'm deploying site using publish profile visual studio , web deploy. ideas causing this?
managed solve myself, posting answer in case else has same problem. put try catch in controller (in action method should redirect view) , in catch block wrote this:
catch (exception ex) { response.statusdescription = ex.message; }
to able see exception message in browser.
Comments
Post a Comment