Patrick.O.Ige

Knowledge Creation is Essential to Business, and Communication is Essential to Knowledge Creation

  Home  |   Contact  |   Syndication    |   Login
  97 Posts | 5 Stories | 350 Comments | 0 Trackbacks

News

SharePoint SharePoint SharePoint

Article Categories

Archives

Post Categories

ADO.NET

Ajax

API/WebServices

ASP.NET Resources

BizTalk Server

Blogs I read

Free Books

How to

JQuery

LINQ

Misc

Mobile BI

Reporting Services

SEO

Sharepoint Resources/Tools

SharePoint 2010 Branding

SharePoint 2010 Videos

SilverLight

SQL Server

Sql Server 2012

SSIS

Web Performace Tools

Windows Phone

WorkFlows

WSS V3

xml

I came across this error when i was trying to ajaxify my sharepoint site.
After adding the AjaxifyMoss from the codeplex  developed by Richard Finn.

And tried loading my site i got the error
Error: The base type 'System.Web.UI.MasterPage' is not allowed for this page
So  i decided to check the web.config and i noticed the SafeControl tag doesn't have the .Net 2.0 assembly included despite the fact i added both vsersios 2.0 and 3.5.

Its possible the.Net  3.5 assebply overwrote the 2.0.

Anyway after i added the below which is the 2.0 verison

      <SafeControl Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TypeName="*" Safe="True" AllowRemoteDesigner="True" />

 And refreshed my page. It worked

 

posted on Sunday, March 14, 2010 7:22 PM