简体   繁体   中英

using different master page for home page sharepoint 2010

I am trying to use two master pages one for the entire site collection and another just for the home page. I created a class library and inherited the publishing layout page and i am using this in the pagelyout inherits section. For some reason i am getting the error message

"Could not load type 'Microsoft.SharePoint.Publishing.PublishingLayoutPageEx' from assembly 'CustomMetroPageLayout, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1238ef599029b39c'. "

Any idea why this is happening. I have signed the dll and added the entry in web.config and added the dll in GAC.

Please let me know if i miss anything.

Thanks

You should try to resolve it with a different page layout instead of a different master page. If you disagree with me, the solution to your problem can be found here:

answer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM