I am publishing with the option "Allow this precompiled site to be updatable" option unchecked so all the files are in the bin folder as dll. Can you please suggest how to resolve the mapping issue.
1) If you are applying the master page to your application first validate that your Master page path is correct.
2) If you have copied the master page from any other master page.
ex. If you have one master page called A.Master and to make another master page i.e B.Master you have just copied the A.master and renamed to B.Master but its class references are same while you rename the mster page you should rename the class name of B.Master
also
class name of A.master and B,master should not be same.
and please validate its .Master paths and class names and then try.
Babasaheb Kale
Mark as Answer, if the post helped you...
Visit My Blog
Marked as answer by Angie xu - MSFT on Nov 16, 2012 12:26 AM
ashugarg123
0 Points
3 Posts
Master Page not applying when I publish the site.
Nov 09, 2012 04:37 AM|LINK
Hi,
My Master Page is not applying when I am publishing my site. It works fine when the site is hosted without publishing. Please suggest.
dhol.gaurav
Contributor
3998 Points
725 Posts
Re: Master Page not applying when I publish the site.
Nov 09, 2012 04:55 AM|LINK
Hey,
Check the Path of Master page, both are Same or Different, when you published it might changed,
let me know if any query
Gaurav Dhol
Skype ID : dhol.gaurav
If My Post contains helped you, Please Mark as Answer
ashugarg123
0 Points
3 Posts
Re: Master Page not applying when I publish the site.
Nov 09, 2012 05:19 AM|LINK
Hi,
I am publishing with the option "Allow this precompiled site to be updatable" option unchecked so all the files are in the bin folder as dll. Can you please suggest how to resolve the mapping issue.
dhol.gaurav
Contributor
3998 Points
725 Posts
Re: Master Page not applying when I publish the site.
Nov 09, 2012 05:33 AM|LINK
Hey,
You have to Use "Only File needed to Run this application"
let me know if any query
Gaurav Dhol
Skype ID : dhol.gaurav
If My Post contains helped you, Please Mark as Answer
ashugarg123
0 Points
3 Posts
Re: Master Page not applying when I publish the site.
Nov 09, 2012 05:42 AM|LINK
Where can I find that option in vs2010.
Raigad
Contributor
5129 Points
956 Posts
Re: Master Page not applying when I publish the site.
Nov 09, 2012 05:50 AM|LINK
Hi Ashugarg,
1) If you are applying the master page to your application first validate that your Master page path is correct.
2) If you have copied the master page from any other master page.
ex. If you have one master page called A.Master and to make another master page i.e B.Master you have just copied the A.master and renamed to B.Master but its class references are same while you rename the mster page you should rename the class name of B.Master also
class name of A.master and B,master should not be same.
and please validate its .Master paths and class names and then try.
Mark as Answer, if the post helped you...
Visit My Blog