SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to create a application page under _Layouts folder (using Visual studio 2010). It works perfect with default MasterpPage. But if I try to update DynamicMasterPageFile property to my custom masterpage, it gives me error.

I have created a Blank Masterpage, but still I am not able to associate the masterpage with my application page ( under _Layouts folder).

Any help would be appreciated.

share|improve this question

Can you try to update MasterPageFile property to new masterpage. This works perfectly fine in one of my application pages.

<%@ Page language="C#" MasterPageFile="~/_layouts/MCPT/Collaboration.Master" Inherits="Collaboration.Tool.ApplicationPages.ChangePassword" EnableViewState="true" EnableViewStateMac="true"%>

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.