I have a mvc web site that contains one non-mvc page (it is using ajax and java-script, so mvc is not a good option).
The problem is that I still want to use the same masterpage. If I set the masterpage (MasterPageFile="~/Views/Shared/Site.Master"), then I get this error:
Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.
Details: To enable the details of this specific error message to be viewable on the local server machine, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".
Is there a way I can use my mvc masterpage for a non-mvc page?