Dennis Bottjer | ASP.NET + SharePoint Architect, Trainer & Speaker

"An Ounce of Prevention is Worth a Pound of Cure" - Ben Franklin
posts - 168, comments - 59, trackbacks - 41

My Links

News

Add to Technorati Favorites The views expressed in this blog are mine and mine alone, not that of my employer, Microsoft, or anyone else’s. No warrantee is given for the quality of any material on this site.

Tag Cloud

Archives

Post Categories

Thursday, September 9, 2010

SharePoint 2010 Custom Master Page: Required Field Pop-Up

 

Overview:

Creating a custom master page provides the greatest flexibility for branding a SharePoint Implementation.  However, there are many hidden traps to be aware of when creating a custom master page.  For example, it is usually best not to start from scratch but to use a copy of the v4.master or starter master page http://startermasterpages.codeplex.com/ created by Randy Drisgill.

Lessons Learned:

The v4.master is the new default master used for SharePoint 2010 and creating a new custom master from a copy of the original v4.master will ensure the inclusion of expected SharePoint 2010 User Experience Functionality.

After deploying a custom master page based on the v4.master we began seeing a “You must specify a value for this required field” message box whenever trying to edit or add new list items and perform other routine tasks.

clip_image001

After much research the solution was found on this blog post: http://blogs.msdn.com/b/tmathis/archive/2010/03/18/you-must-specify-a-value-for-this-required-field-error-when-hidding-placeholderpagetitleintitlearea.aspx 

It has always been a good practice to place unused content place holders within a hidden ASP.NET Panel Control.  However, the message box error was caused by the PlaceHolderPageTitleInTitleArea content place holder being contained within an ASP.NET Panel Control with the hidden attribute set to false.  The resolution was to remove the hidden=false attribute and hide the ASP.NET Panel using a CSS Style.  The style can be simply added to the master page for easy deployment.

posted @ Thursday, September 9, 2010 8:34 PM | Feedback (0) | Filed Under [ Debugging SharePoint Tips-n-Tricks ]

SQL Reporting Services Error Installing TFS 2010

Over the weekend I spun up a new virtual machine for a practice TFS 2010 Installation.  The TFS installation process is much improved.  It can loosely be broken into two phases which are installation and configuration.  The installation is the easy part which basically prepares the server and copies some bits to the drive.  The configuration is a little more difficult but provides some guidance to help make the important decisions.  During the configuration you make the following three key decisions.

  1. Install WSS 3.0 or use an existing SharePoint installation
  2. Install SQL Express or use an existing SQL Instance
  3. Install Reporting Services

During the configuration I received TF255275 Error during the Reporting Services portion of the configuration.  My reporting services database was created and configured for SharePoint Mode.

Reference: http://www.sathishtk.com/blog/post/2009/10/15/TFS-2010-TF255275-Error.aspx 

Despite referencing the TFS 2010 Beta the above blog post helped resolve the issue.  Essentially, I had to change the database to Native Mode.  However, as a commenter mentions I had to delete the Report Database and recreate it in Native Mode before the configuration wizard would complete.

posted @ Thursday, September 9, 2010 1:18 AM | Feedback (0) | Filed Under [ Debugging SQL & LINQ TFS 2008 Tips-n-Tricks ]

Powered by: