Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

1 Answer 1

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.