CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/1/2006 4:46:32 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 40 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
jminond
Asp.Net User
Global Master Page3/1/2006 4:46:32 PM

0/0

Hello,

I am having some trouble, with using shared master pages accross multiple applications.

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 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.

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  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 ).

Below I have attached the error, you will notice things like Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gbm2o\9232f8e6\59c33552\App_Web_3ctpvlsd.4.cs    Line: 0

I am not sure why this is there, becuase i am running the site from http://localhost/GBM2o/Default.aspx 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....

 

Here is the error

Server Error in '/GBM2o' Application.

An error occurred while try to load the string resources (FindResource failed with error -2147023083).

Description: 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.

Exception Details: System.Web.HttpException: An error occurred while try to load the string resources (FindResource failed with error -2147023083).

Source Error:

[No relevant source lines]

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gbm2o\9232f8e6\59c33552\App_Web_3ctpvlsd.4.cs    Line: 0

Stack Trace:

[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


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


Jonathan Minond
http://www.Jonavi.com
http://www.jonavi.com/Default.aspx?pageID=21
http://RainbowBeta.com
http://community.rainbowportal.net/blogs/jonathans_rainbow_blog/default.aspx
http://dotnetslackers.com/community/blogs/jminond/default.aspx
jminond
Asp.Net User
Re: Global Master Page3/1/2006 5:09:43 PM

0/0

Apparently Dan wahlin 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 sharing master pages.

I tell you there are a few bloggers out there in the realm, hwo just consistantly put out high quality useful informatio.

Thanks to the great .net developers world wide!.


Jonathan Minond
http://www.Jonavi.com
http://www.jonavi.com/Default.aspx?pageID=21
http://RainbowBeta.com
http://community.rainbowportal.net/blogs/jonathans_rainbow_blog/default.aspx
http://dotnetslackers.com/community/blogs/jminond/default.aspx
jminond
Asp.Net User
Re: Global Master Page3/1/2006 7:43:55 PM

0/0

Removing whitespace did not help me.... so if anyone can help.... i really need it :-)

This error is killing me, and it is a must for the project I am doing that multiple apps can share master pages.

Really, this is a basic need I think in larger companies where you have a base site.

and then you normally develop many small projects, that sit under that main app.

There must be a way for the small apps to use the masters from the main root site.

I refuse to believe that to do this I have to duplicate all my masters in each project.

Anyone? Anyone?


Jonathan Minond
http://www.Jonavi.com
http://www.jonavi.com/Default.aspx?pageID=21
http://RainbowBeta.com
http://community.rainbowportal.net/blogs/jonathans_rainbow_blog/default.aspx
http://dotnetslackers.com/community/blogs/jminond/default.aspx
tzuff
Asp.Net User
Re: Global Master Page5/10/2006 9:28:49 PM

0/0

Hi Jonathan,

 

I just went through the same steps and I am not able to get any further than you have with the string resources error.  I was wondering if you came up with another solution to share master pages over multiple IIS applications. 

 

Thanks,

tzuff

jminond
Asp.Net User
Re: Global Master Page5/10/2006 9:46:04 PM

0/0

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.

i have a base master page in the junction folder.

and the basemaster class is compiled inside a shared dll that is in my gac.

 


Jonathan Minond
http://www.Jonavi.com
http://www.jonavi.com/Default.aspx?pageID=21
http://RainbowBeta.com
http://community.rainbowportal.net/blogs/jonathans_rainbow_blog/default.aspx
http://dotnetslackers.com/community/blogs/jminond/default.aspx
anu0987
Asp.Net User
Re: Global Master Page4/10/2008 8:30:46 PM

0/0

Can you guide me about this Junction Point.

I am trying to create Global master page. Trying to Implement this with Dan Wahlin's article http://weblogs.asp.net/dwahlin/archive/2005/11/16/430779.aspx

but gettong the same error you mentioned.

 Thanks,

6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Microsoft Sharepoint: Building Office 2007 Solutions in VB 2005 Authors: Scot P. Hillier, Pages: 552, Published: 2007
MCTS: Microsoft Office SharePoint Server 2007 Configuration: Exam 70-630 Authors: James Pyles, Pages: 617, Published: 2008
InDesign Production Cookbook: 169 Easy-to-follow Recipes for Graphic Designers and Desktop Publishers Authors: Alistair Dabbs, Ken McMahon, Anne-Marie Concepcion, Keith Martin, Pages: 192, Published: 2005
Microsoft Office SharePoint Server 2007: The Complete Reference Authors: David Matthew Sterling, David Sterling, Pages: 788, Published: 2007
ASP.NET 2.0 Instant Results Authors: Imar Spaanjaars, Paul Wilton, Shawn Livermore, Pages: 456, Published: 2006
Essential SharePoint 2007: A Practical Guide for Users, Administrators and Developers Authors: Jeff Webb, Pages: 428, Published: 2007
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005

