<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Master Pages, Themes and Navigation Controls</title><link>http://forums.asp.net/139.aspx</link><description>Discussions of MasterPages, Themes, and other page-related features. &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=164&amp;amp;c=30" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Global Master Page</title><link>http://forums.asp.net/thread/2723068.aspx</link><pubDate>Tue, 04 Nov 2008 09:52:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2723068</guid><dc:creator>binal_1982</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2723068.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=2723068</wfw:commentRss><description>&lt;p&gt;I am facing similar problem and yet could not resolve it.&lt;/p&gt;
&lt;p&gt;I have Solution file with 6 Class Libraries and one Website (User Control), which i want to reuse across applications. I have published the User Control Web Site using Fixed named assemblies and Updatedable= false. I get multiple dll&amp;#39;s created. &lt;/p&gt;
&lt;p&gt;If&amp;nbsp;I add&amp;nbsp;above dll references to other WebSite&amp;nbsp;adding reference as shown below, it works perfectly fine.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font size="2"&gt;&amp;lt;%&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;@&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#800000" size="2"&gt;Register&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Assembly&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;App_Web_taskmanager.ascx.7fd89c35&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Namespace&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;MyUserControl.Controls.Tasks&amp;quot; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;TagPrefix&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Alerts&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; %&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;But if I merge all dll&amp;#39;s, add reference and try to create object of the User Control Class, it gives the error &amp;quot;&lt;font size="2"&gt;FindResource failed with error -2147023083&amp;quot;.&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&lt;font size="2"&gt;I have tried solution that you have given, but did not help.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Any&amp;nbsp;assistance&amp;nbsp;would be of great help.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Global Master Page</title><link>http://forums.asp.net/thread/2717425.aspx</link><pubDate>Fri, 31 Oct 2008 15:39:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2717425</guid><dc:creator>kamnel</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2717425.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=2717425</wfw:commentRss><description>&lt;p&gt;I had a similar problem and was able to solve my problem using the&amp;nbsp;approach&amp;nbsp;of&amp;nbsp;&lt;a href="http://weblogs.asp.net/dwahlin/"&gt;&lt;font color="#034efa"&gt;Dan wahlin&lt;/font&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When you precompile our application, behind the scenes all the HTML is converted to Literal objects and the page object is created.&amp;nbsp;&amp;nbsp;when the HTML is small enough then it is declared as string in the calss, if the HTML is big then it puts the HTML into a resource file and then reads it. Here lies the problem.&lt;/p&gt;
&lt;p&gt;when you put your precompiled assembly in another webapp, it does not know from where to pick up the resource file and throw error.&lt;/p&gt;
&lt;p&gt;To solve this problem you need to make your HTML strings small enough so that it is not stored in resource file. The approach I followed is to have runat=&amp;quot;server&amp;quot; tags in the HTML at regular intervals so as to force the compiler to create a HTML object instead of treating it as a literal sting. Now precompile the app, and use reflector to see if there are any places where&amp;nbsp;the compiler generates code &amp;quot;&lt;strong&gt;base.CreateResourceBasedLiteralControl&lt;/strong&gt;&amp;quot;. If there are no instances then your master page is ready to be deployed. If there are any instances of code &amp;quot;&lt;strong&gt;base.CreateResourceBasedLiteralControl&amp;quot;&lt;/strong&gt;&amp;nbsp;present then you need to identify the HTML block which is causing this and go back to master.aspx and make some more objects as runat=&amp;quot;server&amp;quot;&lt;/p&gt;
&lt;p&gt;Hope this helps&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Global Master Page</title><link>http://forums.asp.net/thread/2290141.aspx</link><pubDate>Thu, 10 Apr 2008 20:30:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2290141</guid><dc:creator>anu0987</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2290141.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=2290141</wfw:commentRss><description>&lt;p&gt;Can you guide me about this Junction Point.&lt;/p&gt;
&lt;p&gt;I am trying to create Global master page. Trying to Implement this with Dan Wahlin&amp;#39;s article &lt;a href="http://weblogs.asp.net/dwahlin/archive/2005/11/16/430779.aspx"&gt;http://weblogs.asp.net/dwahlin/archive/2005/11/16/430779.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;but gettong the same error you mentioned.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;</description></item><item><title>Re: Global Master Page</title><link>http://forums.asp.net/thread/1282429.aspx</link><pubDate>Wed, 10 May 2006 21:46:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1282429</guid><dc:creator>jminond</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1282429.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1282429</wfw:commentRss><description>&lt;p&gt;he best solution i have involves "junction" points, and works very well. the only draw back is you need enough permission on the server to create them.&lt;/p&gt;
&lt;p&gt;i have a base master page in the junction folder. &lt;/p&gt;
&lt;p&gt;and the basemaster class is compiled inside a shared dll that is in my gac.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Global Master Page</title><link>http://forums.asp.net/thread/1282409.aspx</link><pubDate>Wed, 10 May 2006 21:28:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1282409</guid><dc:creator>tzuff</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1282409.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1282409</wfw:commentRss><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just went through the same steps and I am not able to get any further than you have with the string resources error.&amp;nbsp; I was wondering if you came up with another solution to share master pages over multiple IIS applications.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;tzuff&lt;/p&gt;</description></item><item><title>Re: Global Master Page</title><link>http://forums.asp.net/thread/1214049.aspx</link><pubDate>Wed, 01 Mar 2006 19:43:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1214049</guid><dc:creator>jminond</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1214049.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1214049</wfw:commentRss><description>&lt;p&gt;Removing whitespace did not help me.... so if anyone can help.... i really need it :-)&lt;/p&gt;
&lt;p&gt;This error is killing me, and it is a must for the project I am doing that multiple apps can share master pages.&lt;/p&gt;
&lt;p&gt;Really, this is a basic need I think in larger companies where you have a base site.&lt;/p&gt;
&lt;p&gt;and then you normally develop many small projects, that sit under that main app.&lt;/p&gt;
&lt;p&gt;There must be a way for the small apps to use the masters from the main root site.&lt;/p&gt;
&lt;p&gt;I refuse to believe that to do this I have to duplicate all my masters in each project.&lt;/p&gt;
&lt;p&gt;Anyone? Anyone?&lt;/p&gt;</description></item><item><title>Re: Global Master Page</title><link>http://forums.asp.net/thread/1213874.aspx</link><pubDate>Wed, 01 Mar 2006 17:09:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1213874</guid><dc:creator>jminond</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1213874.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1213874</wfw:commentRss><description>&lt;p&gt;Apparently &lt;a href="http://weblogs.asp.net/dwahlin/"&gt;Dan wahlin&lt;/a&gt;&amp;nbsp;has come accross this issue, and updated his blog entry with the solutio ( I didnt try it yet, but i am about to ), this is the same post where i originally ready about the the solution for &lt;a href="http://weblogs.asp.net/dwahlin/archive/2005/11/16/430779.aspx"&gt;sharing master pages&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I tell you there are a few bloggers out there in the realm, hwo just consistantly put out high quality useful informatio. &lt;/p&gt;
&lt;p&gt;Thanks to the great .net developers world wide!.&lt;/p&gt;</description></item><item><title>Global Master Page</title><link>http://forums.asp.net/thread/1213823.aspx</link><pubDate>Wed, 01 Mar 2006 16:46:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1213823</guid><dc:creator>jminond</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1213823.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1213823</wfw:commentRss><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I am having some trouble, with using shared master pages accross multiple applications.&lt;/p&gt;
&lt;p&gt;The idea I found some info on, which kind of works, is that you create a clean web project, make some master pages, publish it so you get compiled masters, add the compiled master to gac, and then you can use this master in other projects. ( Although you have to create a dummy master in the new project, which inherits from the global master, really...this is dumb, we should not have to have phyical masters... i should be able to declare a master from&amp;nbsp;an object in the page preinit where i would declare a master file, nevertheless ),..... so i have these dummy pages.. and to make the situation a little more interesting, i have 3 masters in the GAC, and 3 dummy mastes in the local project, all inheriting from their respective global master. The global masters all share one commone base master class. So.. to summarize, in one web project called (masters) there are 3 masters, and one partial class that is the base class. All three masters inherit from this partial class, and all three masters have the same elements, only different layouts.&lt;/p&gt;
&lt;p&gt;In the object browser of the local project now, i see al the masters, and have inherited from them with no problem. Whoever, now I am getting&amp;nbsp; aweird error, that I have no clue how to debug... or even being understanding what is causing it. ( Keep in mind, there are no string resource files, not a single resx in any of my projects ).&lt;/p&gt;
&lt;p&gt;Below I have attached the error, you will notice things like &lt;font face=Arial&gt;&lt;strong&gt;Source File: &lt;/strong&gt;c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gbm2o\9232f8e6\59c33552\App_Web_3ctpvlsd.4.cs&lt;b&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/b&gt;0&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Arial&gt;I am not sure why this is there, becuase i am running the site from &lt;a href="http://localhost/GBM2o/Default.aspx"&gt;http://localhost/GBM2o/Default.aspx&lt;/a&gt;&amp;nbsp;and the site is not published, meaning it is using the local cs files so if i make a change, iht refresh, change is there.... &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Here&amp;nbsp;is the error&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;span&gt;
&lt;h1&gt;Server Error in '/GBM2o' Application.
&lt;hr /&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;An error occurred while try to load the string resources (FindResource failed with error -2147023083).&lt;/i&gt; &lt;/h2&gt;
&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Exception Details: &lt;/b&gt;System.Web.HttpException: An error occurred while try to load the string resources (FindResource failed with error -2147023083).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table bgColor=#ffffcc&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;[No relevant source lines]&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;Source File: &lt;/b&gt;c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gbm2o\9232f8e6\59c33552\App_Web_3ctpvlsd.4.cs&lt;b&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/b&gt;0 &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Stack Trace:&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table bgColor=#ffffcc&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;[HttpException (0x80004005): An error occurred while try to load the string resources (FindResource failed with error -2147023083).]
   System.Web.StringResourceManager.ReadSafeStringResource(Type t) +3116601
   System.Web.UI.TemplateControl.ReadStringResource() +11
   ASP.rbsgc_master..ctor() +67
   ASP._rbsgc_master..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gbm2o\9232f8e6\59c33552\App_Web_3ctpvlsd.4.cs:0
   __ASP.FastObjectFactory_app_web_3ctpvlsd.Create_ASP__rbsgc_master() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gbm2o\9232f8e6\59c33552\App_Web_3ctpvlsd.6.cs:0
   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +49
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +250
   System.Web.UI.Page.get_Master() +48
   System.Web.UI.Page.ApplyMasterPage() +18
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +543
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;
&lt;hr /&gt;

&lt;p&gt;&lt;b&gt;Version Information:&lt;/b&gt;&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/span&gt;</description></item></channel></rss>