Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Real World SharePoint 2007 (SharePoint MVP) ISBN 978-0-470-16835-6
This is the forum to discuss the Wrox book Real World SharePoint 2007: Indispensable Experiences From 16 MOSS and WSS MVPs by Scot Hillier, Robert Bogue, Adam Buenz, Andrew Connell, Stacy Draper, Luis Du Solier Grinda, Todd Klindt, Jason Medero, Dustin Miller, Shane Perran, Joris Poelmans, Heather Solomon, Nick Swan, Jan Tielens, Mike Walsh, Shane Young; ISBN: 9780470168356
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Real World SharePoint 2007 (SharePoint MVP) ISBN 978-0-470-16835-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 23rd, 2007, 04:02 PM
Authorized User
 
Join Date: Sep 2007
Location: , VA, USA.
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default Chap 6 Customizing and Branding

Hi,

A couple quick questions:
1. What is the path to the _catalogs/masterpage library ?
2. Where is the "resource location"? e.g.: where do we obtain the MVP.MASTER file referred to in step 5?
(It does not appear to be at the URL provided http://msdn2.microsoft.com/en-us/library/aa660698.aspx and its not in the code download.)

thanks in advance.
Reply With Quote
  #2 (permalink)  
Old September 23rd, 2007, 04:07 PM
Authorized User
 
Join Date: Sep 2007
Location: , VA, USA.
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default

OK.. I found the /_catalogs/masterpage library.

Now, I just need to know where the file MVP.MASTER is or can be found.

Thanks
Reply With Quote
  #3 (permalink)  
Old September 23rd, 2007, 05:27 PM
Authorized User
 
Join Date: Sep 2007
Location: , VA, USA.
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default

...and now I've found the MVP.MASTER! I stumbled across something I never read "ERRATA". The MVP.MASTER is actually the CUSTOM.MASTER file:
Here's the link to the errata site... enjoy!
http://www.wiley.com/WileyCDA/WileyT...tml?print=true

Paul
Reply With Quote
  #4 (permalink)  
Old September 23rd, 2007, 06:28 PM
jminatel's Avatar
Wrox Staff
Points: 18,940, Level: 59
Points: 18,940, Level: 59 Points: 18,940, Level: 59 Points: 18,940, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,945
Thanks: 73
Thanked 139 Times in 101 Posts
Default

Hi Paul, glad you worked it out and found the answers. FYI, they're the same information but the direct link to the errata page for this book on wrox.com is:
http://www.wrox.com/WileyCDA/WroxTit...ew_errata.html

and yes, we do that for all of our books.

Jim Minatel
Acquisitions Director
Wiley Technology Publishing
WROX Press

Last edited by jminatel; May 18th, 2016 at 04:18 PM.. Reason: deleted dead link
Reply With Quote
  #5 (permalink)  
Old September 25th, 2007, 10:21 PM
Authorized User
 
Join Date: Sep 2007
Location: , VA, USA.
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

On page 154 are a series of steps 1-14 that are supposed to change the site's master page. I've followed them, twice now, and both times I end up with a "page not found" error. (yep, I also read the errata for Chapter 6).

I'm seeing three errors on the mvpone.master after pasting the contents of the custom.master into the master page created in step 4.
1. Error creating control - explitLogout. The control with the virtual path 'controlTemplates - welcome.ascx' is not in the safe controls list for web at http://mysitelocation.

2. Error Creating Control - PublishingSiteAction:SiteActionMenu
The control with the virtual path 'controlTemplates/PublishingactionMenu' is not in the safe controls list for web at http://mysitelocation.

3. Error Creating Control - authoringcontrols
The control with the virtual path 'controlTemplates/PublishingColsole' is not in the safe controls list for web at http://mysitelocation.

I used the content of the custom.master included in the download and pasted its contents in the place of the untitled_1.master created during step 4.

I can't tell if these are the reason for the mvpone.master page not being found, or not. I cannot get to the site at all now. Any help would be appreciated.

Thanks,
Paul
Reply With Quote
  #6 (permalink)  
Old September 27th, 2007, 09:36 PM
Authorized User
 
Join Date: Sep 2007
Location: , VA, USA.
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default

OK, To resolve the above issue I opened the Welcome.ascx file, copied this string:
<SafeControl Assembly="Microsoft.SharePoint.WebControls.Welcome , Version=12.0.0.0,Culture=neutral,PublicKeyToken=71 e9bce111e9429c" TypeName="*" Safe="True" />
from the register tag (added TypeName="*" Safe="True" ), saved and refreshed the page.

I no longer see the errors 1-3 from the previous post.

This brought me to the next error, which was that the Robots tag: <SharePoint:RobotsMetaTag runat="server"></SharePoint:RobotsMetaTag>, could not be rendered, and the "the webpart could not be deserialized from the markup".

I have no idea if this is the solution... but I moved the RobotsMetaTag inside the <head > ... </head> tags. The error disappeared. No other errors appear.

I saved the page. Right-clicked and selected - Set as default Master Page.

Still the site does not display. I continue to get the error "Page not found".
Here's the page it appears on:
http://myservername:25955/Pages/Default.aspx

Any help would be appreciated,
Paul
Reply With Quote
  #7 (permalink)  
Old November 30th, 2007, 03:45 PM
Registered User
 
Join Date: Nov 2007
Location: Iselin, NJ, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Two related issues:

Page 158:
Using a MOSS 2007 collaboration portal site on a virtual PC image of Windows Server 2003, my Developer Toolbar button does not produce the Developer Toolbar (yet it works fine on Windows XP SP2).

Page 159
My .ms-siteaction class in the custom.css file does not change the Site Actions button (or anything else) to gray. Was it supposed to?

Thanks,

Jason

Reply With Quote
  #8 (permalink)  
Old December 19th, 2007, 01:25 PM
Registered User
 
Join Date: Dec 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Paul,

Please follow this blog to solve your master page problem.

http://www.heathersolomon.com/blog/a...sterPages.aspx.

Thanks,
Sanjay
Reply With Quote
  #9 (permalink)  
Old December 19th, 2007, 02:15 PM
Registered User
 
Join Date: Dec 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The custom.master(mvp.master) file provided in chapter 6, gives the following error:
================================================== ===========
Parser Error Message: Duplicate ContentPlaceHolder 'head' were found. ContentPlaceHolders require unique IDs.

Source Error:


Line 22: <%-- The head section includes a content placeholder for the page title and links to CSS and JavaScript files that run on the server. --%>
Line 23: <head runat="server">
Line 24: <asp:ContentPlaceHolder runat="server" id="head">
Line 25: <title>
Line 26: <asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server" />
================================================== ===========

if you change the id from "head" to something else it works fine

--Sanjay
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customizing the window size tenvuong BOOK: Ivor Horton's Beginning Visual C++ 2005 0 March 31st, 2008 09:16 AM
Customizing Output bmains SQL Server 2000 1 January 13th, 2004 05:23 PM
Customizing danielwajnberg Crystal Reports 1 December 17th, 2003 08:56 AM



All times are GMT -4. The time now is 06:40 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.