Web:
XDev's Blog - All posts tagged 'master pages' I recently was working on a project and decided it would have been excellent to have global master pages so I can keep my web projects independent from each ...
CodeGuru: An In-Depth Coverage of ASP.NET 2.0's Master Pages: Part ... May 22, 2006 ... Global Master Page. The example uses the root to store all of the master pages. Can you inherit a master page from the gac in the OnPreInit ...
Sharing Master Pages Across IIS Applications - Dan Wahlin's WebLog I have been searching for a way to implement global master pages for months and I am hoping that this will actually be the method that will work. ...
Earth Science data and services directory: Global Change Master ... The Global Change Master Directory sa comprehensive directory of information about Earth science data, including a broad coverage of global warming, ...
using a global variable set by master page - .NET ASP using a global variable set by master page. Get answers to your questions in our .NET ASP forum.
Global changes to all Master Pages in a Book - Adobe Indesign ... Global changes to all Master Pages in a Book Adobe Indesign Macintosh.
Software/Technology Discussion : Master Pages and Content Pages in ... This default master page is the global master page. Any changes made to the global master page file will affect all sites in SharePoint, even the central ...
Global master page - MSDN Forums MSDN Forums » Visual Studio 2008 (Pre-release) » Visual Studio 2008 IDE, Debugger, Build, Deployment, Help, etc. » Global master page ...
Global properties defined on Masterpage Global properties defined on Masterpage. Post by: Tomas Jansson on 23 January 2008, 13:02:28. RSS for this page ...
using a global variable set by master page Talk about using a global variable set by master page.

Videos:
Maplestory 5x page Put &fmt=18 Behind the URL fo better view My 5x page killing zmm and fake griffy , Dont judge hard i was testing movie maker :1st maple vid For views xD maplestory hacks suuushi tiger korwyn...
Global Domains International [Reviews] [GDI] (1000$) WEEK PROOF !! http://website.ws/Bearteam or http://freedom.ws/Bearteam Call Brian with any questions you my have at (313) 516-5543 Join me, Brian Bear -Top recrui...
GDI-Global Domains International,part time job,extra money GDI(Global Domains International Inc.) ●http://SideLine.ws ●http://freedom.ws/casduck ●http://website.ws/casduck ●http://www.my.ws/casduck ●http://w...
The Friday Hip Hop Report (Oct03) The weekly show that reports all the developments in Hip Hop from news and new releases to album sales and charts. Hosted by Wahidah Fowler, this wee...
GDI Global Domains International + The SpiderWeb Marketing System=INCOME FOR LIFE ●GDI ACCESS CODE: mrlongin ●http://freedom.ws/mrlongin ●http://website.ws/mrlongin ●http://www.my.ws/mrlongin ●http://www.money.ws/mrlongin ●http://...
The Arab Muslim Brotherhood Project. The Project "The ARAB Muslim Brotherhood, regarded as the oldest and one of the most important Islamist movements in the world, was founded by Hasan al-Banna in ...
Black History - Master P ( Music Video + Lyrics) http://FreeUStones.com - FREE official ringtone (USA ONLY) In the video cartoon versions of Master P and Romeo present their homework assignment on ...
The Easiest Home-Based Business and the Best one http://GDI-Mentor.ws or http://GDI-Mentor.ws/spiderweb/ Join me, David Gordon -Top recruiter in GDI and learn how to CORRECTLY MAKE MANY thousands o...
Master Sound @ "Neon City", TV Apolo "Neon City", TV Apolo MASTER SOUND 23-24.11.2007. Master centar - Novosadski sajam Novi Sad, Serbia Friday November 23, 2007 EDDIE RICHARDS [Storm, ...
Global MS Murderers Having Fun with spawning Rog in the middle of Kerning PQ...Pulse Guild Tags maplestory hacks suuushi tiger korwyn fangblade curryishott level 1x 2x ...




Search This Site:










ttt application pack dnn 1.0.10 (mk.bat errors)

mystery function

photovision module from bring2mind.net

dnn 3.0.12- gallery module skin issue

detect user id from control in a page

2.1.1 ftb preview returns html markup

query

sqldataprovider and dataprovider in dnn2

pa installer: issue? defect? stupid programmer?

css layout / design

dnn and e-learning

getting userid from membership

event / calendar reminders

beta 2.0.2 no exception viewer

error uploading forum module

solpartmenu page categories?

who owns this dnn site????

case sensitivity on sqls

sorry double post

vertical tabs how to?

migration from asp code to dnn

3.0.8 - print function

debug dnn pa modules with vs.net

has dnn b2 been released yet?

root menu item that doesn't link to a page

has anyone tried to upgrade nexxus enhanced 1.0.9 to dnn 1.0.10?

keep alive option in core?

deli order entry web portal ?

class="head" issues

erro runing the dotnuke3.2.2 please help

  Privacy | Contact Us
All Times Are GMT