I've recently started using Page.Title = "Example Page Title" in the VB of my Default.aspx pages to set the page title.
I noticed that my meta descriptions were not being picked up by Google and it was picking up page title as the default meta description - I thought I'd test this by setting a Pega.MetaDescription = "Example Page Description" - as soon as I ran this (local or live) the page crashed returning:
Compiler Error Message: BC30456: 'MetaDescription' is not a member of 'System.Web.UI.Page'.
Could this be because Visual Studio 2010 uses functions that will only work for .NET 4.0 whereas our server is currently running 3.5?
View Complete Post